X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/80b7979fccf09a75af3f4c111fa27060ae6dbf85..e3ff8f35458a959c1879c0a4976701ed8dcfe651:/wp-admin/about.php diff --git a/wp-admin/about.php b/wp-admin/about.php index 3fa52e79..2904ced5 100644 --- a/wp-admin/about.php +++ b/wp-admin/about.php @@ -7,129 +7,245 @@ */ /** WordPress Administration Bootstrap */ -require_once( './admin.php' ); +require_once( dirname( __FILE__ ) . '/admin.php' ); + +if ( ! wp_is_mobile() ) { + wp_enqueue_style( 'wp-mediaelement' ); + wp_enqueue_script( 'wp-mediaelement' ); + wp_localize_script( 'mediaelement', '_wpmejsSettings', array( + 'pluginPath' => includes_url( 'js/mediaelement/', 'relative' ), + 'pauseOtherPlayers' => '', + ) ); +} + +$video_url = 'https://videopress.com/embed/AHz0Ca46?hd=true'; +$lang_code = str_replace( '_', '-', get_user_locale() ); +list( $lang_code ) = explode( '-', $lang_code ); +if ( 'en' !== $lang_code ) { + $video_url = add_query_arg( 'defaultLangCode', $lang_code, $video_url ); +} $title = __( 'About' ); -list( $display_version ) = explode( '-', $wp_version ); +list( $display_version ) = explode( '-', get_bloginfo( 'version' ) ); include( ABSPATH . 'wp-admin/admin-header.php' ); ?> -
before activating a new theme. Note: this feature is available for installed themes only.' ); ?>
+ -theme support.' ); ?>
-Embeds.' ), __( 'http://codex.wordpress.org/Embeds' ) ); ?>
-Check out the REST API reference.' ), + 'https://developer.wordpress.org/rest-api/reference/' + ); + ?>
+new functions, hooks, and behavior for theme developers.' ), + 'https://make.wordpress.org/core/2016/09/09/new-functions-hooks-and-behaviour-for-theme-developers-in-wordpress-4-7/' + ); + ?>
+WP_Hook
has been enhanced to include type, description, and REST API visibility.' ),
+ 'register_setting()
',
+ 'https://make.wordpress.org/core/2016/10/26/registering-your-settings-in-wordpress-4-7/'
+ );
+ ?>
WordPress API that supports custom content types and taxonomies, as well as dozens of other bug fixes and improvements.' ), __( 'http://codex.wordpress.org/XML-RPC_WordPress_API' ) ); ?>
+