DOCS: Replace HTTP links with HTTPS.

Replaces unsecure links in documentation and translator comments with their secure versions.

Props johnpgreen, netweb

Fixes #36993

Built from https://develop.svn.wordpress.org/trunk@37674


git-svn-id: http://core.svn.wordpress.org/trunk@37640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Peter Wilson 2016-06-10 04:50:33 +00:00
parent 6d06e53dba
commit 47d26cd9fb
50 changed files with 115 additions and 115 deletions

View File

@ -53,15 +53,15 @@
<h2>System Requirements</h2> <h2>System Requirements</h2>
<ul> <ul>
<li><a href="http://php.net/">PHP</a> version <strong>5.2.4</strong> or higher.</li> <li><a href="https://secure.php.net/">PHP</a> version <strong>5.2.4</strong> or higher.</li>
<li><a href="http://www.mysql.com/">MySQL</a> version <strong>5.0</strong> or higher.</li> <li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.0</strong> or higher.</li>
</ul> </ul>
<h3>Recommendations</h3> <h3>Recommendations</h3>
<ul> <ul>
<li><a href="http://php.net/">PHP</a> version <strong>5.6</strong> or higher.</li> <li><a href="https://secure.php.net/">PHP</a> version <strong>5.6</strong> or higher.</li>
<li><a href="http://www.mysql.com/">MySQL</a> version <strong>5.6</strong> or higher.</li> <li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.6</strong> or higher.</li>
<li>The <a href="http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html">mod_rewrite</a> Apache module.</li> <li>The <a href="https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html">mod_rewrite</a> Apache module.</li>
<li>A link to <a href="https://wordpress.org/">wordpress.org</a> on your site.</li> <li>A link to <a href="https://wordpress.org/">wordpress.org</a> on your site.</li>
</ul> </ul>

View File

@ -197,7 +197,7 @@ if ( $comment->comment_approved != '0' ) { // if not unapproved
<?php <?php
/* translators: 1: comment date, 2: comment time */ /* translators: 1: comment date, 2: comment time */
$submitted = sprintf( __( '%1$s at %2$s' ), $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( __( 'Y/m/d' ), $comment ),
get_comment_date( __( 'g:i a' ), $comment ) get_comment_date( __( 'g:i a' ), $comment )
); );

View File

@ -129,7 +129,7 @@ if ( $viewable ) {
} }
/* translators: Publish box date format, see http://php.net/date */ /* translators: Publish box date format, see https://secure.php.net/date */
$scheduled_date = date_i18n( __( 'M j, Y @ H:i' ), strtotime( $post->post_date ) ); $scheduled_date = date_i18n( __( 'M j, Y @ H:i' ), strtotime( $post->post_date ) );
$messages['post'] = array( $messages['post'] = array(

View File

@ -89,7 +89,7 @@ if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_
<div class="misc-pub-section curtime misc-pub-curtime"> <div class="misc-pub-section curtime misc-pub-curtime">
<?php <?php
/* translators: Publish box date format, see http://php.net/date */ /* translators: Publish box date format, see https://secure.php.net/date */
$datef = __( 'M j, Y @ H:i' ); $datef = __( 'M j, Y @ H:i' );
?> ?>
<span id="timestamp"><?php <span id="timestamp"><?php

View File

@ -45,7 +45,7 @@ if ( 'category' == $taxonomy ) {
} }
/** /**
* Use with caution, see http://codex.wordpress.org/Function_Reference/wp_reset_vars * Use with caution, see https://codex.wordpress.org/Function_Reference/wp_reset_vars
*/ */
wp_reset_vars( array( 'wp_http_referer' ) ); wp_reset_vars( array( 'wp_http_referer' ) );

View File

@ -47,7 +47,7 @@ $themes_url = current_user_can( 'switch_themes' ) ? admin_url( 'themes.php' ) :
printf( __( 'Every plugin and theme in WordPress.org&#8217;s directory is 100%% GPL or a similarly free and compatible license, so you can feel safe finding <a href="%1$s">plugins</a> and <a href="%2$s">themes</a> there. If you get a plugin or theme from another source, make sure to <a href="%3$s">ask them if it&#8217;s GPL</a> first. If they don&#8217;t respect the WordPress license, we don&#8217;t recommend them.' ), $plugins_url, $themes_url, 'https://wordpress.org/about/license/' ); ?></p> printf( __( 'Every plugin and theme in WordPress.org&#8217;s directory is 100%% GPL or a similarly free and compatible license, so you can feel safe finding <a href="%1$s">plugins</a> and <a href="%2$s">themes</a> there. If you get a plugin or theme from another source, make sure to <a href="%3$s">ask them if it&#8217;s GPL</a> first. If they don&#8217;t respect the WordPress license, we don&#8217;t recommend them.' ), $plugins_url, $themes_url, 'https://wordpress.org/about/license/' ); ?></p>
<p><?php _e( 'Don&#8217;t you wish all software came with these freedoms? So do we! For more information, check out the <a href="http://www.fsf.org/">Free Software Foundation</a>.' ); ?></p> <p><?php _e( 'Don&#8217;t you wish all software came with these freedoms? So do we! For more information, check out the <a href="https://www.fsf.org/">Free Software Foundation</a>.' ); ?></p>
</div> </div>
<?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?> <?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?>

View File

@ -1797,7 +1797,7 @@ function wp_ajax_find_posts() {
if ( '0000-00-00 00:00:00' == $post->post_date ) { if ( '0000-00-00 00:00:00' == $post->post_date ) {
$time = ''; $time = '';
} else { } 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); $time = mysql2date(__('Y/m/d'), $post->post_date);
} }

