Ticket #27623: 27623.3.diff
| File 27623.3.diff, 2.2 KB (added by , 11 years ago) |
|---|
-
src/wp-admin/network/themes.php
268 268 269 269 <div class="wrap"> 270 270 <h1><?php echo esc_html( $title ); if ( current_user_can('install_themes') ) { ?> <a href="theme-install.php" class="page-title-action"><?php echo esc_html_x('Add New', 'theme'); ?></a><?php } 271 if ( $s ) 272 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $s ) ); ?> 271 $s = trim( $s ); 272 if ( ! empty( $s ) ) { 273 printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', esc_html( $s ) ); ?> 274 } 273 275 </h1> 274 276 275 277 <?php -
src/wp-admin/plugins.php
511 511 if ( ( ! is_multisite() || is_network_admin() ) && current_user_can('install_plugins') ) { ?> 512 512 <a href="<?php echo self_admin_url( 'plugin-install.php' ); ?>" class="page-title-action"><?php echo esc_html_x('Add New', 'plugin'); ?></a> 513 513 <?php } 514 if ( $s ) 515 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $s ) ); ?> 514 $s = trim( $s ); 515 if ( ! empty( $s ) ) { 516 printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', esc_html( $s ) ); ?> 517 } 516 518 </h1> 517 519 518 520 <?php -
src/wp-admin/users.php
475 475 <?php } elseif ( is_multisite() && current_user_can( 'promote_users' ) ) { ?> 476 476 <a href="user-new.php" class="page-title-action"><?php echo esc_html_x( 'Add Existing', 'user' ); ?></a> 477 477 <?php } 478 479 if ( $usersearch ) 480 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $usersearch ) ); ?> 478 $s = trim( $usersearch ); 479 if ( ! empty( $usersearch ) ) { 480 printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', esc_html( $usersearch ) ); ?> 481 } 481 482 </h1> 482 483 483 484 <?php $wp_list_table->views(); ?>
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)