wp/wp-admin/includes/class-wp-links-list-table.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
    11  * Core class used to implement displaying links in a list table.
    11  * Core class used to implement displaying links in a list table.
    12  *
    12  *
    13  * @since 3.1.0
    13  * @since 3.1.0
    14  * @access private
    14  * @access private
    15  *
    15  *
    16  * @see WP_List_Tsble
    16  * @see WP_List_Table
    17  */
    17  */
    18 class WP_Links_List_Table extends WP_List_Table {
    18 class WP_Links_List_Table extends WP_List_Table {
    19 
    19 
    20 	/**
    20 	/**
    21 	 * Constructor.
    21 	 * Constructor.
   112 				'hierarchical'    => 1,
   112 				'hierarchical'    => 1,
   113 				'show_count'      => 0,
   113 				'show_count'      => 0,
   114 				'orderby'         => 'name',
   114 				'orderby'         => 'name',
   115 			);
   115 			);
   116 
   116 
   117 			echo '<label class="screen-reader-text" for="cat_id">' . __( 'Filter by category' ) . '</label>';
   117 			echo '<label class="screen-reader-text" for="cat_id">' . get_taxonomy( 'link_category' )->labels->filter_by_item . '</label>';
       
   118 
   118 			wp_dropdown_categories( $dropdown_options );
   119 			wp_dropdown_categories( $dropdown_options );
       
   120 
   119 			submit_button( __( 'Filter' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) );
   121 			submit_button( __( 'Filter' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) );
   120 			?>
   122 			?>
   121 		</div>
   123 		</div>
   122 		<?php
   124 		<?php
   123 	}
   125 	}