From 073c5ed6408e2f00dc1863b463fe205467628905 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Thu, 26 Jan 2017 15:07:39 -0800 Subject: [PATCH] WordPress 4.6.2 Signed-off-by: Edward Z. Yang --- license.txt | 2 +- readme.html | 2 +- wp-admin/about.php | 5 +- wp-admin/includes/class-wp-screen.php | 3 +- wp-admin/includes/media.php | 2 +- wp-admin/update-core.php | 2 + wp-admin/widgets.php | 2 + wp-content/plugins/akismet/readme.txt | 2 +- wp-includes/Requests/IRI.php | 5 +- wp-includes/Requests/Transport/cURL.php | 7 +- wp-includes/Requests/Transport/fsockopen.php | 7 +- wp-includes/class-http.php | 7 +- wp-includes/class-phpmailer.php | 356 +++++++++++++++---- wp-includes/class-requests.php | 6 +- wp-includes/class-smtp.php | 86 ++++- wp-includes/class-wp-theme.php | 5 +- wp-includes/functions.php | 61 +++- wp-includes/ms-functions.php | 4 +- wp-includes/version.php | 2 +- wp-includes/wp-db.php | 5 + wp-mail.php | 6 + 21 files changed, 464 insertions(+), 113 deletions(-) diff --git a/license.txt b/license.txt index 9166e620..5a605dac 100644 --- a/license.txt +++ b/license.txt @@ -1,6 +1,6 @@ WordPress - Web publishing software -Copyright 2011-2016 by the contributors +Copyright 2011-2017 by the contributors This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/readme.html b/readme.html index 63b2598d..b3ef5008 100644 --- a/readme.html +++ b/readme.html @@ -9,7 +9,7 @@

WordPress -
Version 4.6.1 +
Version 4.6.2

Semantic Personal Publishing Platform

diff --git a/wp-admin/about.php b/wp-admin/about.php index 6e77b1b4..f43006c7 100644 --- a/wp-admin/about.php +++ b/wp-admin/about.php @@ -59,7 +59,10 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
-

+

+

Version %s addressed some security issues.' ), '4.6.2' ); ?> + the release notes.' ), 'https://codex.wordpress.org/Version_4.6.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.', 15 ), '4.6.1', number_format_i18n( 15 ) ); ?> the release notes.' ), 'https://codex.wordpress.org/Version_4.6.1' ); ?> diff --git a/wp-admin/includes/class-wp-screen.php b/wp-admin/includes/class-wp-screen.php index a7d9a1a5..96787591 100644 --- a/wp-admin/includes/class-wp-screen.php +++ b/wp-admin/includes/class-wp-screen.php @@ -915,7 +915,8 @@ final class WP_Screen { switch ( $this->base ) { case 'widgets': - $this->_screen_settings = '

' . __('Enable accessibility mode') . '' . __('Disable accessibility mode') . "

\n"; + $nonce = wp_create_nonce( 'widgets-access' ); + $this->_screen_settings = '

' . __('Enable accessibility mode') . '' . __('Disable accessibility mode') . "

\n"; break; case 'post' : $expand = '