X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/42aebe6945a3a60c8f73853bea2c8b202d64a20b..0459461f9ea42e0b090759ff6fe5f48360bef750:/wp-admin/about.php diff --git a/wp-admin/about.php b/wp-admin/about.php index 5d0254e1..a808afca 100644 --- a/wp-admin/about.php +++ b/wp-admin/about.php @@ -9,152 +9,203 @@ /** 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 ); -wp_enqueue_script( 'about' ); - include( ABSPATH . 'wp-admin/admin-header.php' ); ?> -
Version %1$s addressed some security issues and fixed %2$s bug.', - 'Version %1$s addressed some security issues and fixed %2$s bugs.', 9 ), '3.7.2', number_format_i18n( 9 ) ); ?> - the release notes.' ), 'http://codex.wordpress.org/Version_3.7.2' ); ?> -
-Version %1$s addressed %2$s bug.', - 'Version %1$s addressed %2$s bugs.', 11 ), '3.7.1', number_format_i18n( 11 ) ); ?> - the release notes.' ), 'http://codex.wordpress.org/Version_3.7.1' ); ?> -
-Version %1$s addressed some security issues and fixed %2$s bug.', + 'Version %1$s addressed some security issues and fixed %2$s bugs.', 17 ), '4.4.2', number_format_i18n( 17 ) ); ?> + the release notes.' ), 'https://codex.wordpress.org/Version_4.4.2' ); ?> +
+Version %1$s addressed some security issues and fixed %2$s bug.', + 'Version %1$s addressed some security issues and fixed %2$s bugs.', 52 ), '4.4.1', number_format_i18n( 52 ) ); ?> + the release notes.' ), 'https://codex.wordpress.org/Version_4.4.1' ); ?> +
' . __( 'This site is able to apply these updates automatically. Cool!' ). '
'; - - // If the updater is disabled entirely, don't show them anything. - } elseif ( ! $updater->is_disabled() ) { - echo ''; - // If this is is filtered to false, they won't get emails, so don't claim we will. - // Assumption: If the user can update core, they can see what the admin email is. - - /** This filter is documented in wp-admin/includes/class-wp-upgrader.php */ - if ( apply_filters( 'send_core_update_notification_email', true, $future_minor_update ) ) { - printf( __( 'This site is not able to apply these updates automatically. But we’ll email %s when there is a new security release.' ), esc_html( get_site_option( 'admin_email' ) ) ); - } else { - _e( 'This site is not able to apply these updates automatically.' ); - } - echo '
'; - } - } - ?> -+
'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
'
+ );
+ ?>
wp_get_sites() allows developers to easily get an array of all the sites on your network without resorting to a direct database query — just one of many improvements to multisite in WordPress 3.7.' ); ?>