Docs: Update links to https://secure.php.net/, they now redirect to https://www.php.net/.

See #48303.
Built from https://develop.svn.wordpress.org/trunk@47088


git-svn-id: http://core.svn.wordpress.org/trunk@46888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-01-20 03:14:06 +00:00
parent f9b0dfbb8b
commit 2900bb8ea7
30 changed files with 74 additions and 74 deletions

View File

@ -207,9 +207,9 @@ switch ( $action ) {
$submitted = sprintf( $submitted = sprintf(
/* translators: 1: Comment date, 2: Comment time. */ /* translators: 1: Comment date, 2: Comment time. */
__( '%1$s at %2$s' ), __( '%1$s at %2$s' ),
/* translators: Comment date format. See https://secure.php.net/date */ /* translators: Comment date format. See https://www.php.net/date */
get_comment_date( __( 'Y/m/d' ), $comment ), get_comment_date( __( 'Y/m/d' ), $comment ),
/* translators: Comment time format. See https://secure.php.net/date */ /* translators: Comment time format. See https://www.php.net/date */
get_comment_date( __( 'g:i a' ), $comment ) get_comment_date( __( 'g:i a' ), $comment )
); );
if ( 'approved' === wp_get_comment_status( $comment ) && ! empty( $comment->comment_post_ID ) ) { if ( 'approved' === wp_get_comment_status( $comment ) && ! empty( $comment->comment_post_ID ) ) {

View File

@ -169,9 +169,9 @@ if ( $viewable ) {
$scheduled_date = sprintf( $scheduled_date = sprintf(
/* translators: Publish box date string. 1: Date, 2: Time. */ /* translators: Publish box date string. 1: Date, 2: Time. */
__( '%1$s at %2$s' ), __( '%1$s at %2$s' ),
/* translators: Publish box date format, see https://secure.php.net/date */ /* translators: Publish box date format, see https://www.php.net/date */
date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $post->post_date ) ), date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $post->post_date ) ),
/* translators: Publish box time format, see https://secure.php.net/date */ /* translators: Publish box time format, see https://www.php.net/date */
date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $post->post_date ) ) date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $post->post_date ) )
); );

View File

@ -106,9 +106,9 @@ if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_
$submitted = sprintf( $submitted = sprintf(
/* translators: 1: Comment date, 2: Comment time. */ /* translators: 1: Comment date, 2: Comment time. */
__( '%1$s at %2$s' ), __( '%1$s at %2$s' ),
/* translators: Publish box date format, see https://secure.php.net/date */ /* translators: Publish box date format, see https://www.php.net/date */
date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $comment->comment_date ) ), date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $comment->comment_date ) ),
/* translators: Publish box time format, see https://secure.php.net/date */ /* translators: Publish box time format, see https://www.php.net/date */
date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $comment->comment_date ) ) date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $comment->comment_date ) )
); );
?> ?>

View File

@ -2197,7 +2197,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 https://secure.php.net/date */ /* translators: Date format in table columns, see https://www.php.net/date */
$time = mysql2date( __( 'Y/m/d' ), $post->post_date ); $time = mysql2date( __( 'Y/m/d' ), $post->post_date );
} }

View File

