- Timestamp:
- 12/19/2010 01:11:38 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-ms-themes-list-table.php
r16992 r17050 205 205 $text = _n( 'Update Available <span class="count">(%s)</span>', 'Update Available <span class="count">(%s)</span>', $count ); 206 206 break; 207 case 'search':208 $text = _n( 'Search Results <span class="count">(%s)</span>', 'Search Results <span class="count">(%s)</span>', $count );209 break;210 207 } 211 208 … … 215 212 $url = 'themes.php'; 216 213 217 $status_links[$type] = sprintf( "<a href='%s' %s>%s</a>", 218 add_query_arg('theme_status', $type, $url), 219 ( $type == $status ) ? ' class="current"' : '', 220 sprintf( $text, number_format_i18n( $count ) ) 221 ); 214 if ( 'search' != $type ) { 215 $status_links[$type] = sprintf( "<a href='%s' %s>%s</a>", 216 add_query_arg('theme_status', $type, $url), 217 ( $type == $status ) ? ' class="current"' : '', 218 sprintf( $text, number_format_i18n( $count ) ) 219 ); 220 } 222 221 } 223 222
Note: See TracChangeset
for help on using the changeset viewer.