X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/e08b42e8ad054ec67522d7ac1aaae5dc68cb3d01..3194d1bb103c2d8db4f44feeced5e58ee2756658:/wp-admin/about.php diff --git a/wp-admin/about.php b/wp-admin/about.php index b12fbe8a..8810c8ba 100644 --- a/wp-admin/about.php +++ b/wp-admin/about.php @@ -9,141 +9,199 @@ /** WordPress Administration Bootstrap */ require_once( dirname( __FILE__ ) . '/admin.php' ); +wp_enqueue_style( 'wp-mediaelement' ); +wp_enqueue_script( 'wp-mediaelement' ); +wp_localize_script( 'mediaelement', '_wpmejsSettings', array( + 'pluginPath' => includes_url( 'js/mediaelement/', 'relative' ), + 'pauseOtherPlayers' => '' +) ); + +if ( current_user_can( 'install_plugins' ) ) { + add_thickbox(); + wp_enqueue_script( 'plugin-install' ); +} + +$video_url = 'https://videopress.com/embed/J44FHXvg?hd=true'; +$locale = str_replace( '_', '-', get_locale() ); +list( $locale ) = explode( '-', $locale ); +if ( 'en' !== $locale ) { + $video_url = add_query_arg( 'defaultLangCode', $locale, $video_url ); +} + +wp_oembed_add_host_js(); + $title = __( 'About' ); list( $display_version ) = explode( '-', $wp_version ); -// Temporary 3.8 hack: We want to use user-profile for the color schemes but don't need the heavy zxcvbn. -wp_deregister_script( 'zxcvbn-async' ); -wp_register_script( 'zxcvbn-async', false ); -wp_enqueue_script( 'user-profile' ); - include( ABSPATH . 'wp-admin/admin-header.php' ); ?> -
- -
visit your profile.' ), get_edit_profile_url( get_current_user_id() ) ); ?>
+'plugin-information', + 'plugin' => 'rest-api', + 'TB_iframe' => true, + 'width' => 600, + 'height' => 550 + ); + + $plugin_link = 'WordPress REST API'; + } else { + $plugin_link = 'WordPress REST API'; + } + + /* 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_Comment_Query' ); + ?>
+WP_Term',
+ 'WP_Comment
',
+ 'WP_Network
'
+ );
+ ?>