@ -872,9 +872,9 @@ class WP_Comments_List_Table extends WP_List_Table {
$submitted = sprintf( $submitted = sprintf(
/* translators: 1: Comment date, 2: Comment time. */ /* translators: 1: Comment date, 2: Comment time. */
__( '%1$s at %2$s' ), __( '%1$s at %2$s' ),
/* translators: Comment date format. See https://secure.php.net/date */ /* translators: Comment date format. See https://www.php.net/date */
get_comment_date( __( 'Y/m/d' ), $comment ), get_comment_date( __( 'Y/m/d' ), $comment ),
/* translators: Comment time format. See https://secure.php.net/date */ /* translators: Comment time format. See https://www.php.net/date */
get_comment_date( __( 'g:i a' ), $comment ) get_comment_date( __( 'g:i a' ), $comment )
); );

View File

@ -375,7 +375,7 @@ class WP_Community_Events {
* so that users can tell at a glance if the event is on a day they * so that users can tell at a glance if the event is on a day they
* are available, without having to open the link. * are available, without having to open the link.
*/ */
/* translators: Date format for upcoming events on the dashboard. Include the day of the week. See https://secure.php.net/date */ /* translators: Date format for upcoming events on the dashboard. Include the day of the week. See https://www.php.net/date */
$response_body['events'][ $key ]['formatted_date'] = date_i18n( __( 'l, M j, Y' ), $timestamp ); $response_body['events'][ $key ]['formatted_date'] = date_i18n( __( 'l, M j, Y' ), $timestamp );
$response_body['events'][ $key ]['formatted_time'] = date_i18n( get_option( 'time_format' ), $timestamp ); $response_body['events'][ $key ]['formatted_time'] = date_i18n( get_option( 'time_format' ), $timestamp );
} }

View File

@ -319,7 +319,7 @@ class WP_Filesystem_Base {
* *
* From the PHP documentation page for fileperms(). * From the PHP documentation page for fileperms().
* *
* @link https://secure.php.net/manual/en/function.fileperms.php * @link https://www.php.net/manual/en/function.fileperms.php
* *
* @since 2.5.0 * @since 2.5.0
* *
@ -387,7 +387,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 https://secure.php.net/manual/en/function.chmod.php#49614 * @link https://www.php.net/manual/en/function.chmod.php#49614
* *
* @since 2.5.0 * @since 2.5.0
* *

View File

@ -950,10 +950,10 @@ function wp_dashboard_recent_posts( $args ) {
} elseif ( gmdate( 'Y-m-d', $time ) == $tomorrow ) { } elseif ( gmdate( 'Y-m-d', $time ) == $tomorrow ) {
$relative = __( 'Tomorrow' ); $relative = __( 'Tomorrow' );
} elseif ( gmdate( 'Y', $time ) !== $year ) { } elseif ( gmdate( 'Y', $time ) !== $year ) {
/* translators: Date and time format for recent posts on the dashboard, from a different calendar year, see https://secure.php.net/date */ /* translators: Date and time format for recent posts on the dashboard, from a different calendar year, see https://www.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 https://secure.php.net/date */ /* translators: Date and time format for recent posts on the dashboard, see https://www.php.net/date */
$relative = date_i18n( __( 'M jS' ), $time ); $relative = date_i18n( __( 'M jS' ), $time );
} }

View File

@ -194,11 +194,11 @@ function post_submit_meta_box( $post, $args = array() ) {
</div><!-- .misc-pub-section --> </div><!-- .misc-pub-section -->
<?php <?php
/* translators: Publish box date string. 1: Date, 2: Time. See https://secure.php.net/date */ /* translators: Publish box date string. 1: Date, 2: Time. See https://www.php.net/date */
$date_string = __( '%1$s at %2$s' ); $date_string = __( '%1$s at %2$s' );
/* translators: Publish box date format, see https://secure.php.net/date */ /* translators: Publish box date format, see https://www.php.net/date */
$date_format = _x( 'M j, Y', 'publish box date format' ); $date_format = _x( 'M j, Y', 'publish box date format' );
/* translators: Publish box time format, see https://secure.php.net/date */ /* translators: Publish box time format, see https://www.php.net/date */
$time_format = _x( 'H:i', 'publish box time format' ); $time_format = _x( 'H:i', 'publish box time format' );
if ( 0 != $post->ID ) { if ( 0 != $post->ID ) {
@ -382,11 +382,11 @@ function attachment_submit_meta_box( $post ) {
<span id="timestamp"> <span id="timestamp">
<?php <?php
$uploaded_on = sprintf( $uploaded_on = sprintf(
/* translators: Publish box date string. 1: Date, 2: Time. See https://secure.php.net/date */ /* translators: Publish box date string. 1: Date, 2: Time. See https://www.php.net/date */
__( '%1$s at %2$s' ), __( '%1$s at %2$s' ),
/* translators: Publish box date format, see https://secure.php.net/date */ /* translators: Publish box date format, see https://www.php.net/date */
date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $post->post_date ) ), date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $post->post_date ) ),
/* translators: Publish box time format, see https://secure.php.net/date */ /* translators: Publish box time format, see https://www.php.net/date */
date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $post->post_date ) ) date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $post->post_date ) )
); );
/* translators: Attachment information. %s: Date the attachment was uploaded. */ /* translators: Attachment information. %s: Date the attachment was uploaded. */

