Changeset 17050
- Timestamp:
- 12/19/2010 01:11:38 AM (15 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
-
includes/class-wp-ms-themes-list-table.php (modified) (2 diffs)
-
network/themes.php (modified) (1 diff)
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 -
trunk/wp-admin/network/themes.php
r17045 r17050 92 92 <div class="wrap"> 93 93 <?php screen_icon('themes'); ?> 94 <h2><?php echo esc_html( $title ); if ( current_user_can('install_themes') ) { ?> <a href="theme-install.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'theme'); ?></a><?php } ?></h2> 94 <h2><?php echo esc_html( $title ); if ( current_user_can('install_themes') ) { ?> <a href="theme-install.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'theme'); ?></a><?php } 95 if ( $s ) 96 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $s ) ); ?> 97 </h2> 95 98 96 99 <form method="get" action="">
Note: See TracChangeset
for help on using the changeset viewer.