- diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index 769a0c81e4..caca10fadf 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -21,6 +21,10 @@ if ( current_user_can( 'install_plugins' ) ) { wp_enqueue_script( 'plugin-install' ); } +if ( current_user_can( 'customize' ) ) { + wp_enqueue_script( 'customize-loader' ); +} + $video_url = 'https://videopress.com/embed/J44FHXvg?hd=true'; $locale = str_replace( '_', '-', get_locale() ); list( $locale ) = explode( '-', $locale ); @@ -39,7 +43,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
Video Here
+
+
+
-
-
+
+ <code>.' ); ?>
-
+
+ %2$s' ), $customize_url, __( 'customizer' ) );
+ } else {
+ $customizer_link = __( 'customizer' );
+ }
+ ?>
+
+
+ + Site Identity section of the customizer.' ), add_query_arg( 'autofocus[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.' ); + } + ?>
'plugin-information', - 'plugin' => 'rest-api', - 'TB_iframe' => true, - 'width' => 600, - 'height' => 550 - ); - - $plugin_link = 'WordPress REST API'; - } else { - $plugin_link = 'WordPress REST API'; +
+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/' ); + 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 ) ); + } 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 ) ); } - - /* translators: WordPress REST API plugin link */ - printf( __( 'Infrastructure is the first part of a multi-stage rollout for the REST API. Inclusion of core endpoints is targeted for an upcoming release. To get a sneak peek of the core endpoints, and for more information on extending the REST API, check out the official %s plugin.' ), $plugin_link ); - ?>
-add_term_meta()',
- 'get_term_meta()',
- 'update_term_meta()'
- );
- ?>
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_Comment_Query' ); - ?>
-WP_Term',
- 'WP_Comment',
- 'WP_Network'
- );
- ?>
directly overridden by themes via the template hierarchy.' ), 'https://make.wordpress.org/core/2016/03/11/embeds-changes-in-wordpress-4-5/' ); ?>