Ticket #15353: has_items_or_search.15353.diff
File has_items_or_search.15353.diff, 3.8 KB (added by , 14 years ago) |
---|
-
wp-admin/users.php
357 357 358 358 <form action="" method="post"> 359 359 360 <?php if ( $wp_list_table->has_items () ) : ?>360 <?php if ( $wp_list_table->has_items_or_search() ) : ?> 361 361 362 362 <p class="search-box"> 363 363 <label class="screen-reader-text" for="user-search-input"><?php _e( 'Search Users' ); ?>:</label> -
wp-admin/edit-comments.php
220 220 221 221 <form id="comments-form" action="" method="post"> 222 222 223 <?php if ( $wp_list_table->has_items () ) : ?>223 <?php if ( $wp_list_table->has_items_or_search() ) : ?> 224 224 225 225 <p class="search-box"> 226 226 <label class="screen-reader-text" for="comment-search-input"><?php _e( 'Search Comments' ); ?>:</label> -
wp-admin/includes/class-wp-list-table.php
169 169 } 170 170 171 171 /** 172 * Whether there any items or a search is performed 173 * 174 * @since 3.1.0 175 * @access public 176 * 177 * @return bool 178 */ 179 function has_items_or_search() { 180 return !empty( $_REQUEST['s'] ) || $this->has_items(); 181 } 182 183 /** 172 184 * Message to be displayed when there are no items 173 185 * 174 186 * @since 3.1.0 -
wp-admin/upload.php
206 206 207 207 <form id="posts-filter" action="" method="post"> 208 208 209 <?php if ( $wp_list_table->has_items () ) : ?>209 <?php if ( $wp_list_table->has_items_or_search() ) : ?> 210 210 211 211 <p class="search-box"> 212 212 <label class="screen-reader-text" for="media-search-input"><?php _e( 'Search Media' ); ?>:</label> -
wp-admin/plugins.php
377 377 378 378 <form method="post" action=""> 379 379 380 <?php if ( $wp_list_table->has_items () ) : ?>380 <?php if ( $wp_list_table->has_items_or_search() ) : ?> 381 381 382 382 <p class="search-box"> 383 383 <label class="screen-reader-text" for="plugin-search-input"><?php _e( 'Search Plugins' ); ?>:</label> -
wp-admin/edit.php
242 242 243 243 <form id="posts-filter" action="" method="get"> 244 244 245 <?php if ( $wp_list_table->has_items () ) : ?>245 <?php if ( $wp_list_table->has_items_or_search() ) : ?> 246 246 247 247 <p class="search-box"> 248 248 <label class="screen-reader-text" for="post-search-input"><?php echo $post_type_object->labels->search_items; ?>:</label> -
wp-admin/link-manager.php
76 76 77 77 <form id="posts-filter" action="" method="post"> 78 78 79 <?php if ( $wp_list_table->has_items () ) : ?>79 <?php if ( $wp_list_table->has_items_or_search() ) : ?> 80 80 81 81 <p class="search-box"> 82 82 <label class="screen-reader-text" for="link-search-input"><?php _e( 'Search Links' ); ?>:</label> -
wp-admin/themes.php
146 146 147 147 <h3><?php _e('Available Themes'); ?></h3> 148 148 149 <?php if ( $wp_list_table->has_items () ) : ?>149 <?php if ( $wp_list_table->has_items_or_search() ) : ?> 150 150 151 151 <form class="search-form filter-form" action="" method="get"> 152 152