diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index caca10fadf..d23af10f0b 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -61,12 +61,12 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
+
+
<code>.' ); ?>
+
- %2$s' ), $customize_url, __( 'customizer' ) );
- } else {
- $customizer_link = __( 'customizer' );
- }
- ?>
-
+ + customizer.' ), + esc_url( $customize_url ) + ); + } else { + _e( 'Preview mobile, tablet, and desktop views directly in the customizer.' ); + } + ?>
+
Site Identity section of the customizer.' ), add_query_arg( 'autofocus[section]', 'title_tagline', $customize_url ) ); + printf( + /* translators: %s: URL to Site Identity section of the customizer */ + __( 'Your theme supports custom logos! Try it out right now in the Site Identity section of the customizer.' ), + esc_url( add_query_arg( array( 'autofocus' => array( 'section' => 'title_tagline' ) ), $customize_url ) ) + ); } else { - _e( 'The Twenty Fifteen and Twenty Sixteen themes have been updated to support custom logos, which can be found in the Site Identity section of the Customizer.' ); + _e( 'The Twenty Fifteen and Twenty Sixteen themes have been updated to support custom logos, which can be found in the Site Identity section of the customizer.' ); } ?>
It’s really cool.' ), 'https://make.wordpress.org/core/2016/03/12/performance-improvements-for-images-in-wordpress-4-5/' ); ?>
+ +It’s really cool.' ), + 'https://make.wordpress.org/core/2016/03/12/performance-improvements-for-images-in-wordpress-4-5/' + ); + ?>
comprehensive framework for rendering parts of the preview without rewriting your PHP code in JavaScript.' ), 'https://make.wordpress.org/core/2016/02/16/selective-refresh-in-the-customizer/' ); +
+comprehensive framework for rendering parts of the preview without rewriting your PHP code in JavaScript.' ), + 'https://make.wordpress.org/core/2016/02/16/selective-refresh-in-the-customizer/' + ); if ( current_user_can( 'customize' ) && current_user_can( 'edit_theme_options' ) ) { if ( current_theme_supports( 'menus' ) && ! current_theme_supports( 'customize-selective-refresh-widgets' ) ) { - printf( ' ' . __( 'See it in action with Menus.' ), add_query_arg( 'autofocus[panel]', 'nav_menus', $customize_url ) ); + printf( + /* translators: %s: URL to Menus section of the customizer */ + ' ' . __( 'See it in action with Menus.' ), + esc_url( add_query_arg( array( 'autofocus' => array( 'panel' => 'nav_menus' ) ), $customize_url ) ) + ); } elseif ( current_theme_supports( 'customize-selective-refresh-widgets' ) ) { // If widgets are supported, menus are also because of the menus widget. - printf( ' ' . __( 'See it in action with Menus or Widgets.' ), add_query_arg( 'autofocus[panel]', 'nav_menus', $customize_url ), add_query_arg( 'autofocus[panel]', 'widgets', $customize_url ) ); + printf( + /* translators: 1: URL to Menus section of the customizer, 2: URL to Widgets section of the customizer */ + ' ' . __( 'See it in action with Menus or Widgets.' ), + esc_url( add_query_arg( array( 'autofocus' => array( 'panel' => 'nav_menus' ) ), $customize_url ) ), + esc_url( add_query_arg( array( 'autofocus' => array( 'panel' => 'widgets' ) ), $customize_url ) ) + ); } } ?>
wp_add_inline_script() enables adding extra code to registered scripts.' ), 'https://make.wordpress.org/core/2016/03/08/enhanced-script-loader-in-wordpress-4-5/' ); ?>
+ +wp_add_inline_script()' + ); + ?>
directly overridden by themes via the template hierarchy.' ), 'https://make.wordpress.org/core/2016/03/11/embeds-changes-in-wordpress-4-5/' ); ?>
+ +directly overridden by themes via the template hierarchy.' ), + 'https://make.wordpress.org/core/2016/03/11/embeds-changes-in-wordpress-4-5/' + ); + ?>