X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/00dbffaf1593b0ac719d98f00839221a9ca52133..refs/tags/wordpress-3.7:/wp-admin/about.php diff --git a/wp-admin/about.php b/wp-admin/about.php index 3f908f09..a694fe54 100644 --- a/wp-admin/about.php +++ b/wp-admin/about.php @@ -7,19 +7,21 @@ */ /** WordPress Administration Bootstrap */ -require_once( './admin.php' ); +require_once( dirname( __FILE__ ) . '/admin.php' ); $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.', 37 ), '3.5.1', number_format_i18n( 37 ) ); ?> - the release notes.' ), 'http://codex.wordpress.org/Version_3.5.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 '
'; + } + } + ?>+
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.' ); ?>
-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' ) ); ?>
-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/' ); ?>
+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.' ); ?>