diff --git a/src/readme.html b/src/readme.html
index e887fb2784..6fcf7cd06a 100644
--- a/src/readme.html
+++ b/src/readme.html
@@ -53,15 +53,15 @@
System Requirements
- - PHP version 5.2.4 or higher.
- - MySQL version 5.0 or higher.
+ - PHP version 5.2.4 or higher.
+ - MySQL version 5.0 or higher.
Recommendations
diff --git a/src/wp-admin/comment.php b/src/wp-admin/comment.php
index 5cff224cec..1f491f59ca 100644
--- a/src/wp-admin/comment.php
+++ b/src/wp-admin/comment.php
@@ -197,7 +197,7 @@ if ( $comment->comment_approved != '0' ) { // if not unapproved
post_date ) );
$messages['post'] = array(
diff --git a/src/wp-admin/edit-form-comment.php b/src/wp-admin/edit-form-comment.php
index 566b37944f..9fac3e934c 100644
--- a/src/wp-admin/edit-form-comment.php
+++ b/src/wp-admin/edit-form-comment.php
@@ -89,7 +89,7 @@ if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_
plugins and themes there. If you get a plugin or theme from another source, make sure to ask them if it’s GPL first. If they don’t respect the WordPress license, we don’t recommend them.' ), $plugins_url, $themes_url, 'https://wordpress.org/about/license/' ); ?>
-Free Software Foundation.' ); ?>
+Free Software Foundation.' ); ?>
diff --git a/src/wp-admin/includes/ajax-actions.php b/src/wp-admin/includes/ajax-actions.php
index 5ae364f01d..266a6e0890 100644
--- a/src/wp-admin/includes/ajax-actions.php
+++ b/src/wp-admin/includes/ajax-actions.php
@@ -1797,7 +1797,7 @@ function wp_ajax_find_posts() {
if ( '0000-00-00 00:00:00' == $post->post_date ) {
$time = '';
} else {
- /* translators: date format in table columns, see http://php.net/date */
+ /* translators: date format in table columns, see https://secure.php.net/date */
$time = mysql2date(__('Y/m/d'), $post->post_date);
}
diff --git a/src/wp-admin/includes/class-wp-comments-list-table.php b/src/wp-admin/includes/class-wp-comments-list-table.php
index 6e27a3fa2e..116a55e06f 100644
--- a/src/wp-admin/includes/class-wp-comments-list-table.php
+++ b/src/wp-admin/includes/class-wp-comments-list-table.php
@@ -717,7 +717,7 @@ class WP_Comments_List_Table extends WP_List_Table {
public function column_date( $comment ) {
/* translators: 1: comment date, 2: comment time */
$submitted = sprintf( __( '%1$s at %2$s' ),
- /* translators: comment date format. See http://php.net/date */
+ /* translators: comment date format. See https://secure.php.net/date */
get_comment_date( __( 'Y/m/d' ), $comment ),
get_comment_date( __( 'g:i a' ), $comment )
);
diff --git a/src/wp-admin/includes/class-wp-filesystem-base.php b/src/wp-admin/includes/class-wp-filesystem-base.php
index 5c45c974bf..c944051a3f 100644
--- a/src/wp-admin/includes/class-wp-filesystem-base.php
+++ b/src/wp-admin/includes/class-wp-filesystem-base.php
@@ -316,7 +316,7 @@ class WP_Filesystem_Base {
*
* From the PHP documentation page for fileperms().
*
- * @link http://docs.php.net/fileperms
+ * @link https://secure.php.net/manual/en/function.fileperms.php
*
* @access public
* @since 2.5.0
@@ -384,7 +384,7 @@ class WP_Filesystem_Base {
* Converts '-rw-r--r--' to 0644
* From "info at rvgate dot nl"'s comment on the PHP documentation for chmod()
*
- * @link http://docs.php.net/manual/en/function.chmod.php#49614
+ * @link https://secure.php.net/manual/en/function.chmod.php#49614
*
* @access public
* @since 2.5.0
diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php
index ca88a9aa05..98743939a3 100644
--- a/src/wp-admin/includes/dashboard.php
+++ b/src/wp-admin/includes/dashboard.php
@@ -835,10 +835,10 @@ function wp_dashboard_recent_posts( $args ) {
} elseif ( date( 'Y-m-d', $time ) == $tomorrow ) {
$relative = __( 'Tomorrow' );
} elseif ( date( 'Y', $time ) !== date( 'Y', current_time( 'timestamp' ) ) ) {
- /* translators: date and time format for recent posts on the dashboard, from a different calendar year, see http://php.net/date */
+ /* translators: date and time format for recent posts on the dashboard, from a different calendar year, see https://secure.php.net/date */
$relative = date_i18n( __( 'M jS Y' ), $time );
} else {
- /* translators: date and time format for recent posts on the dashboard, see http://php.net/date */
+ /* translators: date and time format for recent posts on the dashboard, see https://secure.php.net/date */
$relative = date_i18n( __( 'M jS' ), $time );
}
diff --git a/src/wp-admin/includes/meta-boxes.php b/src/wp-admin/includes/meta-boxes.php
index e07cc5698a..b163d3cc7f 100644
--- a/src/wp-admin/includes/meta-boxes.php
+++ b/src/wp-admin/includes/meta-boxes.php
@@ -170,7 +170,7 @@ echo esc_html( $visibility_trans ); ?>
ID ) {
if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date
@@ -296,7 +296,7 @@ function attachment_submit_meta_box( $post ) {
%1$s');
$date = date_i18n( $datef, strtotime( $post->post_date ) );
diff --git a/src/wp-admin/includes/misc.php b/src/wp-admin/includes/misc.php
index 72b8822e54..2df166c31f 100644
--- a/src/wp-admin/includes/misc.php
+++ b/src/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/src/wp-admin/includes/network.php b/src/wp-admin/includes/network.php
index 29e4131f0d..46570b01e5 100644
--- a/src/wp-admin/includes/network.php
+++ b/src/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/src/wp-admin/includes/schema.php b/src/wp-admin/includes/schema.php
index f30bb10946..83ba531794 100644
--- a/src/wp-admin/includes/schema.php
+++ b/src/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/src/wp-admin/options-discussion.php b/src/wp-admin/options-discussion.php
index 749085074d..5dc7fb9ea7 100644
--- a/src/wp-admin/options-discussion.php
+++ b/src/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/src/wp-admin/options-general.php b/src/wp-admin/options-general.php
index 064fbfabc1..add4d29a61 100644
--- a/src/wp-admin/options-general.php
+++ b/src/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/src/wp-admin/theme-editor.php b/src/wp-admin/theme-editor.php
index a2f73edffe..476fdf940d 100644
--- a/src/wp-admin/theme-editor.php
+++ b/src/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/src/wp-includes/Requests/Exception/HTTP/418.php b/src/wp-includes/Requests/Exception/HTTP/418.php
index a554d73458..d6af806c44 100755
--- a/src/wp-includes/Requests/Exception/HTTP/418.php
+++ b/src/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/src/wp-includes/Requests/Exception/HTTP/428.php b/src/wp-includes/Requests/Exception/HTTP/428.php
index e320b4633c..469e954546 100755
--- a/src/wp-includes/Requests/Exception/HTTP/428.php
+++ b/src/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/src/wp-includes/Requests/Exception/HTTP/429.php b/src/wp-includes/Requests/Exception/HTTP/429.php
index 0970e1efb8..2a21fb345b 100755
--- a/src/wp-includes/Requests/Exception/HTTP/429.php
+++ b/src/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/src/wp-includes/Requests/Exception/HTTP/431.php b/src/wp-includes/Requests/Exception/HTTP/431.php
index eec56e5bee..ba1294e650 100755
--- a/src/wp-includes/Requests/Exception/HTTP/431.php
+++ b/src/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/src/wp-includes/Requests/Exception/HTTP/511.php b/src/wp-includes/Requests/Exception/HTTP/511.php
index 90bcc5d257..920d334b1f 100755
--- a/src/wp-includes/Requests/Exception/HTTP/511.php
+++ b/src/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/src/wp-includes/Requests/IDNAEncoder.php b/src/wp-includes/Requests/IDNAEncoder.php
index eaecb73da8..ebbe2111b3 100755
--- a/src/wp-includes/Requests/IDNAEncoder.php
+++ b/src/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/src/wp-includes/Requests/SSL.php b/src/wp-includes/Requests/SSL.php
index c227f7553f..2b0376853a 100755
--- a/src/wp-includes/Requests/SSL.php
+++ b/src/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/src/wp-includes/Requests/Session.php b/src/wp-includes/Requests/Session.php
index c8ded7979b..af14bbe416 100755
--- a/src/wp-includes/Requests/Session.php
+++ b/src/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/src/wp-includes/Requests/Transport/cURL.php b/src/wp-includes/Requests/Transport/cURL.php
index 04914440e6..ce09111cba 100755
--- a/src/wp-includes/Requests/Transport/cURL.php
+++ b/src/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/src/wp-includes/Requests/Transport/fsockopen.php b/src/wp-includes/Requests/Transport/fsockopen.php
index a8db94b502..e9170f417c 100755
--- a/src/wp-includes/Requests/Transport/fsockopen.php
+++ b/src/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/src/wp-includes/class-http.php b/src/wp-includes/class-http.php
index 4fb212d1ba..510ae27208 100644
--- a/src/wp-includes/class-http.php
+++ b/src/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/src/wp-includes/class-requests.php b/src/wp-includes/class-requests.php
index 6a8eef375d..89a2dda9e2 100644
--- a/src/wp-includes/class-requests.php
+++ b/src/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/src/wp-includes/class-wp-http-encoding.php b/src/wp-includes/class-wp-http-encoding.php
index fd419524f0..81cfba850c 100644
--- a/src/wp-includes/class-wp-http-encoding.php
+++ b/src/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/src/wp-includes/class-wp-xmlrpc-server.php b/src/wp-includes/class-wp-xmlrpc-server.php
index 40b836103b..bdabf98e7a 100644
--- a/src/wp-includes/class-wp-xmlrpc-server.php
+++ b/src/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/src/wp-includes/comment.php b/src/wp-includes/comment.php
index a7282e4e95..fb8c3193ae 100644
--- a/src/wp-includes/comment.php
+++ b/src/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/src/wp-includes/compat.php b/src/wp-includes/compat.php
index 3e30827675..783debfa5e 100644
--- a/src/wp-includes/compat.php
+++ b/src/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/src/wp-includes/default-constants.php b/src/wp-includes/default-constants.php
index c9092bd2cc..fe96e34bd1 100644
--- a/src/wp-includes/default-constants.php
+++ b/src/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/src/wp-includes/deprecated.php b/src/wp-includes/deprecated.php
index fed5fd8cff..a931ce859c 100644
--- a/src/wp-includes/deprecated.php
+++ b/src/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/src/wp-includes/feed-atom-comments.php b/src/wp-includes/feed-atom-comments.php
index 9b59478a5f..e5c7089164 100644
--- a/src/wp-includes/feed-atom-comments.php
+++ b/src/wp-includes/feed-atom-comments.php
@@ -91,7 +91,7 @@ if ( have_comments() ) : while ( have_comments() ) : the_comment();
]]>
comment_parent == 0 ) : // This comment is top level ?>
meridiem['PM'] = __('PM');
// Numbers formatting
- // See http://php.net/number_format
+ // See https://secure.php.net/number_format
- /* translators: $thousands_sep argument for http://php.net/number_format, default is , */
+ /* translators: $thousands_sep argument for https://secure.php.net/number_format, default is , */
$thousands_sep = __( 'number_format_thousands_sep' );
if ( version_compare( PHP_VERSION, '5.4', '>=' ) ) {
@@ -199,7 +199,7 @@ class WP_Locale {
$this->number_format['thousands_sep'] = ( 'number_format_thousands_sep' === $thousands_sep ) ? ',' : $thousands_sep;
- /* translators: $dec_point argument for http://php.net/number_format, default is . */
+ /* translators: $dec_point argument for https://secure.php.net/number_format, default is . */
$decimal_point = __( 'number_format_decimal_point' );
$this->number_format['decimal_point'] = ( 'number_format_decimal_point' === $decimal_point ) ? '.' : $decimal_point;
@@ -385,11 +385,11 @@ class WP_Locale {
* @since 3.6.0
*/
public function _strings_for_pot() {
- /* translators: localized date format, see http://php.net/date */
+ /* translators: localized date format, see https://secure.php.net/date */
__( 'F j, Y' );
- /* translators: localized time format, see http://php.net/date */
+ /* translators: localized time format, see https://secure.php.net/date */
__( 'g:i a' );
- /* translators: localized date and time format, see http://php.net/date */
+ /* translators: localized date and time format, see https://secure.php.net/date */
__( 'F j, Y g:i a' );
}
}
diff --git a/src/wp-includes/plugin.php b/src/wp-includes/plugin.php
index bff15c1383..acf58d88f6 100644
--- a/src/wp-includes/plugin.php
+++ b/src/wp-includes/plugin.php
@@ -8,7 +8,7 @@
* To hook methods, you'll need to pass an array one of two ways.
*
* Any of the syntaxes explained in the PHP documentation for the
- * {@link http://us2.php.net/manual/en/language.pseudo-types.php#language.types.callback 'callback'}
+ * {@link https://secure.php.net/manual/en/language.pseudo-types.php#language.types.callback 'callback'}
* type are valid.
*
* Also see the {@link https://codex.wordpress.org/Plugin_API Plugin API} for
diff --git a/src/wp-includes/post-template.php b/src/wp-includes/post-template.php
index 7cfb9ac798..2bfa6b6098 100644
--- a/src/wp-includes/post-template.php
+++ b/src/wp-includes/post-template.php
@@ -1622,7 +1622,7 @@ function wp_post_revision_title( $revision, $link = true ) {
if ( !in_array( $revision->post_type, array( 'post', 'page', 'revision' ) ) )
return false;
- /* translators: revision date format, see http://php.net/date */
+ /* translators: revision date format, see https://secure.php.net/date */
$datef = _x( 'F j, Y @ H:i:s', 'revision date format' );
/* translators: 1: date */
$autosavef = _x( '%1$s [Autosave]', 'post revision title extra' );
@@ -1658,7 +1658,7 @@ function wp_post_revision_title_expanded( $revision, $link = true ) {
return false;
$author = get_the_author_meta( 'display_name', $revision->post_author );
- /* translators: revision date format, see http://php.net/date */
+ /* translators: revision date format, see https://secure.php.net/date */
$datef = _x( 'F j, Y @ H:i:s', 'revision date format' );
$gravatar = get_avatar( $revision->post_author, 24 );
diff --git a/src/wp-includes/rest-api/class-wp-rest-request.php b/src/wp-includes/rest-api/class-wp-rest-request.php
index a0d711d7fb..80c58bf5b1 100644
--- a/src/wp-includes/rest-api/class-wp-rest-request.php
+++ b/src/wp-includes/rest-api/class-wp-rest-request.php
@@ -183,7 +183,7 @@ class WP_REST_Request implements ArrayAccess {
*
* @link http://stackoverflow.com/q/18185366
* @link http://wiki.nginx.org/Pitfalls#Missing_.28disappearing.29_HTTP_headers
- * @link http://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers
+ * @link https://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers
*
* @since 4.4.0
* @access public
diff --git a/src/wp-includes/rest-api/class-wp-rest-response.php b/src/wp-includes/rest-api/class-wp-rest-response.php
index c957fb2ab7..65ae87251f 100644
--- a/src/wp-includes/rest-api/class-wp-rest-response.php
+++ b/src/wp-includes/rest-api/class-wp-rest-response.php
@@ -51,8 +51,8 @@ class WP_REST_Response extends WP_HTTP_Response {
* @since 4.4.0
* @access public
*
- * @link http://tools.ietf.org/html/rfc5988
- * @link http://www.iana.org/assignments/link-relations/link-relations.xml
+ * @link https://tools.ietf.org/html/rfc5988
+ * @link https://www.iana.org/assignments/link-relations/link-relations.xml
*
* @param string $rel Link relation. Either an IANA registered type,
* or an absolute URL.
@@ -147,8 +147,8 @@ class WP_REST_Response extends WP_HTTP_Response {
* @since 4.4.0
* @access public
*
- * @link http://tools.ietf.org/html/rfc5988
- * @link http://www.iana.org/assignments/link-relations/link-relations.xml
+ * @link https://tools.ietf.org/html/rfc5988
+ * @link https://www.iana.org/assignments/link-relations/link-relations.xml
*
* @param string $rel Link relation. Either an IANA registered type, or an absolute URL.
* @param string $link Target IRI for the link.
diff --git a/src/wp-includes/rest-api/class-wp-rest-server.php b/src/wp-includes/rest-api/class-wp-rest-server.php
index 6febebe34d..75b3388bf4 100644
--- a/src/wp-includes/rest-api/class-wp-rest-server.php
+++ b/src/wp-includes/rest-api/class-wp-rest-server.php
@@ -230,7 +230,7 @@ class WP_REST_Server {
/*
* Mitigate possible JSONP Flash attacks.
*
- * http://miki.it/blog/2014/7/8/abusing-jsonp-with-rosetta-flash/
+ * https://miki.it/blog/2014/7/8/abusing-jsonp-with-rosetta-flash/
*/
$this->send_header( 'X-Content-Type-Options', 'nosniff' );
$this->send_header( 'Access-Control-Expose-Headers', 'X-WP-Total, X-WP-TotalPages' );
@@ -389,7 +389,7 @@ class WP_REST_Server {
if ( $jsonp_callback ) {
// Prepend '/**/' to mitigate possible JSONP Flash attacks
- // http://miki.it/blog/2014/7/8/abusing-jsonp-with-rosetta-flash/
+ // https://miki.it/blog/2014/7/8/abusing-jsonp-with-rosetta-flash/
echo '/**/' . $jsonp_callback . '(' . $result . ')';
} else {
echo $result;
diff --git a/src/wp-includes/rss.php b/src/wp-includes/rss.php
index 71146edc3c..3bc6c5bc93 100644
--- a/src/wp-includes/rss.php
+++ b/src/wp-includes/rss.php
@@ -63,12 +63,12 @@ class MagpieRSS {
# if PHP xml isn't compiled in, die
#
if ( !function_exists('xml_parser_create') )
- trigger_error( "Failed to load PHP's XML Extension. http://www.php.net/manual/en/ref.xml.php" );
+ trigger_error( "Failed to load PHP's XML Extension. https://secure.php.net/manual/en/ref.xml.php" );
$parser = @xml_parser_create();
if ( !is_resource($parser) )
- trigger_error( "Failed to create an instance of PHP's XML parser. http://www.php.net/manual/en/ref.xml.php");
+ trigger_error( "Failed to create an instance of PHP's XML parser. https://secure.php.net/manual/en/ref.xml.php");
$this->parser = $parser;
diff --git a/src/wp-includes/theme.php b/src/wp-includes/theme.php
index f975861144..fcd1a3a48a 100644
--- a/src/wp-includes/theme.php
+++ b/src/wp-includes/theme.php
@@ -842,7 +842,7 @@ function get_theme_mods() {
* Retrieve theme modification value for the current theme.
*
* If the modification name does not exist, then the $default will be passed
- * through {@link http://php.net/sprintf sprintf()} PHP function with the first
+ * through {@link https://secure.php.net/sprintf sprintf()} PHP function with the first
* string the template directory URI and the second string the stylesheet
* directory URI.
*
diff --git a/src/wp-includes/wp-db.php b/src/wp-includes/wp-db.php
index 50d71c6c13..2ad4676452 100644
--- a/src/wp-includes/wp-db.php
+++ b/src/wp-includes/wp-db.php
@@ -1254,22 +1254,22 @@ class wpdb {
* Does not support sign, padding, alignment, width or precision specifiers.
* Does not support argument numbering/swapping.
*
- * May be called like {@link http://php.net/sprintf sprintf()} or like {@link http://php.net/vsprintf vsprintf()}.
+ * May be called like {@link https://secure.php.net/sprintf sprintf()} or like {@link https://secure.php.net/vsprintf vsprintf()}.
*
* Both %d and %s should be left unquoted in the query string.
*
* wpdb::prepare( "SELECT * FROM `table` WHERE `column` = %s AND `field` = %d", 'foo', 1337 )
* wpdb::prepare( "SELECT DATE_FORMAT(`field`, '%%c') FROM `table` WHERE `column` = %s", 'foo' );
*
- * @link http://php.net/sprintf Description of syntax.
+ * @link https://secure.php.net/sprintf Description of syntax.
* @since 2.3.0
*
* @param string $query Query statement with sprintf()-like placeholders
* @param array|mixed $args The array of variables to substitute into the query's placeholders if being called like
- * {@link http://php.net/vsprintf vsprintf()}, or the first variable to substitute into the query's placeholders if
- * being called like {@link http://php.net/sprintf sprintf()}.
+ * {@link https://secure.php.net/vsprintf vsprintf()}, or the first variable to substitute into the query's placeholders if
+ * being called like {@link https://secure.php.net/sprintf sprintf()}.
* @param mixed $args,... further variables to substitute into the query's placeholders if being called like
- * {@link http://php.net/sprintf sprintf()}.
+ * {@link https://secure.php.net/sprintf sprintf()}.
* @return string|void Sanitized query string, if there is a query to prepare.
*/
public function prepare( $query, $args ) {
diff --git a/tools/i18n/not-gettexted.php b/tools/i18n/not-gettexted.php
index d1e16fa3d4..e8ae2c3143 100644
--- a/tools/i18n/not-gettexted.php
+++ b/tools/i18n/not-gettexted.php
@@ -6,7 +6,7 @@
* @package wordpress-i18n
* @subpackage tools
*/
-// see: http://php.net/tokenizer
+// see: https://secure.php.net/tokenizer
if ( ! defined( 'T_ML_COMMENT' ) )
define( 'T_ML_COMMENT', T_COMMENT );
else
diff --git a/tools/i18n/t/ExtractTest.php b/tools/i18n/t/ExtractTest.php
index 8a38f5c583..09634d2117 100644
--- a/tools/i18n/t/ExtractTest.php
+++ b/tools/i18n/t/ExtractTest.php
@@ -205,11 +205,11 @@ class ExtractTest extends PHPUnit_Framework_TestCase {
function test_find_function_calls_with_url_in_comment() {
$this->assertEquals( array( array(
'name' => '__', 'args' => array( 'F j, Y g:i a' ), 'line' => 3,
- 'comment' => 'translators: localized date and time format, see http://php.net/date'
+ 'comment' => 'translators: localized date and time format, see https://secure.php.net/date'
) ),
$this->extractor->find_function_calls( array( '__' ),
"wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php
file through a web interface, but this doesn\'t work for all server setups. The safest way is to manually create the file.Create a Configuration File' /*/WP_I18N_CONFIG*/, $path.'setup-config.php'), /*WP_I18N_ERROR*/ 'Translation: WordPress › Error' /*/WP_I18N_ERROR*/);
+ wp_die( sprintf(/*WP_I18N_CONFIG*/'Translation: There doesn\'t seem to be a wp-config.php
file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php
file through a web interface, but this doesn\'t work for all server setups. The safest way is to manually create the file.
Create a Configuration File' /*/WP_I18N_CONFIG*/, $path.'setup-config.php'), /*WP_I18N_ERROR*/ 'Translation: WordPress › Error' /*/WP_I18N_ERROR*/);
}
$wp_did_header = true;
diff --git a/tools/i18n/t/data/not-gettexted-0.php b/tools/i18n/t/data/not-gettexted-0.php
index 4faaccd865..dbef5c0814 100644
--- a/tools/i18n/t/data/not-gettexted-0.php
+++ b/tools/i18n/t/data/not-gettexted-0.php
@@ -8,7 +8,7 @@ if ( !file_exists( dirname(__FILE__) . '/wp-config.php') ) {
require_once( dirname(__FILE__) . '/wp-includes/classes.php');
require_once( dirname(__FILE__) . '/wp-includes/functions.php');
require_once( dirname(__FILE__) . '/wp-includes/plugin.php');
- wp_die( sprintf(/*WP_I18N_CONFIG*/" There doesn't seem to be a wp-config.php
file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php
file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.
Create a Configuration File" /*/WP_I18N_CONFIG*/, $path.'setup-config.php'), /*WP_I18N_ERROR*/ "WordPress › Error" /*/WP_I18N_ERROR*/);
+ wp_die( sprintf(/*WP_I18N_CONFIG*/" There doesn't seem to be a wp-config.php
file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php
file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.
Create a Configuration File" /*/WP_I18N_CONFIG*/, $path.'setup-config.php'), /*WP_I18N_ERROR*/ "WordPress › Error" /*/WP_I18N_ERROR*/);
}
$wp_did_header = true;