wp/wp-admin/includes/class-wp-links-list-table.php
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
equal deleted inserted replaced
21:48c4eec2b7e6 22:8c2e4d02f4ef
   305 		 * @param int    $link_id     Link ID.
   305 		 * @param int    $link_id     Link ID.
   306 		 */
   306 		 */
   307 		do_action( 'manage_link_custom_column', $column_name, $link->link_id );
   307 		do_action( 'manage_link_custom_column', $column_name, $link->link_id );
   308 	}
   308 	}
   309 
   309 
       
   310 	/**
       
   311 	 * Generates the list table rows.
       
   312 	 *
       
   313 	 * @since 3.1.0
       
   314 	 */
   310 	public function display_rows() {
   315 	public function display_rows() {
   311 		foreach ( $this->items as $link ) {
   316 		foreach ( $this->items as $link ) {
   312 			$link                = sanitize_bookmark( $link );
   317 			$link                = sanitize_bookmark( $link );
   313 			$link->link_name     = esc_attr( $link->link_name );
   318 			$link->link_name     = esc_attr( $link->link_name );
   314 			$link->link_category = wp_get_link_cats( $link->link_id );
   319 			$link->link_category = wp_get_link_cats( $link->link_id );