View File

@ -717,7 +717,7 @@ class WP_Comments_List_Table extends WP_List_Table {
public function column_date( $comment ) { public function column_date( $comment ) {
/* translators: 1: comment date, 2: comment time */ /* translators: 1: comment date, 2: comment time */
$submitted = sprintf( __( '%1$s at %2$s' ), $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( __( 'Y/m/d' ), $comment ),
get_comment_date( __( 'g:i a' ), $comment ) get_comment_date( __( 'g:i a' ), $comment )
); );

View File

@ -316,7 +316,7 @@ class WP_Filesystem_Base {
* *
* From the PHP documentation page for fileperms(). * 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 * @access public
* @since 2.5.0 * @since 2.5.0
@ -384,7 +384,7 @@ class WP_Filesystem_Base {
* Converts '-rw-r--r--' to 0644 * Converts '-rw-r--r--' to 0644
* From "info at rvgate dot nl"'s comment on the PHP documentation for chmod() * 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 * @access public
* @since 2.5.0 * @since 2.5.0

View File

@ -835,10 +835,10 @@ function wp_dashboard_recent_posts( $args ) {
} elseif ( date( 'Y-m-d', $time ) == $tomorrow ) { } elseif ( date( 'Y-m-d', $time ) == $tomorrow ) {
$relative = __( 'Tomorrow' ); $relative = __( 'Tomorrow' );
} elseif ( date( 'Y', $time ) !== date( 'Y', current_time( 'timestamp' ) ) ) { } 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 ); $relative = date_i18n( __( 'M jS Y' ), $time );
} else { } 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 ); $relative = date_i18n( __( 'M jS' ), $time );
} }

View File

