diff --git a/readme.html b/readme.html
index e887fb2784..6fcf7cd06a 100644
--- a/readme.html
+++ b/readme.html
@@ -53,15 +53,15 @@
%1$s');
$date = date_i18n( $datef, strtotime( $post->post_date ) );
diff --git a/wp-admin/includes/misc.php b/wp-admin/includes/misc.php
index 72b8822e54..2df166c31f 100644
--- a/wp-admin/includes/misc.php
+++ b/wp-admin/includes/misc.php
@@ -881,7 +881,7 @@ function heartbeat_autosave( $response, $data ) {
} elseif ( empty( $saved ) ) {
$response['wp_autosave'] = array( 'success' => false, 'message' => __( 'Error while saving.' ) );
} else {
- /* translators: draft saved date format, see http://php.net/date */
+ /* translators: draft saved date format, see https://secure.php.net/date */
$draft_saved_date_format = __( 'g:i:s a' );
/* translators: %s: date and time */
$response['wp_autosave'] = array( 'success' => true, 'message' => sprintf( __( 'Draft saved at %s.' ), date_i18n( $draft_saved_date_format ) ) );
diff --git a/wp-admin/includes/network.php b/wp-admin/includes/network.php
index 29e4131f0d..46570b01e5 100644
--- a/wp-admin/includes/network.php
+++ b/wp-admin/includes/network.php
@@ -180,8 +180,8 @@ function network_step1( $errors = false ) {
/* translators: 1: mod_rewrite, 2: mod_rewrite documentation URL, 3: Google search for mod_rewrite */
printf( __( 'If %1$s is disabled, ask your administrator to enable that module, or look at the
Apache documentation or
elsewhere for help setting it up.' ),
'
mod_rewrite
',
- 'http://httpd.apache.org/docs/mod/mod_rewrite.html',
- 'http://www.google.com/search?q=apache+mod_rewrite'
+ 'https://httpd.apache.org/docs/mod/mod_rewrite.html',
+ 'https://www.google.com/search?q=apache+mod_rewrite'
);
echo '
';
}
diff --git a/wp-admin/includes/schema.php b/wp-admin/includes/schema.php
index f30bb10946..83ba531794 100644
--- a/wp-admin/includes/schema.php
+++ b/wp-admin/includes/schema.php
@@ -381,7 +381,7 @@ function populate_options() {
$timezone_string = '';
$gmt_offset = 0;
/* translators: default GMT offset or timezone string. Must be either a valid offset (-12 to 14)
- or a valid timezone string (America/New_York). See http://us3.php.net/manual/en/timezones.php
+ or a valid timezone string (America/New_York). See https://secure.php.net/manual/en/timezones.php
for all timezone strings supported by PHP.
*/
$offset_or_tz = _x( '0', 'default GMT offset or timezone string' );
@@ -415,11 +415,11 @@ function populate_options() {
'default_ping_status' => 'open',
'default_pingback_flag' => 1,
'posts_per_page' => 10,
- /* translators: default date format, see http://php.net/date */
+ /* translators: default date format, see https://secure.php.net/date */
'date_format' => __('F j, Y'),
- /* translators: default time format, see http://php.net/date */
+ /* translators: default time format, see https://secure.php.net/date */
'time_format' => __('g:i a'),
- /* translators: links last updated date format, see http://php.net/date */
+ /* translators: links last updated date format, see https://secure.php.net/date */
'links_updated_date_format' => __('F j, Y g:i a'),
'comment_moderation' => 0,
'moderation_notify' => 1,
diff --git a/wp-admin/options-discussion.php b/wp-admin/options-discussion.php
index 749085074d..5dc7fb9ea7 100644
--- a/wp-admin/options-discussion.php
+++ b/wp-admin/options-discussion.php
@@ -195,13 +195,13 @@ $show_avatars = get_option( 'show_avatars' );
__('G — Suitable for all audiences'),
- /* translators: Content suitability rating: http://bit.ly/89QxZA */
+ /* translators: Content suitability rating: https://en.wikipedia.org/wiki/Motion_Picture_Association_of_America_film_rating_system */
'PG' => __('PG — Possibly offensive, usually for audiences 13 and above'),
- /* translators: Content suitability rating: http://bit.ly/89QxZA */
+ /* translators: Content suitability rating: https://en.wikipedia.org/wiki/Motion_Picture_Association_of_America_film_rating_system */
'R' => __('R — Intended for adult audiences above 17'),
- /* translators: Content suitability rating: http://bit.ly/89QxZA */
+ /* translators: Content suitability rating: https://en.wikipedia.org/wiki/Motion_Picture_Association_of_America_film_rating_system */
'X' => __('X — Even more mature than above')
);
foreach ($ratings as $key => $rating) :
diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php
index 064fbfabc1..add4d29a61 100644
--- a/wp-admin/options-general.php
+++ b/wp-admin/options-general.php
@@ -17,7 +17,7 @@ if ( ! current_user_can( 'manage_options' ) )
$title = __('General Settings');
$parent_file = 'options-general.php';
-/* translators: date and time format for exact current time, mainly about timezones, see http://php.net/date */
+/* translators: date and time format for exact current time, mainly about timezones, see https://secure.php.net/date */
$timezone_format = _x('Y-m-d H:i:s', 'timezone date format');
add_action('admin_head', 'options_general_add_js');
diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php
index a2f73edffe..476fdf940d 100644
--- a/wp-admin/theme-editor.php
+++ b/wp-admin/theme-editor.php
@@ -112,7 +112,7 @@ case 'update':
$newcontent = wp_unslash( $_POST['newcontent'] );
$location = 'theme-editor.php?file=' . urlencode( $relative_file ) . '&theme=' . urlencode( $stylesheet ) . '&scrollto=' . $scrollto;
if ( is_writeable( $file ) ) {
- // is_writable() not always reliable, check return value. see comments @ http://uk.php.net/is_writable
+ // is_writable() not always reliable, check return value. see comments @ https://secure.php.net/is_writable
$f = fopen( $file, 'w+' );
if ( $f !== false ) {
fwrite( $f, $newcontent );
diff --git a/wp-includes/Requests/Exception/HTTP/418.php b/wp-includes/Requests/Exception/HTTP/418.php
index a554d73458..d6af806c44 100644
--- a/wp-includes/Requests/Exception/HTTP/418.php
+++ b/wp-includes/Requests/Exception/HTTP/418.php
@@ -2,14 +2,14 @@
/**
* Exception for 418 I'm A Teapot responses
*
- * @see http://tools.ietf.org/html/rfc2324
+ * @see https://tools.ietf.org/html/rfc2324
* @package Requests
*/
/**
* Exception for 418 I'm A Teapot responses
*
- * @see http://tools.ietf.org/html/rfc2324
+ * @see https://tools.ietf.org/html/rfc2324
* @package Requests
*/
class Requests_Exception_HTTP_418 extends Requests_Exception_HTTP {
diff --git a/wp-includes/Requests/Exception/HTTP/428.php b/wp-includes/Requests/Exception/HTTP/428.php
index e320b4633c..469e954546 100644
--- a/wp-includes/Requests/Exception/HTTP/428.php
+++ b/wp-includes/Requests/Exception/HTTP/428.php
@@ -2,14 +2,14 @@
/**
* Exception for 428 Precondition Required responses
*
- * @see http://tools.ietf.org/html/rfc6585
+ * @see https://tools.ietf.org/html/rfc6585
* @package Requests
*/
/**
* Exception for 428 Precondition Required responses
*
- * @see http://tools.ietf.org/html/rfc6585
+ * @see https://tools.ietf.org/html/rfc6585
* @package Requests
*/
class Requests_Exception_HTTP_428 extends Requests_Exception_HTTP {
diff --git a/wp-includes/Requests/Exception/HTTP/429.php b/wp-includes/Requests/Exception/HTTP/429.php
index 0970e1efb8..2a21fb345b 100644
--- a/wp-includes/Requests/Exception/HTTP/429.php
+++ b/wp-includes/Requests/Exception/HTTP/429.php
@@ -2,14 +2,14 @@
/**
* Exception for 429 Too Many Requests responses
*
- * @see http://tools.ietf.org/html/draft-nottingham-http-new-status-04
+ * @see https://tools.ietf.org/html/draft-nottingham-http-new-status-04
* @package Requests
*/
/**
* Exception for 429 Too Many Requests responses
*
- * @see http://tools.ietf.org/html/draft-nottingham-http-new-status-04
+ * @see https://tools.ietf.org/html/draft-nottingham-http-new-status-04
* @package Requests
*/
class Requests_Exception_HTTP_429 extends Requests_Exception_HTTP {
diff --git a/wp-includes/Requests/Exception/HTTP/431.php b/wp-includes/Requests/Exception/HTTP/431.php
index eec56e5bee..ba1294e650 100644
--- a/wp-includes/Requests/Exception/HTTP/431.php
+++ b/wp-includes/Requests/Exception/HTTP/431.php
@@ -2,14 +2,14 @@
/**
* Exception for 431 Request Header Fields Too Large responses
*
- * @see http://tools.ietf.org/html/rfc6585
+ * @see https://tools.ietf.org/html/rfc6585
* @package Requests
*/
/**
* Exception for 431 Request Header Fields Too Large responses
*
- * @see http://tools.ietf.org/html/rfc6585
+ * @see https://tools.ietf.org/html/rfc6585
* @package Requests
*/
class Requests_Exception_HTTP_431 extends Requests_Exception_HTTP {
diff --git a/wp-includes/Requests/Exception/HTTP/511.php b/wp-includes/Requests/Exception/HTTP/511.php
index 90bcc5d257..920d334b1f 100644
--- a/wp-includes/Requests/Exception/HTTP/511.php
+++ b/wp-includes/Requests/Exception/HTTP/511.php
@@ -2,14 +2,14 @@
/**
* Exception for 511 Network Authentication Required responses
*
- * @see http://tools.ietf.org/html/rfc6585
+ * @see https://tools.ietf.org/html/rfc6585
* @package Requests
*/
/**
* Exception for 511 Network Authentication Required responses
*
- * @see http://tools.ietf.org/html/rfc6585
+ * @see https://tools.ietf.org/html/rfc6585
* @package Requests
*/
class Requests_Exception_HTTP_511 extends Requests_Exception_HTTP {
diff --git a/wp-includes/Requests/IDNAEncoder.php b/wp-includes/Requests/IDNAEncoder.php
index eaecb73da8..ebbe2111b3 100644
--- a/wp-includes/Requests/IDNAEncoder.php
+++ b/wp-includes/Requests/IDNAEncoder.php
@@ -7,14 +7,14 @@
*
* @package Requests
* @subpackage Utilities
- * @see http://tools.ietf.org/html/rfc3490 IDNA specification
- * @see http://tools.ietf.org/html/rfc3492 Punycode/Bootstrap specification
+ * @see https://tools.ietf.org/html/rfc3490 IDNA specification
+ * @see https://tools.ietf.org/html/rfc3492 Punycode/Bootstrap specification
*/
class Requests_IDNAEncoder {
/**
* ACE prefix used for IDNA
*
- * @see http://tools.ietf.org/html/rfc3490#section-5
+ * @see https://tools.ietf.org/html/rfc3490#section-5
* @var string
*/
const ACE_PREFIX = 'xn--';
@@ -22,7 +22,7 @@ class Requests_IDNAEncoder {
/**#@+
* Bootstrap constant for Punycode
*
- * @see http://tools.ietf.org/html/rfc3492#section-5
+ * @see https://tools.ietf.org/html/rfc3492#section-5
* @var int
*/
const BOOTSTRAP_BASE = 36;
@@ -333,7 +333,7 @@ class Requests_IDNAEncoder {
/**
* Convert a digit to its respective character
*
- * @see http://tools.ietf.org/html/rfc3492#section-5
+ * @see https://tools.ietf.org/html/rfc3492#section-5
* @throws Requests_Exception On invalid digit (`idna.invalid_digit`)
*
* @param int $digit Digit in the range 0-35
@@ -353,7 +353,7 @@ class Requests_IDNAEncoder {
/**
* Adapt the bias
*
- * @see http://tools.ietf.org/html/rfc3492#section-6.1
+ * @see https://tools.ietf.org/html/rfc3492#section-6.1
* @param int $delta
* @param int $numpoints
* @param bool $firsttime
diff --git a/wp-includes/Requests/SSL.php b/wp-includes/Requests/SSL.php
index c227f7553f..2b0376853a 100644
--- a/wp-includes/Requests/SSL.php
+++ b/wp-includes/Requests/SSL.php
@@ -22,7 +22,7 @@ class Requests_SSL {
* names, leading things like 'https://www.github.com/' to be invalid.
* Instead
*
- * @see http://tools.ietf.org/html/rfc2818#section-3.1 RFC2818, Section 3.1
+ * @see https://tools.ietf.org/html/rfc2818#section-3.1 RFC2818, Section 3.1
*
* @throws Requests_Exception On not obtaining a match for the host (`fsockopen.ssl.no_match`)
* @param string $host Host name to verify against
diff --git a/wp-includes/Requests/Session.php b/wp-includes/Requests/Session.php
index c8ded7979b..af14bbe416 100644
--- a/wp-includes/Requests/Session.php
+++ b/wp-includes/Requests/Session.php
@@ -175,7 +175,7 @@ class Requests_Session {
* Note: Unlike {@see post} and {@see put}, `$headers` is required, as the
* specification recommends that should send an ETag
*
- * @link http://tools.ietf.org/html/rfc5789
+ * @link https://tools.ietf.org/html/rfc5789
*/
public function patch($url, $headers, $data = array(), $options = array()) {
return $this->request($url, $headers, $data, Requests::PATCH, $options);
diff --git a/wp-includes/Requests/Transport/cURL.php b/wp-includes/Requests/Transport/cURL.php
index 04914440e6..ce09111cba 100644
--- a/wp-includes/Requests/Transport/cURL.php
+++ b/wp-includes/Requests/Transport/cURL.php
@@ -33,7 +33,7 @@ class Requests_Transport_cURL implements Requests_Transport {
/**
* Information on the current request
*
- * @var array cURL information array, see {@see http://php.net/curl_getinfo}
+ * @var array cURL information array, see {@see https://secure.php.net/curl_getinfo}
*/
public $info;
@@ -481,7 +481,7 @@ class Requests_Transport_cURL implements Requests_Transport {
* Format a URL given GET data
*
* @param string $url
- * @param array|object $data Data to build query using, see {@see http://php.net/http_build_query}
+ * @param array|object $data Data to build query using, see {@see https://secure.php.net/http_build_query}
* @return string URL with data
*/
protected static function format_get($url, $data) {
diff --git a/wp-includes/Requests/Transport/fsockopen.php b/wp-includes/Requests/Transport/fsockopen.php
index a8db94b502..e9170f417c 100644
--- a/wp-includes/Requests/Transport/fsockopen.php
+++ b/wp-includes/Requests/Transport/fsockopen.php
@@ -30,7 +30,7 @@ class Requests_Transport_fsockopen implements Requests_Transport {
/**
* Stream metadata
*
- * @var array Associative array of properties, see {@see http://php.net/stream_get_meta_data}
+ * @var array Associative array of properties, see {@see https://secure.php.net/stream_get_meta_data}
*/
public $info;
@@ -341,7 +341,7 @@ class Requests_Transport_fsockopen implements Requests_Transport {
* Format a URL given GET data
*
* @param array $url_parts
- * @param array|object $data Data to build query using, see {@see http://php.net/http_build_query}
+ * @param array|object $data Data to build query using, see {@see https://secure.php.net/http_build_query}
* @return string URL with data
*/
protected static function format_get($url_parts, $data) {
@@ -391,7 +391,7 @@ class Requests_Transport_fsockopen implements Requests_Transport {
* names, leading things like 'https://www.github.com/' to be invalid.
* Instead
*
- * @see http://tools.ietf.org/html/rfc2818#section-3.1 RFC2818, Section 3.1
+ * @see https://tools.ietf.org/html/rfc2818#section-3.1 RFC2818, Section 3.1
*
* @throws Requests_Exception On failure to connect via TLS (`fsockopen.ssl.connect_error`)
* @throws Requests_Exception On not obtaining a match for the host (`fsockopen.ssl.no_match`)
diff --git a/wp-includes/class-http.php b/wp-includes/class-http.php
index 4fb212d1ba..510ae27208 100644
--- a/wp-includes/class-http.php
+++ b/wp-includes/class-http.php
@@ -700,7 +700,7 @@ class WP_Http {
*
* Based off the HTTP http_encoding_dechunk function.
*
- * @link http://tools.ietf.org/html/rfc2616#section-19.4.6 Process for chunked decoding.
+ * @link https://tools.ietf.org/html/rfc2616#section-19.4.6 Process for chunked decoding.
*
* @access public
* @since 2.7.0
diff --git a/wp-includes/class-requests.php b/wp-includes/class-requests.php
index 6a8eef375d..89a2dda9e2 100644
--- a/wp-includes/class-requests.php
+++ b/wp-includes/class-requests.php
@@ -71,7 +71,7 @@ class Requests {
/**
* PATCH method
*
- * @link http://tools.ietf.org/html/rfc5789
+ * @link https://tools.ietf.org/html/rfc5789
* @var string
*/
const PATCH = 'PATCH';
@@ -287,7 +287,7 @@ class Requests {
* Note: Unlike {@see post} and {@see put}, `$headers` is required, as the
* specification recommends that should send an ETag
*
- * @link http://tools.ietf.org/html/rfc5789
+ * @link https://tools.ietf.org/html/rfc5789
*/
public static function patch($url, $headers, $data = array(), $options = array()) {
return self::request($url, $headers, $data, self::PATCH, $options);
@@ -742,7 +742,7 @@ class Requests {
/**
* Decoded a chunked body as per RFC 2616
*
- * @see http://tools.ietf.org/html/rfc2616#section-3.6.1
+ * @see https://tools.ietf.org/html/rfc2616#section-3.6.1
* @param string $data Chunked body
* @return string Decoded body
*/
@@ -848,12 +848,12 @@ class Requests {
* Warning: Magic numbers within. Due to the potential different formats that the compressed
* data may be returned in, some "magic offsets" are needed to ensure proper decompression
* takes place. For a simple progmatic way to determine the magic offset in use, see:
- * http://core.trac.wordpress.org/ticket/18273
+ * https://core.trac.wordpress.org/ticket/18273
*
* @since 2.8.1
- * @link http://core.trac.wordpress.org/ticket/18273
- * @link http://au2.php.net/manual/en/function.gzinflate.php#70875
- * @link http://au2.php.net/manual/en/function.gzinflate.php#77336
+ * @link https://core.trac.wordpress.org/ticket/18273
+ * @link https://secure.php.net/manual/en/function.gzinflate.php#70875
+ * @link https://secure.php.net/manual/en/function.gzinflate.php#77336
*
* @param string $gzData String to decompress.
* @return string|bool False on failure.
@@ -891,7 +891,7 @@ class Requests {
// java.util.zip.Deflater, Ruby’s Zlib::Deflate, and .NET's
// System.IO.Compression.DeflateStream.
//
- // See http://decompres.blogspot.com/ for a quick explanation of this
+ // See https://decompres.blogspot.com/ for a quick explanation of this
// data type
$huffman_encoded = false;
diff --git a/wp-includes/class-wp-http-encoding.php b/wp-includes/class-wp-http-encoding.php
index fd419524f0..81cfba850c 100644
--- a/wp-includes/class-wp-http-encoding.php
+++ b/wp-includes/class-wp-http-encoding.php
@@ -88,8 +88,8 @@ class WP_Http_Encoding {
*
* @since 2.8.1
* @link https://core.trac.wordpress.org/ticket/18273
- * @link http://au2.php.net/manual/en/function.gzinflate.php#70875
- * @link http://au2.php.net/manual/en/function.gzinflate.php#77336
+ * @link https://secure.php.net/manual/en/function.gzinflate.php#70875
+ * @link https://secure.php.net/manual/en/function.gzinflate.php#77336
*
* @static
*
diff --git a/wp-includes/class-wp-xmlrpc-server.php b/wp-includes/class-wp-xmlrpc-server.php
index 40b836103b..bdabf98e7a 100644
--- a/wp-includes/class-wp-xmlrpc-server.php
+++ b/wp-includes/class-wp-xmlrpc-server.php
@@ -1152,7 +1152,7 @@ class wp_xmlrpc_server extends IXR_Server {
*
* @since 3.4.0
*
- * @link http://en.wikipedia.org/wiki/RSS_enclosure for information on RSS enclosures.
+ * @link https://en.wikipedia.org/wiki/RSS_enclosure for information on RSS enclosures.
*
* @param array $args {
* Method arguments. Note: top-level arguments must be ordered as documented.
@@ -4298,7 +4298,7 @@ class wp_xmlrpc_server extends IXR_Server {
}
/* Blogger API functions.
- * specs on http://plant.blogger.com/api and http://groups.yahoo.com/group/bloggerDev/
+ * specs on http://plant.blogger.com/api and https://groups.yahoo.com/group/bloggerDev/
*/
/**
diff --git a/wp-includes/comment.php b/wp-includes/comment.php
index a7282e4e95..fb8c3193ae 100644
--- a/wp-includes/comment.php
+++ b/wp-includes/comment.php
@@ -2543,7 +2543,7 @@ function pingback_ping_source_uri( $source_uri ) {
* which reports that the pingback is already registered.
*
* @since 3.5.1
- * @link http://www.hixie.ch/specs/pingback/pingback#TOC3
+ * @link https://www.hixie.ch/specs/pingback/pingback#TOC3
*
* @param IXR_Error $ixr_error
* @return IXR_Error
diff --git a/wp-includes/compat.php b/wp-includes/compat.php
index 3e30827675..783debfa5e 100644
--- a/wp-includes/compat.php
+++ b/wp-includes/compat.php
@@ -421,7 +421,7 @@ if ( ! interface_exists( 'JsonSerializable' ) ) {
*
* Compatibility shim for PHP <5.4
*
- * @link http://php.net/jsonserializable
+ * @link https://secure.php.net/jsonserializable
*
* @since 4.4.0
*/
diff --git a/wp-includes/default-constants.php b/wp-includes/default-constants.php
index c9092bd2cc..fe96e34bd1 100644
--- a/wp-includes/default-constants.php
+++ b/wp-includes/default-constants.php
@@ -98,7 +98,7 @@ function wp_initial_constants() {
* For example, MONTH_IN_SECONDS wrongly assumes every month has 30 days and
* YEAR_IN_SECONDS does not take leap years into account.
*
- * If you need more accuracy please consider using the DateTime class (http://php.net/manual/class.datetime.php).
+ * If you need more accuracy please consider using the DateTime class (https://secure.php.net/manual/en/class.datetime.php).
*
* @since 3.5.0
* @since 4.4.0 Introduced `MONTH_IN_SECONDS`.
diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php
index fed5fd8cff..a931ce859c 100644
--- a/wp-includes/deprecated.php
+++ b/wp-includes/deprecated.php
@@ -2818,7 +2818,7 @@ function is_blog_user( $blog_id = 0 ) {
* @deprecated 3.4.0 Use error_log()
* @see error_log()
*
- * @link http://www.php.net/manual/en/function.error-log.php
+ * @link https://secure.php.net/manual/en/function.error-log.php
*
* @param string $filename File name.
* @param string $mode Type of access you required to the stream.
@@ -2836,7 +2836,7 @@ function debug_fopen( $filename, $mode ) {
* @deprecated 3.4.0 Use error_log()
* @see error_log()
*
- * @link http://www.php.net/manual/en/function.error-log.php
+ * @link https://secure.php.net/manual/en/function.error-log.php
*
* @param mixed $fp Unused.
* @param string $string Message to log.
@@ -2854,7 +2854,7 @@ function debug_fwrite( $fp, $string ) {
* @deprecated 3.4.0 Use error_log()
* @see error_log()
*
- * @link http://www.php.net/manual/en/function.error-log.php
+ * @link https://secure.php.net/manual/en/function.error-log.php
*
* @param mixed $fp Unused.
*/
diff --git a/wp-includes/feed-atom-comments.php b/wp-includes/feed-atom-comments.php
index 9b59478a5f..e5c7089164 100644
--- a/wp-includes/feed-atom-comments.php
+++ b/wp-includes/feed-atom-comments.php
@@ -91,7 +91,7 @@ if ( have_comments() ) : while ( have_comments() ) : the_comment();