View File

@ -1195,7 +1195,7 @@ function heartbeat_autosave( $response, $data ) {
'message' => __( 'Error while saving.' ), 'message' => __( 'Error while saving.' ),
); );
} else { } else {
/* translators: Draft saved date format, see https://secure.php.net/date */ /* translators: Draft saved date format, see https://www.php.net/date */
$draft_saved_date_format = __( 'g:i:s a' ); $draft_saved_date_format = __( 'g:i:s a' );
$response['wp_autosave'] = array( $response['wp_autosave'] = array(
'success' => true, 'success' => true,

View File

@ -394,7 +394,7 @@ function populate_options( array $options = array() ) {
$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 https://secure.php.net/manual/en/timezones.php * or a valid timezone string (America/New_York). See https://www.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' ); // phpcs:ignore WordPress.WP.I18n.NoEmptyStrings $offset_or_tz = _x( '0', 'default GMT offset or timezone string' ); // phpcs:ignore WordPress.WP.I18n.NoEmptyStrings
@ -429,11 +429,11 @@ function populate_options( array $options = array() ) {
'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 https://secure.php.net/date */ /* translators: Default date format, see https://www.php.net/date */
'date_format' => __( 'F j, Y' ), 'date_format' => __( 'F j, Y' ),
/* translators: Default time format, see https://secure.php.net/date */ /* translators: Default time format, see https://www.php.net/date */
'time_format' => __( 'g:i a' ), 'time_format' => __( 'g:i a' ),
/* translators: Links last updated date format, see https://secure.php.net/date */ /* translators: Links last updated date format, see https://www.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

@ -18,7 +18,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 https://secure.php.net/date */ /* translators: Date and time format for exact current time, mainly about timezones, see https://www.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

@ -21,7 +21,7 @@
<p class="footer-copyright">&copy; <p class="footer-copyright">&copy;
<?php <?php
echo date_i18n( echo date_i18n(
/* translators: Copyright date format, see https://secure.php.net/date */ /* translators: Copyright date format, see https://www.php.net/date */
_x( 'Y', 'copyright date format', 'twentytwenty' ) _x( 'Y', 'copyright date format', 'twentytwenty' )
); );
?> ?>

View File

@ -390,7 +390,7 @@ final class WP_Hook implements Iterator, ArrayAccess {
* *
* @since 4.7.0 * @since 4.7.0
* *
* @link https://secure.php.net/manual/en/arrayaccess.offsetexists.php * @link https://www.php.net/manual/en/arrayaccess.offsetexists.php
* *
* @param mixed $offset An offset to check for. * @param mixed $offset An offset to check for.
* @return bool True if the offset exists, false otherwise. * @return bool True if the offset exists, false otherwise.
@ -404,7 +404,7 @@ final class WP_Hook implements Iterator, ArrayAccess {
* *
* @since 4.7.0 * @since 4.7.0
* *
* @link https://secure.php.net/manual/en/arrayaccess.offsetget.php * @link https://www.php.net/manual/en/arrayaccess.offsetget.php
* *
* @param mixed $offset The offset to retrieve. * @param mixed $offset The offset to retrieve.
* @return mixed If set, the value at the specified offset, null otherwise. * @return mixed If set, the value at the specified offset, null otherwise.
@ -418,7 +418,7 @@ final class WP_Hook implements Iterator, ArrayAccess {
* *
* @since 4.7.0 * @since 4.7.0
* *
* @link https://secure.php.net/manual/en/arrayaccess.offsetset.php * @link https://www.php.net/manual/en/arrayaccess.offsetset.php
* *
* @param mixed $offset The offset to assign the value to. * @param mixed $offset The offset to assign the value to.
* @param mixed $value The value to set. * @param mixed $value The value to set.
@ -436,7 +436,7 @@ final class WP_Hook implements Iterator, ArrayAccess {
* *
* @since 4.7.0 * @since 4.7.0
* *
* @link https://secure.php.net/manual/en/arrayaccess.offsetunset.php * @link https://www.php.net/manual/en/arrayaccess.offsetunset.php
* *
* @param mixed $offset The offset to unset. * @param mixed $offset The offset to unset.
*/ */
@ -449,7 +449,7 @@ final class WP_Hook implements Iterator, ArrayAccess {
* *
* @since 4.7.0 * @since 4.7.0
* *
* @link https://secure.php.net/manual/en/iterator.current.php * @link https://www.php.net/manual/en/iterator.current.php
* *
* @return array Of callbacks at current priority. * @return array Of callbacks at current priority.
*/ */
@ -462,7 +462,7 @@ final class WP_Hook implements Iterator, ArrayAccess {
* *
* @since 4.7.0 * @since 4.7.0
* *
* @link https://secure.php.net/manual/en/iterator.next.php * @link https://www.php.net/manual/en/iterator.next.php
* *
* @return array Of callbacks at next priority. * @return array Of callbacks at next priority.
*/ */
@ -475,7 +475,7 @@ final class WP_Hook implements Iterator, ArrayAccess {
* *
* @since 4.7.0 * @since 4.7.0
* *
* @link https://secure.php.net/manual/en/iterator.key.php * @link https://www.php.net/manual/en/iterator.key.php
* *
* @return mixed Returns current priority on success, or NULL on failure * @return mixed Returns current priority on success, or NULL on failure
*/ */
@ -488,7 +488,7 @@ final class WP_Hook implements Iterator, ArrayAccess {
* *
* @since 4.7.0 * @since 4.7.0
* *
* @link https://secure.php.net/manual/en/iterator.valid.php * @link https://www.php.net/manual/en/iterator.valid.php
* *
* @return boolean * @return boolean
*/ */
@ -501,7 +501,7 @@ final class WP_Hook implements Iterator, ArrayAccess {
* *
* @since 4.7.0 * @since 4.7.0
* *
* @link https://secure.php.net/manual/en/iterator.rewind.php * @link https://www.php.net/manual/en/iterator.rewind.php
*/ */
public function rewind() { public function rewind() {
reset( $this->callbacks ); reset( $this->callbacks );

View File

@ -92,8 +92,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 https://secure.php.net/manual/en/function.gzinflate.php#70875 * @link https://www.php.net/manual/en/function.gzinflate.php#70875
* @link https://secure.php.net/manual/en/function.gzinflate.php#77336 * @link https://www.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.

View File

@ -194,9 +194,9 @@ class WP_Locale {
$this->meridiem['PM'] = __( 'PM' ); $this->meridiem['PM'] = __( 'PM' );
// Numbers formatting // Numbers formatting
// See https://secure.php.net/number_format // See https://www.php.net/number_format
/* translators: $thousands_sep argument for https://secure.php.net/number_format, default is ',' */ /* translators: $thousands_sep argument for https://www.php.net/number_format, default is ',' */
$thousands_sep = __( 'number_format_thousands_sep' ); $thousands_sep = __( 'number_format_thousands_sep' );
// Replace space with a non-breaking space to avoid wrapping. // Replace space with a non-breaking space to avoid wrapping.
@ -204,7 +204,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 https://secure.php.net/number_format, default is '.' */ /* translators: $dec_point argument for https://www.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;
@ -359,11 +359,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 https://secure.php.net/date */ /* translators: Localized date format, see https://www.php.net/date */
__( 'F j, Y' ); __( 'F j, Y' );
/* translators: Localized time format, see https://secure.php.net/date */ /* translators: Localized time format, see https://www.php.net/date */
__( 'g:i a' ); __( 'g:i a' );
/* translators: Localized date and time format, see https://secure.php.net/date */ /* translators: Localized date and time format, see https://www.php.net/date */
__( 'F j, Y g:i a' ); __( 'F j, Y g:i a' );
} }
} }

View File

@ -384,7 +384,7 @@ function wp_unschedule_event( $timestamp, $hook, $args = array() ) {
* *
* Warning: This function may return Boolean FALSE, but may also return a non-Boolean * Warning: This function may return Boolean FALSE, but may also return a non-Boolean
* value which evaluates to FALSE. For information about casting to booleans see the * value which evaluates to FALSE. For information about casting to booleans see the
* {@link https://php.net/manual/en/language.types.boolean.php PHP documentation}. Use * {@link https://www.php.net/manual/en/language.types.boolean.php PHP documentation}. Use
* the `===` operator for testing the return value of this function. * the `===` operator for testing the return value of this function.
* *
* @since 2.1.0 * @since 2.1.0
@ -454,7 +454,7 @@ function wp_clear_scheduled_hook( $hook, $args = array() ) {
* *
* Warning: This function may return Boolean FALSE, but may also return a non-Boolean * Warning: This function may return Boolean FALSE, but may also return a non-Boolean
* value which evaluates to FALSE. For information about casting to booleans see the * value which evaluates to FALSE. For information about casting to booleans see the
* {@link https://php.net/manual/en/language.types.boolean.php PHP documentation}. Use * {@link https://www.php.net/manual/en/language.types.boolean.php PHP documentation}. Use
* the `===` operator for testing the return value of this function. * the `===` operator for testing the return value of this function.
* *
* @since 4.9.0 * @since 4.9.0
@ -733,7 +733,7 @@ function spawn_cron( $gmt_time = 0 ) {
* *
* Warning: This function may return Boolean FALSE, but may also return a non-Boolean * Warning: This function may return Boolean FALSE, but may also return a non-Boolean
* value which evaluates to FALSE. For information about casting to booleans see the * value which evaluates to FALSE. For information about casting to booleans see the
* {@link https://php.net/manual/en/language.types.boolean.php PHP documentation}. Use * {@link https://www.php.net/manual/en/language.types.boolean.php PHP documentation}. Use
* the `===` operator for testing the return value of this function. * the `===` operator for testing the return value of this function.
* *
* @since 2.1.0 * @since 2.1.0

View File

@ -126,7 +126,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 (https://secure.php.net/manual/en/class.datetime.php). * If you need more accuracy please consider using the DateTime class (https://www.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

@ -2828,7 +2828,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 https://secure.php.net/manual/en/function.error-log.php * @link https://www.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.
@ -2846,7 +2846,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 https://secure.php.net/manual/en/function.error-log.php * @link https://www.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.
@ -2864,7 +2864,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 https://secure.php.net/manual/en/function.error-log.php * @link https://www.php.net/manual/en/function.error-log.php
* *
* @param mixed $fp Unused. * @param mixed $fp Unused.
*/ */

View File

@ -2707,7 +2707,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
* https://secure.php.net/magic_quotes} for more details. * https://www.php.net/magic_quotes} for more details.
* *
* @since 0.71 * @since 0.71
* *
@ -4397,7 +4397,7 @@ function esc_url_raw( $url, $protocols = null ) {
/** /**
* Convert entities, while preserving already-encoded entities. * Convert entities, while preserving already-encoded entities.
* *
* @link https://secure.php.net/htmlentities Borrowed from the PHP Manual user notes. * @link https://www.php.net/htmlentities Borrowed from the PHP Manual user notes.
* *
* @since 1.2.2 * @since 1.2.2
* *
@ -4936,7 +4936,7 @@ function wp_pre_kses_block_attributes( $string, $allowed_html, $allowed_protocol
* @since 5.3.0 Formalized the existing and already documented `...$args` parameter * @since 5.3.0 Formalized the existing and already documented `...$args` parameter
* by adding it to the function signature. * by adding it to the function signature.
* *
* @link https://secure.php.net/sprintf * @link https://www.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

@ -977,7 +977,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 https://secure.php.net/manual/en/function.http-build-query.php for more on what * @link https://www.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.
@ -993,7 +993,7 @@ function build_query( $data ) {
* @since 3.2.0 * @since 3.2.0
* @access private * @access private
* *
* @see https://secure.php.net/manual/en/function.http-build-query.php * @see https://www.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.
@ -6385,7 +6385,7 @@ function wp_is_stream( $path ) {
* *
* @since 3.5.0 * @since 3.5.0
* *
* @link https://secure.php.net/manual/en/function.checkdate.php * @link https://www.php.net/manual/en/function.checkdate.php
* *
* @param int $month Month number. * @param int $month Month number.
* @param int $day Day number. * @param int $day Day number.

View File

@ -660,7 +660,7 @@ function ms_allowed_http_request_hosts( $is_external, $host ) {
* @since 4.4.0 * @since 4.4.0
* @since 4.7.0 The `$component` parameter was added for parity with PHP's `parse_url()`. * @since 4.7.0 The `$component` parameter was added for parity with PHP's `parse_url()`.
* *
* @link https://secure.php.net/manual/en/function.parse-url.php * @link https://www.php.net/manual/en/function.parse-url.php
* *
* @param string $url The URL to parse. * @param string $url The URL to parse.
* @param int $component The specific component to retrieve. Use one of the PHP * @param int $component The specific component to retrieve. Use one of the PHP
@ -707,7 +707,7 @@ function wp_parse_url( $url, $component = -1 ) {
* @since 4.7.0 * @since 4.7.0
* @access private * @access private
* *
* @link https://secure.php.net/manual/en/function.parse-url.php * @link https://www.php.net/manual/en/function.parse-url.php
* *
* @param array|false $url_parts The parsed URL. Can be false if the URL failed to parse. * @param array|false $url_parts The parsed URL. Can be false if the URL failed to parse.
* @param int $component The specific component to retrieve. Use one of the PHP * @param int $component The specific component to retrieve. Use one of the PHP
@ -739,7 +739,7 @@ function _get_component_from_parsed_url_array( $url_parts, $component = -1 ) {
* @since 4.7.0 * @since 4.7.0
* @access private * @access private
* *
* @link https://secure.php.net/manual/en/url.constants.php * @link https://www.php.net/manual/en/url.constants.php
* *
* @param int $constant PHP_URL_* constant. * @param int $constant PHP_URL_* constant.
* @return string|false The named key or false. * @return string|false The named key or false.

View File

@ -1280,8 +1280,8 @@ function is_ssl() {
* @since 2.3.0 * @since 2.3.0
* @since 4.6.0 Moved from media.php to load.php. * @since 4.6.0 Moved from media.php to load.php.
* *
* @link https://secure.php.net/manual/en/function.ini-get.php * @link https://www.php.net/manual/en/function.ini-get.php
* @link https://secure.php.net/manual/en/faq.using.php#faq.using.shorthandbytes * @link https://www.php.net/manual/en/faq.using.php#faq.using.shorthandbytes
* *
* @param string $value A (PHP ini) byte value, either shorthand or ordinary. * @param string $value A (PHP ini) byte value, either shorthand or ordinary.
* @return int An integer byte value. * @return int An integer byte value.
@ -1309,7 +1309,7 @@ function wp_convert_hr_to_bytes( $value ) {
* *
* @staticvar array $ini_all * @staticvar array $ini_all
* *
* @link https://secure.php.net/manual/en/function.ini-get-all.php * @link https://www.php.net/manual/en/function.ini-get-all.php
* *
* @param string $setting The name of the ini setting to check. * @param string $setting The name of the ini setting to check.
* @return bool True if the value is changeable at runtime. False otherwise. * @return bool True if the value is changeable at runtime. False otherwise.

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 https://secure.php.net/manual/en/language.pseudo-types.php#language.types.callback 'callback'} * {@link https://www.php.net/manual/en/language.pseudo-types.php#language.types.callback 'callback'}
* type are valid. * type are valid.
* *
* Also see the {@link https://developer.wordpress.org/plugins/ Plugin API} for * Also see the {@link https://developer.wordpress.org/plugins/ Plugin API} for

View File

@ -1813,7 +1813,7 @@ function wp_post_revision_title( $revision, $link = true ) {
return false; return false;
} }
/* translators: Revision date format, see https://secure.php.net/date */ /* translators: Revision date format, see https://www.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: %s: Revision date. */ /* translators: %s: Revision date. */
$autosavef = __( '%s [Autosave]' ); $autosavef = __( '%s [Autosave]' );
@ -1855,7 +1855,7 @@ function wp_post_revision_title_expanded( $revision, $link = true ) {
} }
$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 https://secure.php.net/date */ /* translators: Revision date format, see https://www.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

@ -24,7 +24,7 @@
* *
* @since 4.4.0 * @since 4.4.0
* *
* @link https://secure.php.net/manual/en/class.arrayaccess.php * @link https://www.php.net/manual/en/class.arrayaccess.php
*/ */
class WP_REST_Request implements ArrayAccess { class WP_REST_Request implements ArrayAccess {

View File

@ -390,13 +390,13 @@ function wp_default_packages_inline_scripts( &$scripts ) {
), ),
), ),
'formats' => array( 'formats' => array(
/* translators: Time format, see https://secure.php.net/date */ /* translators: Time format, see https://www.php.net/date */
'time' => get_option( 'time_format', __( 'g:i a' ) ), 'time' => get_option( 'time_format', __( 'g:i a' ) ),
/* translators: Date format, see https://secure.php.net/date */ /* translators: Date format, see https://www.php.net/date */
'date' => get_option( 'date_format', __( 'F j, Y' ) ), 'date' => get_option( 'date_format', __( 'F j, Y' ) ),
/* translators: Date/Time format, see https://secure.php.net/date */ /* translators: Date/Time format, see https://www.php.net/date */
'datetime' => __( 'F j, Y g:i a' ), 'datetime' => __( 'F j, Y g:i a' ),
/* translators: Abbreviated date/time format, see https://secure.php.net/date */ /* translators: Abbreviated date/time format, see https://www.php.net/date */
'datetimeAbbreviated' => __( 'M j, Y g:i a' ), 'datetimeAbbreviated' => __( 'M j, Y g:i a' ),
), ),
'timezone' => array( 'timezone' => array(

View File

@ -906,7 +906,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 https://secure.php.net/sprintf sprintf()} PHP function with * through {@link https://www.php.net/sprintf sprintf()} PHP function with
* the template directory URI as the first string and the stylesheet directory URI * the template directory URI as the first string and the stylesheet directory URI
* as the second string. * as the second string.
* *

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.4-alpha-47087'; $wp_version = '5.4-alpha-47088';
/** /**
* 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

@ -1283,7 +1283,7 @@ class wpdb {
* $wpdb->prepare( "SELECT * FROM `table` WHERE `column` = %s AND `field` = %d OR `other_field` LIKE %s", array( 'foo', 1337, '%bar' ) ); * $wpdb->prepare( "SELECT * FROM `table` WHERE `column` = %s AND `field` = %d OR `other_field` LIKE %s", array( 'foo', 1337, '%bar' ) );
* $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 https://secure.php.net/sprintf Description of syntax. * @link https://www.php.net/sprintf Description of syntax.
* @since 2.3.0 * @since 2.3.0
* @since 5.3.0 Formalized the existing and already documented `...$args` parameter * @since 5.3.0 Formalized the existing and already documented `...$args` parameter
* by updating the function signature. The second parameter was changed * by updating the function signature. The second parameter was changed