@ -170,7 +170,7 @@ echo esc_html( $visibility_trans ); ?></span>
</div><!-- .misc-pub-section --> </div><!-- .misc-pub-section -->
<?php <?php
/* translators: Publish box date format, see http://php.net/date */ /* translators: Publish box date format, see https://secure.php.net/date */
$datef = __( 'M j, Y @ H:i' ); $datef = __( 'M j, Y @ H:i' );
if ( 0 != $post->ID ) { if ( 0 != $post->ID ) {
if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date
@ -296,7 +296,7 @@ function attachment_submit_meta_box( $post ) {
<div id="misc-publishing-actions"> <div id="misc-publishing-actions">
<?php <?php
/* translators: Publish box date format, see http://php.net/date */ /* translators: Publish box date format, see https://secure.php.net/date */
$datef = __( 'M j, Y @ H:i' ); $datef = __( 'M j, Y @ H:i' );
$stamp = __('Uploaded on: <b>%1$s</b>'); $stamp = __('Uploaded on: <b>%1$s</b>');
$date = date_i18n( $datef, strtotime( $post->post_date ) ); $date = date_i18n( $datef, strtotime( $post->post_date ) );

View File

@ -881,7 +881,7 @@ function heartbeat_autosave( $response, $data ) {
} elseif ( empty( $saved ) ) { } elseif ( empty( $saved ) ) {
$response['wp_autosave'] = array( 'success' => false, 'message' => __( 'Error while saving.' ) ); $response['wp_autosave'] = array( 'success' => false, 'message' => __( 'Error while saving.' ) );
} else { } 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' ); $draft_saved_date_format = __( 'g:i:s a' );
/* translators: %s: date and time */ /* translators: %s: date and time */
$response['wp_autosave'] = array( 'success' => true, 'message' => sprintf( __( 'Draft saved at %s.' ), date_i18n( $draft_saved_date_format ) ) ); $response['wp_autosave'] = array( 'success' => true, 'message' => sprintf( __( 'Draft saved at %s.' ), date_i18n( $draft_saved_date_format ) ) );

View File

@ -180,8 +180,8 @@ function network_step1( $errors = false ) {
/* translators: 1: mod_rewrite, 2: mod_rewrite documentation URL, 3: Google search for mod_rewrite */ /* 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 <a href="%2$s">Apache documentation</a> or <a href="%3$s">elsewhere</a> for help setting it up.' ), printf( __( 'If %1$s is disabled, ask your administrator to enable that module, or look at the <a href="%2$s">Apache documentation</a> or <a href="%3$s">elsewhere</a> for help setting it up.' ),
'<code>mod_rewrite</code>', '<code>mod_rewrite</code>',
'http://httpd.apache.org/docs/mod/mod_rewrite.html', 'https://httpd.apache.org/docs/mod/mod_rewrite.html',
'http://www.google.com/search?q=apache+mod_rewrite' 'https://www.google.com/search?q=apache+mod_rewrite'
); );
echo '</p></div>'; echo '</p></div>';
} }

View File

@ -381,7 +381,7 @@ function populate_options() {
$timezone_string = ''; $timezone_string = '';
$gmt_offset = 0; $gmt_offset = 0;
/* translators: default GMT offset or timezone string. Must be either a valid offset (-12 to 14) /* 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. for all timezone strings supported by PHP.
*/ */
$offset_or_tz = _x( '0', 'default GMT offset or timezone string' ); $offset_or_tz = _x( '0', 'default GMT offset or timezone string' );
@ -415,11 +415,11 @@ function populate_options() {
'default_ping_status' => 'open', 'default_ping_status' => 'open',
'default_pingback_flag' => 1, 'default_pingback_flag' => 1,
'posts_per_page' => 10, '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'), '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'), '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'), 'links_updated_date_format' => __('F j, Y g:i a'),
'comment_moderation' => 0, 'comment_moderation' => 0,
'moderation_notify' => 1, 'moderation_notify' => 1,

View File

@ -195,13 +195,13 @@ $show_avatars = get_option( 'show_avatars' );
<?php <?php
$ratings = array( $ratings = array(
/* 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 */
'G' => __('G &#8212; Suitable for all audiences'), 'G' => __('G &#8212; 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 &#8212; Possibly offensive, usually for audiences 13 and above'), 'PG' => __('PG &#8212; 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 &#8212; Intended for adult audiences above 17'), 'R' => __('R &#8212; 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 &#8212; Even more mature than above') 'X' => __('X &#8212; Even more mature than above')
); );
foreach ($ratings as $key => $rating) : foreach ($ratings as $key => $rating) :

View File

@ -17,7 +17,7 @@ if ( ! current_user_can( 'manage_options' ) )
$title = __('General Settings'); $title = __('General Settings');
$parent_file = 'options-general.php'; $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'); $timezone_format = _x('Y-m-d H:i:s', 'timezone date format');
add_action('admin_head', 'options_general_add_js'); add_action('admin_head', 'options_general_add_js');

View File

@ -112,7 +112,7 @@ case 'update':
$newcontent = wp_unslash( $_POST['newcontent'] ); $newcontent = wp_unslash( $_POST['newcontent'] );
$location = 'theme-editor.php?file=' . urlencode( $relative_file ) . '&theme=' . urlencode( $stylesheet ) . '&scrollto=' . $scrollto; $location = 'theme-editor.php?file=' . urlencode( $relative_file ) . '&theme=' . urlencode( $stylesheet ) . '&scrollto=' . $scrollto;
if ( is_writeable( $file ) ) { 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+' ); $f = fopen( $file, 'w+' );
if ( $f !== false ) { if ( $f !== false ) {
fwrite( $f, $newcontent ); fwrite( $f, $newcontent );

View File

@ -2,14 +2,14 @@
/** /**
* Exception for 418 I'm A Teapot responses * Exception for 418 I'm A Teapot responses
* *
* @see http://tools.ietf.org/html/rfc2324 * @see https://tools.ietf.org/html/rfc2324
* @package Requests * @package Requests
*/ */
/** /**
* Exception for 418 I'm A Teapot responses * Exception for 418 I'm A Teapot responses
* *
* @see http://tools.ietf.org/html/rfc2324 * @see https://tools.ietf.org/html/rfc2324
* @package Requests * @package Requests
*/ */
class Requests_Exception_HTTP_418 extends Requests_Exception_HTTP { class Requests_Exception_HTTP_418 extends Requests_Exception_HTTP {

View File

@ -2,14 +2,14 @@
/** /**
* Exception for 428 Precondition Required responses * Exception for 428 Precondition Required responses
* *
* @see http://tools.ietf.org/html/rfc6585 * @see https://tools.ietf.org/html/rfc6585
* @package Requests * @package Requests
*/ */
/** /**
* Exception for 428 Precondition Required responses * Exception for 428 Precondition Required responses
* *
* @see http://tools.ietf.org/html/rfc6585 * @see https://tools.ietf.org/html/rfc6585
* @package Requests * @package Requests
*/ */
class Requests_Exception_HTTP_428 extends Requests_Exception_HTTP { class Requests_Exception_HTTP_428 extends Requests_Exception_HTTP {

View File

@ -2,14 +2,14 @@
/** /**
* Exception for 429 Too Many Requests responses * 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 * @package Requests
*/ */
/** /**
* Exception for 429 Too Many Requests responses * 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 * @package Requests
*/ */
class Requests_Exception_HTTP_429 extends Requests_Exception_HTTP { class Requests_Exception_HTTP_429 extends Requests_Exception_HTTP {

View File

@ -2,14 +2,14 @@
/** /**
* Exception for 431 Request Header Fields Too Large responses * 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 * @package Requests
*/ */
/** /**
* Exception for 431 Request Header Fields Too Large responses * 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 * @package Requests
*/ */
class Requests_Exception_HTTP_431 extends Requests_Exception_HTTP { class Requests_Exception_HTTP_431 extends Requests_Exception_HTTP {

View File

@ -2,14 +2,14 @@
/** /**
* Exception for 511 Network Authentication Required responses * Exception for 511 Network Authentication Required responses
* *
* @see http://tools.ietf.org/html/rfc6585 * @see https://tools.ietf.org/html/rfc6585
* @package Requests * @package Requests
*/ */
/** /**
* Exception for 511 Network Authentication Required responses * Exception for 511 Network Authentication Required responses
* *
* @see http://tools.ietf.org/html/rfc6585 * @see https://tools.ietf.org/html/rfc6585
* @package Requests * @package Requests
*/ */
class Requests_Exception_HTTP_511 extends Requests_Exception_HTTP { class Requests_Exception_HTTP_511 extends Requests_Exception_HTTP {

View File

@ -7,14 +7,14 @@
* *
* @package Requests * @package Requests
* @subpackage Utilities * @subpackage Utilities
* @see http://tools.ietf.org/html/rfc3490 IDNA specification * @see https://tools.ietf.org/html/rfc3490 IDNA specification
* @see http://tools.ietf.org/html/rfc3492 Punycode/Bootstrap specification * @see https://tools.ietf.org/html/rfc3492 Punycode/Bootstrap specification
*/ */
class Requests_IDNAEncoder { class Requests_IDNAEncoder {
/** /**
* ACE prefix used for IDNA * 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 * @var string
*/ */
const ACE_PREFIX = 'xn--'; const ACE_PREFIX = 'xn--';
@ -22,7 +22,7 @@ class Requests_IDNAEncoder {
/**#@+ /**#@+
* Bootstrap constant for Punycode * Bootstrap constant for Punycode
* *
* @see http://tools.ietf.org/html/rfc3492#section-5 * @see https://tools.ietf.org/html/rfc3492#section-5
* @var int * @var int
*/ */
const BOOTSTRAP_BASE = 36; const BOOTSTRAP_BASE = 36;
@ -333,7 +333,7 @@ class Requests_IDNAEncoder {
/** /**
* Convert a digit to its respective character * 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`) * @throws Requests_Exception On invalid digit (`idna.invalid_digit`)
* *
* @param int $digit Digit in the range 0-35 * @param int $digit Digit in the range 0-35
@ -353,7 +353,7 @@ class Requests_IDNAEncoder {
/** /**
* Adapt the bias * 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 $delta
* @param int $numpoints * @param int $numpoints
* @param bool $firsttime * @param bool $firsttime

View File

@ -22,7 +22,7 @@ class Requests_SSL {
* names, leading things like 'https://www.github.com/' to be invalid. * names, leading things like 'https://www.github.com/' to be invalid.
* Instead * 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`) * @throws Requests_Exception On not obtaining a match for the host (`fsockopen.ssl.no_match`)
* @param string $host Host name to verify against * @param string $host Host name to verify against

View File

@ -175,7 +175,7 @@ class Requests_Session {
* Note: Unlike {@see post} and {@see put}, `$headers` is required, as the * Note: Unlike {@see post} and {@see put}, `$headers` is required, as the
* specification recommends that should send an ETag * 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()) { public function patch($url, $headers, $data = array(), $options = array()) {
return $this->request($url, $headers, $data, Requests::PATCH, $options); return $this->request($url, $headers, $data, Requests::PATCH, $options);

View File

@ -33,7 +33,7 @@ class Requests_Transport_cURL implements Requests_Transport {
/** /**
* Information on the current request * 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; public $info;
@ -481,7 +481,7 @@ class Requests_Transport_cURL implements Requests_Transport {
* Format a URL given GET data * Format a URL given GET data
* *
* @param string $url * @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 * @return string URL with data
*/ */
protected static function format_get($url, $data) { protected static function format_get($url, $data) {

View File

@ -30,7 +30,7 @@ class Requests_Transport_fsockopen implements Requests_Transport {
/** /**
* Stream metadata * 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; public $info;
@ -341,7 +341,7 @@ class Requests_Transport_fsockopen implements Requests_Transport {
* Format a URL given GET data * Format a URL given GET data
* *
* @param array $url_parts * @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 * @return string URL with data
*/ */
protected static function format_get($url_parts, $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. * names, leading things like 'https://www.github.com/' to be invalid.
* Instead * 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 failure to connect via TLS (`fsockopen.ssl.connect_error`)
* @throws Requests_Exception On not obtaining a match for the host (`fsockopen.ssl.no_match`) * @throws Requests_Exception On not obtaining a match for the host (`fsockopen.ssl.no_match`)

View File

@ -700,7 +700,7 @@ class WP_Http {
* *
* Based off the HTTP http_encoding_dechunk function. * 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 * @access public
* @since 2.7.0 * @since 2.7.0

View File

@ -71,7 +71,7 @@ class Requests {
/** /**
* PATCH method * PATCH method
* *
* @link http://tools.ietf.org/html/rfc5789 * @link https://tools.ietf.org/html/rfc5789
* @var string * @var string
*/ */
const PATCH = 'PATCH'; const PATCH = 'PATCH';
@ -287,7 +287,7 @@ class Requests {
* Note: Unlike {@see post} and {@see put}, `$headers` is required, as the * Note: Unlike {@see post} and {@see put}, `$headers` is required, as the
* specification recommends that should send an ETag * 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()) { public static function patch($url, $headers, $data = array(), $options = array()) {
return self::request($url, $headers, $data, self::PATCH, $options); return self::request($url, $headers, $data, self::PATCH, $options);
@ -742,7 +742,7 @@ class Requests {
/** /**
* Decoded a chunked body as per RFC 2616 * 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 * @param string $data Chunked body
* @return string Decoded body * @return string Decoded body
*/ */
@ -848,12 +848,12 @@ class Requests {
* Warning: Magic numbers within. Due to the potential different formats that the compressed * 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 * 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: * 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 * @since 2.8.1
* @link http://core.trac.wordpress.org/ticket/18273 * @link https://core.trac.wordpress.org/ticket/18273
* @link http://au2.php.net/manual/en/function.gzinflate.php#70875 * @link https://secure.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#77336
* *
* @param string $gzData String to decompress. * @param string $gzData String to decompress.
* @return string|bool False on failure. * @return string|bool False on failure.
@ -891,7 +891,7 @@ class Requests {
// java.util.zip.Deflater, Rubys Zlib::Deflate, and .NET's // java.util.zip.Deflater, Rubys Zlib::Deflate, and .NET's
// System.IO.Compression.DeflateStream. // 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 // data type
$huffman_encoded = false; $huffman_encoded = false;

View File

@ -88,8 +88,8 @@ class WP_Http_Encoding {
* *
* @since 2.8.1 * @since 2.8.1
* @link https://core.trac.wordpress.org/ticket/18273 * @link https://core.trac.wordpress.org/ticket/18273
* @link http://au2.php.net/manual/en/function.gzinflate.php#70875 * @link https://secure.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#77336
* *
* @static * @static
* *

View File

@ -1152,7 +1152,7 @@ class wp_xmlrpc_server extends IXR_Server {
* *
* @since 3.4.0 * @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 { * @param array $args {
* Method arguments. Note: top-level arguments must be ordered as documented. * 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. /* 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/
*/ */
/** /**

View File

@ -2543,7 +2543,7 @@ function pingback_ping_source_uri( $source_uri ) {
* which reports that the pingback is already registered. * which reports that the pingback is already registered.
* *
* @since 3.5.1 * @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 * @param IXR_Error $ixr_error
* @return IXR_Error * @return IXR_Error

View File

@ -421,7 +421,7 @@ if ( ! interface_exists( 'JsonSerializable' ) ) {
* *
* Compatibility shim for PHP <5.4 * Compatibility shim for PHP <5.4
* *
* @link http://php.net/jsonserializable * @link https://secure.php.net/jsonserializable
* *
* @since 4.4.0 * @since 4.4.0
*/ */

View File

@ -98,7 +98,7 @@ function wp_initial_constants() {
* For example, MONTH_IN_SECONDS wrongly assumes every month has 30 days and * For example, MONTH_IN_SECONDS wrongly assumes every month has 30 days and
* YEAR_IN_SECONDS does not take leap years into account. * 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 3.5.0
* @since 4.4.0 Introduced `MONTH_IN_SECONDS`. * @since 4.4.0 Introduced `MONTH_IN_SECONDS`.

View File

@ -2818,7 +2818,7 @@ function is_blog_user( $blog_id = 0 ) {
* @deprecated 3.4.0 Use error_log() * @deprecated 3.4.0 Use error_log()
* @see 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 $filename File name.
* @param string $mode Type of access you required to the stream. * @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() * @deprecated 3.4.0 Use error_log()
* @see 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 mixed $fp Unused.
* @param string $string Message to log. * @param string $string Message to log.
@ -2854,7 +2854,7 @@ function debug_fwrite( $fp, $string ) {
* @deprecated 3.4.0 Use error_log() * @deprecated 3.4.0 Use error_log()
* @see 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 mixed $fp Unused.
*/ */

View File

@ -91,7 +91,7 @@ if ( have_comments() ) : while ( have_comments() ) : the_comment();
<?php else : // post pass ?> <?php else : // post pass ?>
<content type="html" xml:base="<?php comment_link(); ?>"><![CDATA[<?php comment_text(); ?>]]></content> <content type="html" xml:base="<?php comment_link(); ?>"><![CDATA[<?php comment_text(); ?>]]></content>
<?php endif; // post pass <?php endif; // post pass
// Return comment threading information (http://www.ietf.org/rfc/rfc4685.txt) // Return comment threading information (https://www.ietf.org/rfc/rfc4685.txt)
if ( $comment->comment_parent == 0 ) : // This comment is top level ?> if ( $comment->comment_parent == 0 ) : // This comment is top level ?>
<thr:in-reply-to ref="<?php the_guid(); ?>" href="<?php the_permalink_rss() ?>" type="<?php bloginfo_rss('html_type'); ?>" /> <thr:in-reply-to ref="<?php the_guid(); ?>" href="<?php the_permalink_rss() ?>" type="<?php bloginfo_rss('html_type'); ?>" />
<?php else : // This comment is in reply to another comment <?php else : // This comment is in reply to another comment

View File

@ -2361,7 +2361,7 @@ function untrailingslashit( $string ) {
* Adds slashes to escape strings. * Adds slashes to escape strings.
* *
* Slashes will first be removed if magic_quotes_gpc is set, see {@link * Slashes will first be removed if magic_quotes_gpc is set, see {@link
* http://www.php.net/magic_quotes} for more details. * https://secure.php.net/magic_quotes} for more details.
* *
* @since 0.71 * @since 0.71
* *
@ -3035,7 +3035,7 @@ function iso8601_timezone_to_offset( $timezone ) {
* *
* @since 1.5.0 * @since 1.5.0
* *
* @param string $date_string Date and time in ISO 8601 format {@link http://en.wikipedia.org/wiki/ISO_8601}. * @param string $date_string Date and time in ISO 8601 format {@link https://en.wikipedia.org/wiki/ISO_8601}.
* @param string $timezone Optional. If set to GMT returns the time minus gmt_offset. Default is 'user'. * @param string $timezone Optional. If set to GMT returns the time minus gmt_offset. Default is 'user'.
* @return string The date and time in MySQL DateTime format - Y-m-d H:i:s. * @return string The date and time in MySQL DateTime format - Y-m-d H:i:s.
*/ */
@ -3832,7 +3832,7 @@ function esc_url_raw( $url, $protocols = null ) {
/** /**
* Convert entities, while preserving already-encoded entities. * Convert entities, while preserving already-encoded entities.
* *
* @link http://www.php.net/htmlentities Borrowed from the PHP Manual user notes. * @link https://secure.php.net/htmlentities Borrowed from the PHP Manual user notes.
* *
* @since 1.2.2 * @since 1.2.2
* *
@ -4274,8 +4274,8 @@ function map_deep( $value, $callback ) {
/** /**
* Parses a string into variables to be stored in an array. * Parses a string into variables to be stored in an array.
* *
* Uses {@link http://www.php.net/parse_str parse_str()} and stripslashes if * Uses {@link https://secure.php.net/parse_str parse_str()} and stripslashes if
* {@link http://www.php.net/magic_quotes magic_quotes_gpc} is on. * {@link https://secure.php.net/magic_quotes magic_quotes_gpc} is on.
* *
* @since 2.2.1 * @since 2.2.1
* *
@ -4328,7 +4328,7 @@ function wp_pre_kses_less_than_callback( $matches ) {
* WordPress implementation of PHP sprintf() with filters. * WordPress implementation of PHP sprintf() with filters.
* *
* @since 2.5.0 * @since 2.5.0
* @link http://www.php.net/sprintf * @link https://secure.php.net/sprintf
* *
* @param string $pattern The string which formatted args are inserted. * @param string $pattern The string which formatted args are inserted.
* @param mixed $args ,... Arguments to be formatted into the $pattern string. * @param mixed $args ,... Arguments to be formatted into the $pattern string.

View File

@ -675,7 +675,7 @@ function is_new_day() {
* @since 2.3.0 * @since 2.3.0
* *
* @see _http_build_query() Used to build the query * @see _http_build_query() Used to build the query
* @link http://us2.php.net/manual/en/function.http-build-query.php for more on what * @link https://secure.php.net/manual/en/function.http-build-query.php for more on what
* http_build_query() does. * http_build_query() does.
* *
* @param array $data URL-encode key/value pairs. * @param array $data URL-encode key/value pairs.
@ -691,7 +691,7 @@ function build_query( $data ) {
* @since 3.2.0 * @since 3.2.0
* @access private * @access private
* *
* @see http://us1.php.net/manual/en/function.http-build-query.php * @see https://secure.php.net/manual/en/function.http-build-query.php
* *
* @param array|object $data An array or object of data. Converted to array. * @param array|object $data An array or object of data. Converted to array.
* @param string $prefix Optional. Numeric index. If set, start parameter numbering with it. * @param string $prefix Optional. Numeric index. If set, start parameter numbering with it.
@ -1779,8 +1779,8 @@ function wp_is_writable( $path ) {
* *
* @since 2.8.0 * @since 2.8.0
* *
* @see http://bugs.php.net/bug.php?id=27609 * @see https://bugs.php.net/bug.php?id=27609
* @see http://bugs.php.net/bug.php?id=30931 * @see https://bugs.php.net/bug.php?id=30931
* *
* @param string $path Windows path to check for write-ability. * @param string $path Windows path to check for write-ability.
* @return bool Whether the path is writable. * @return bool Whether the path is writable.
@ -4731,8 +4731,8 @@ function __return_empty_string() {
* *
* @since 3.0.0 * @since 3.0.0
* *
* @see http://blogs.msdn.com/ie/archive/2008/07/02/ie8-security-part-v-comprehensive-protection.aspx * @see https://blogs.msdn.com/ie/archive/2008/07/02/ie8-security-part-v-comprehensive-protection.aspx
* @see http://src.chromium.org/viewvc/chrome?view=rev&revision=6985 * @see https://src.chromium.org/viewvc/chrome?view=rev&revision=6985
*/ */
function send_nosniff_header() { function send_nosniff_header() {
@header( 'X-Content-Type-Options: nosniff' ); @header( 'X-Content-Type-Options: nosniff' );

View File

@ -100,7 +100,7 @@ function wp_add_inline_style( $handle, $data ) {
* Register a CSS stylesheet. * Register a CSS stylesheet.
* *
* @see WP_Dependencies::add() * @see WP_Dependencies::add()
* @link http://www.w3.org/TR/CSS2/media.html#media-types List of CSS media types. * @link https://www.w3.org/TR/CSS2/media.html#media-types List of CSS media types.
* *
* @since 2.6.0 * @since 2.6.0
* @since 4.3.0 A return value was added. * @since 4.3.0 A return value was added.
@ -145,7 +145,7 @@ function wp_deregister_style( $handle ) {
* *
* @see WP_Dependencies::add() * @see WP_Dependencies::add()
* @see WP_Dependencies::enqueue() * @see WP_Dependencies::enqueue()
* @link http://www.w3.org/TR/CSS2/media.html#media-types List of CSS media types. * @link https://www.w3.org/TR/CSS2/media.html#media-types List of CSS media types.
* *
* @since 2.6.0 * @since 2.6.0
* *

View File

@ -2689,7 +2689,7 @@ function rsd_link() {
/** /**
* Display the link to the Windows Live Writer manifest file. * Display the link to the Windows Live Writer manifest file.
* *
* @link http://msdn.microsoft.com/en-us/library/bb463265.aspx * @link https://msdn.microsoft.com/en-us/library/bb463265.aspx
* @since 2.3.1 * @since 2.3.1
*/ */
function wlwmanifest_link() { function wlwmanifest_link() {
@ -2735,7 +2735,7 @@ function wp_no_robots() {
* *
* @since 4.3.0 * @since 4.3.0
* *
* @link http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#rel-icon HTML5 specification link icon. * @link https://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#rel-icon HTML5 specification link icon.
*/ */
function wp_site_icon() { function wp_site_icon() {
if ( ! has_site_icon() && ! is_customize_preview() ) { if ( ! has_site_icon() && ! is_customize_preview() ) {

View File

@ -184,9 +184,9 @@ class WP_Locale {
$this->meridiem['PM'] = __('PM'); $this->meridiem['PM'] = __('PM');
// Numbers formatting // 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' ); $thousands_sep = __( 'number_format_thousands_sep' );
if ( version_compare( PHP_VERSION, '5.4', '>=' ) ) { 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; $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' ); $decimal_point = __( 'number_format_decimal_point' );
$this->number_format['decimal_point'] = ( 'number_format_decimal_point' === $decimal_point ) ? '.' : $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 * @since 3.6.0
*/ */
public function _strings_for_pot() { 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' ); __( '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' ); __( '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' ); __( 'F j, Y g:i a' );
} }
} }

View File

@ -8,7 +8,7 @@
* To hook methods, you'll need to pass an array one of two ways. * 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 * 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. * type are valid.
* *
* Also see the {@link https://codex.wordpress.org/Plugin_API Plugin API} for * Also see the {@link https://codex.wordpress.org/Plugin_API Plugin API} for

View File

@ -1622,7 +1622,7 @@ function wp_post_revision_title( $revision, $link = true ) {
if ( !in_array( $revision->post_type, array( 'post', 'page', 'revision' ) ) ) if ( !in_array( $revision->post_type, array( 'post', 'page', 'revision' ) ) )
return false; 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' ); $datef = _x( 'F j, Y @ H:i:s', 'revision date format' );
/* translators: 1: date */ /* translators: 1: date */
$autosavef = _x( '%1$s [Autosave]', 'post revision title extra' ); $autosavef = _x( '%1$s [Autosave]', 'post revision title extra' );
@ -1658,7 +1658,7 @@ function wp_post_revision_title_expanded( $revision, $link = true ) {
return false; return false;
$author = get_the_author_meta( 'display_name', $revision->post_author ); $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' ); $datef = _x( 'F j, Y @ H:i:s', 'revision date format' );
$gravatar = get_avatar( $revision->post_author, 24 ); $gravatar = get_avatar( $revision->post_author, 24 );

View File

@ -183,7 +183,7 @@ class WP_REST_Request implements ArrayAccess {
* *
* @link http://stackoverflow.com/q/18185366 * @link http://stackoverflow.com/q/18185366
* @link http://wiki.nginx.org/Pitfalls#Missing_.28disappearing.29_HTTP_headers * @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 * @since 4.4.0
* @access public * @access public

View File

@ -51,8 +51,8 @@ class WP_REST_Response extends WP_HTTP_Response {
* @since 4.4.0 * @since 4.4.0
* @access public * @access public
* *
* @link http://tools.ietf.org/html/rfc5988 * @link https://tools.ietf.org/html/rfc5988
* @link http://www.iana.org/assignments/link-relations/link-relations.xml * @link https://www.iana.org/assignments/link-relations/link-relations.xml
* *
* @param string $rel Link relation. Either an IANA registered type, * @param string $rel Link relation. Either an IANA registered type,
* or an absolute URL. * or an absolute URL.
@ -147,8 +147,8 @@ class WP_REST_Response extends WP_HTTP_Response {
* @since 4.4.0 * @since 4.4.0
* @access public * @access public
* *
* @link http://tools.ietf.org/html/rfc5988 * @link https://tools.ietf.org/html/rfc5988
* @link http://www.iana.org/assignments/link-relations/link-relations.xml * @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 $rel Link relation. Either an IANA registered type, or an absolute URL.
* @param string $link Target IRI for the link. * @param string $link Target IRI for the link.

View File

@ -230,7 +230,7 @@ class WP_REST_Server {
/* /*
* Mitigate possible JSONP Flash attacks. * 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( 'X-Content-Type-Options', 'nosniff' );
$this->send_header( 'Access-Control-Expose-Headers', 'X-WP-Total, X-WP-TotalPages' ); $this->send_header( 'Access-Control-Expose-Headers', 'X-WP-Total, X-WP-TotalPages' );
@ -389,7 +389,7 @@ class WP_REST_Server {
if ( $jsonp_callback ) { if ( $jsonp_callback ) {
// Prepend '/**/' to mitigate possible JSONP Flash attacks // 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 . ')'; echo '/**/' . $jsonp_callback . '(' . $result . ')';
} else { } else {
echo $result; echo $result;

View File

@ -63,12 +63,12 @@ class MagpieRSS {
# if PHP xml isn't compiled in, die # if PHP xml isn't compiled in, die
# #
if ( !function_exists('xml_parser_create') ) 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(); $parser = @xml_parser_create();
if ( !is_resource($parser) ) 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; $this->parser = $parser;

View File

@ -842,7 +842,7 @@ function get_theme_mods() {
* Retrieve theme modification value for the current theme. * Retrieve theme modification value for the current theme.
* *
* If the modification name does not exist, then the $default will be passed * 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 * string the template directory URI and the second string the stylesheet
* directory URI. * directory URI.
* *

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.6-alpha-37673'; $wp_version = '4.6-alpha-37674';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

View File

@ -1254,22 +1254,22 @@ class wpdb {
* Does not support sign, padding, alignment, width or precision specifiers. * Does not support sign, padding, alignment, width or precision specifiers.
* Does not support argument numbering/swapping. * 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. * 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 * FROM `table` WHERE `column` = %s AND `field` = %d", 'foo', 1337 )
* wpdb::prepare( "SELECT DATE_FORMAT(`field`, '%%c') FROM `table` WHERE `column` = %s", 'foo' ); * 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 * @since 2.3.0
* *
* @param string $query Query statement with sprintf()-like placeholders * @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 * @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 * {@link https://secure.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()}. * 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 * @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. * @return string|void Sanitized query string, if there is a query to prepare.
*/ */
public function prepare( $query, $args ) { public function prepare( $query, $args ) {