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

See #48303.

git-svn-id: https://develop.svn.wordpress.org/trunk@47088 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-01-20 03:12:12 +00:00
parent 88836de35c
commit a8f4ed69de
29 changed files with 73 additions and 73 deletions
+1 -1
View File
@@ -2197,7 +2197,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 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 );
}
@@ -872,9 +872,9 @@ class WP_Comments_List_Table extends WP_List_Table {
$submitted = sprintf(
/* translators: 1: Comment date, 2: Comment time. */
__( '%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 ),
/* 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 )
);
@@ -375,7 +375,7 @@ class WP_Community_Events {
* so that users can tell at a glance if the event is on a day they
* 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_time'] = date_i18n( get_option( 'time_format' ), $timestamp );
}
@@ -319,7 +319,7 @@ class WP_Filesystem_Base {
*
* 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
*
@@ -387,7 +387,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 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
*
+2 -2
View File
@@ -950,10 +950,10 @@ function wp_dashboard_recent_posts( $args ) {
} elseif ( gmdate( 'Y-m-d', $time ) == $tomorrow ) {
$relative = __( 'Tomorrow' );
} 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 );
} 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 );
}
+6 -6
View File
@@ -194,11 +194,11 @@ function post_submit_meta_box( $post, $args = array() ) {
</div><!-- .misc-pub-section -->
<?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' );
/* 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' );
/* 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' );
if ( 0 != $post->ID ) {
@@ -382,11 +382,11 @@ function attachment_submit_meta_box( $post ) {
<span id="timestamp">
<?php
$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' ),
/* 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 ) ),
/* 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 ) )
);
/* translators: Attachment information. %s: Date the attachment was uploaded. */
+1 -1
View File
@@ -1195,7 +1195,7 @@ function heartbeat_autosave( $response, $data ) {
'message' => __( 'Error while saving.' ),
);
} 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' );
$response['wp_autosave'] = array(
'success' => true,
+4 -4
View File
@@ -394,7 +394,7 @@ function populate_options( array $options = array() ) {
$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 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.
*/
$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_pingback_flag' => 1,
'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' ),
/* 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' ),
/* 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' ),
'comment_moderation' => 0,
'moderation_notify' => 1,