X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/6c8f14c09105d0afa4c1574215c59b5021040e76..b925718b4bf2dd47a8429f844d0a255ca6e35bd1:/wp-admin/about.php diff --git a/wp-admin/about.php b/wp-admin/about.php index b92ec3a8..f22c555f 100644 --- a/wp-admin/about.php +++ b/wp-admin/about.php @@ -7,7 +7,18 @@ */ /** WordPress Administration Bootstrap */ -require_once( './admin.php' ); +require_once( dirname( __FILE__ ) . '/admin.php' ); + +if ( current_user_can( 'customize' ) ) { + wp_enqueue_script( 'customize-loader' ); +} + +$video_url = 'https://videopress.com/embed/scFdjVo6?hd=true'; +$locale = str_replace( '_', '-', get_locale() ); +list( $locale ) = explode( '-', $locale ); +if ( 'en' !== $locale ) { + $video_url = add_query_arg( 'defaultLangCode', $locale, $video_url ); +} $title = __( 'About' ); @@ -15,121 +26,175 @@ list( $display_version ) = explode( '-', $wp_version ); include( ABSPATH . 'wp-admin/admin-header.php' ); ?> -
Version %s addressed some security issues and fixed %2$s bug.', + 'Version %s addressed some security issues and fixed %2$s bugs.', 17 ), '4.5.3', number_format_i18n( 17 ) ); ?> + the release notes.' ), 'https://codex.wordpress.org/Version_4.5.3' ); ?> +
+Version %s addressed some security issues.' ), '4.5.2' ); ?> + the release notes.' ), 'https://codex.wordpress.org/Version_4.5.2' ); ?> +
+Version %1$s addressed %2$s bug.', + 'Version %1$s addressed %2$s bugs.', 12 ), '4.5.1', number_format_i18n( 12 ) ); ?> + the release notes.' ), 'https://codex.wordpress.org/Version_4.5.1' ); ?> +
WP_Comment_Query and WP_User_Query
classes now support meta queries just like WP_Query.
Meta queries now support querying for objects without a particular meta key.' ); ?>
WP_Post class, which improves performance by loading selected properties on demand.' ); ?>
+WP_Image_Editor class abstracts image editing functionality such as cropping and scaling, and uses ImageMagick when available.' ); ?>
-switch_to_blog() is now significantly faster and more reliable.' ); ?>
+<code>.' ); ?>
+WordPress API is now always enabled, and supports fetching users, editing profiles, managing post revisions, and searching posts.' ), __( 'http://codex.wordpress.org/XML-RPC_WordPress_API' ) ); ?>
+ ++ customizer.' ), + esc_url( $customize_url ) + ); + } else { + _e( 'Preview mobile, tablet, and desktop views directly in the customizer.' ); + } + ?>
++ 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.' ); + } + ?>
+Underscore and Backbone JavaScript libraries. TinyMCE, jQuery, jQuery UI, and SimplePie have all been updated to the latest versions.' ), 'http://underscorejs.org/', 'http://backbonejs.org/' ); ?>
+ +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( + /* 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( + /* 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 ) ) + ); + } + } + ?>
+It’s really cool.' ), + 'https://make.wordpress.org/core/2016/03/12/performance-improvements-for-images-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/' + ); + ?>
+