Skip to content

Commit a8f4ed6

Browse files
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
1 parent 88836de commit a8f4ed6

29 files changed

Lines changed: 73 additions & 73 deletions

src/wp-admin/comment.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,9 @@
207207
$submitted = sprintf(
208208
/* translators: 1: Comment date, 2: Comment time. */
209209
__( '%1$s at %2$s' ),
210-
/* translators: Comment date format. See https://secure.php.net/date */
210+
/* translators: Comment date format. See https://www.php.net/date */
211211
get_comment_date( __( 'Y/m/d' ), $comment ),
212-
/* translators: Comment time format. See https://secure.php.net/date */
212+
/* translators: Comment time format. See https://www.php.net/date */
213213
get_comment_date( __( 'g:i a' ), $comment )
214214
);
215215
if ( 'approved' === wp_get_comment_status( $comment ) && ! empty( $comment->comment_post_ID ) ) {

src/wp-admin/edit-form-advanced.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@
169169
$scheduled_date = sprintf(
170170
/* translators: Publish box date string. 1: Date, 2: Time. */
171171
__( '%1$s at %2$s' ),
172-
/* translators: Publish box date format, see https://secure.php.net/date */
172+
/* translators: Publish box date format, see https://www.php.net/date */
173173
date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $post->post_date ) ),
174-
/* translators: Publish box time format, see https://secure.php.net/date */
174+
/* translators: Publish box time format, see https://www.php.net/date */
175175
date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $post->post_date ) )
176176
);
177177

src/wp-admin/edit-form-comment.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@
106106
$submitted = sprintf(
107107
/* translators: 1: Comment date, 2: Comment time. */
108108
__( '%1$s at %2$s' ),
109-
/* translators: Publish box date format, see https://secure.php.net/date */
109+
/* translators: Publish box date format, see https://www.php.net/date */
110110
date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $comment->comment_date ) ),
111-
/* translators: Publish box time format, see https://secure.php.net/date */
111+
/* translators: Publish box time format, see https://www.php.net/date */
112112
date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $comment->comment_date ) )
113113
);
114114
?>

src/wp-admin/includes/ajax-actions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2197,7 +2197,7 @@ function wp_ajax_find_posts() {
21972197
if ( '0000-00-00 00:00:00' == $post->post_date ) {
21982198
$time = '';
21992199
} else {
2200-
/* translators: Date format in table columns, see https://secure.php.net/date */
2200+
/* translators: Date format in table columns, see https://www.php.net/date */
22012201
$time = mysql2date( __( 'Y/m/d' ), $post->post_date );
22022202
}
22032203

src/wp-admin/includes/class-wp-comments-list-table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -872,9 +872,9 @@ public function column_date( $comment ) {
872872
$submitted = sprintf(
873873
/* translators: 1: Comment date, 2: Comment time. */
874874
__( '%1$s at %2$s' ),
875-
/* translators: Comment date format. See https://secure.php.net/date */
875+
/* translators: Comment date format. See https://www.php.net/date */
876876
get_comment_date( __( 'Y/m/d' ), $comment ),
877-
/* translators: Comment time format. See https://secure.php.net/date */
877+
/* translators: Comment time format. See https://www.php.net/date */
878878
get_comment_date( __( 'g:i a' ), $comment )
879879
);
880880

src/wp-admin/includes/class-wp-community-events.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ protected function format_event_data_time( $response_body ) {
375375
* so that users can tell at a glance if the event is on a day they
376376
* are available, without having to open the link.
377377
*/
378-
/* translators: Date format for upcoming events on the dashboard. Include the day of the week. See https://secure.php.net/date */
378+
/* translators: Date format for upcoming events on the dashboard. Include the day of the week. See https://www.php.net/date */
379379
$response_body['events'][ $key ]['formatted_date'] = date_i18n( __( 'l, M j, Y' ), $timestamp );
380380
$response_body['events'][ $key ]['formatted_time'] = date_i18n( get_option( 'time_format' ), $timestamp );
381381
}

src/wp-admin/includes/class-wp-filesystem-base.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ public function search_for_folder( $folder, $base = '.', $loop = false ) {
319319
*
320320
* From the PHP documentation page for fileperms().
321321
*
322-
* @link https://secure.php.net/manual/en/function.fileperms.php
322+
* @link https://www.php.net/manual/en/function.fileperms.php
323323
*
324324
* @since 2.5.0
325325
*
@@ -387,7 +387,7 @@ public function getchmod( $file ) {
387387
* Converts '-rw-r--r--' to 0644
388388
* From "info at rvgate dot nl"'s comment on the PHP documentation for chmod()
389389
*
390-
* @link https://secure.php.net/manual/en/function.chmod.php#49614
390+
* @link https://www.php.net/manual/en/function.chmod.php#49614
391391
*
392392
* @since 2.5.0
393393
*

src/wp-admin/includes/dashboard.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -950,10 +950,10 @@ function wp_dashboard_recent_posts( $args ) {
950950
} elseif ( gmdate( 'Y-m-d', $time ) == $tomorrow ) {
951951
$relative = __( 'Tomorrow' );
952952
} elseif ( gmdate( 'Y', $time ) !== $year ) {
953-
/* translators: Date and time format for recent posts on the dashboard, from a different calendar year, see https://secure.php.net/date */
953+
/* translators: Date and time format for recent posts on the dashboard, from a different calendar year, see https://www.php.net/date */
954954
$relative = date_i18n( __( 'M jS Y' ), $time );
955955
} else {
956-
/* translators: Date and time format for recent posts on the dashboard, see https://secure.php.net/date */
956+
/* translators: Date and time format for recent posts on the dashboard, see https://www.php.net/date */
957957
$relative = date_i18n( __( 'M jS' ), $time );
958958
}
959959

src/wp-admin/includes/meta-boxes.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,11 @@ function post_submit_meta_box( $post, $args = array() ) {
194194
</div><!-- .misc-pub-section -->
195195

196196
<?php
197-
/* translators: Publish box date string. 1: Date, 2: Time. See https://secure.php.net/date */
197+
/* translators: Publish box date string. 1: Date, 2: Time. See https://www.php.net/date */
198198
$date_string = __( '%1$s at %2$s' );
199-
/* translators: Publish box date format, see https://secure.php.net/date */
199+
/* translators: Publish box date format, see https://www.php.net/date */
200200
$date_format = _x( 'M j, Y', 'publish box date format' );
201-
/* translators: Publish box time format, see https://secure.php.net/date */
201+
/* translators: Publish box time format, see https://www.php.net/date */
202202
$time_format = _x( 'H:i', 'publish box time format' );
203203

204204
if ( 0 != $post->ID ) {
@@ -382,11 +382,11 @@ function attachment_submit_meta_box( $post ) {
382382
<span id="timestamp">
383383
<?php
384384
$uploaded_on = sprintf(
385-
/* translators: Publish box date string. 1: Date, 2: Time. See https://secure.php.net/date */
385+
/* translators: Publish box date string. 1: Date, 2: Time. See https://www.php.net/date */
386386
__( '%1$s at %2$s' ),
387-
/* translators: Publish box date format, see https://secure.php.net/date */
387+
/* translators: Publish box date format, see https://www.php.net/date */
388388
date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $post->post_date ) ),
389-
/* translators: Publish box time format, see https://secure.php.net/date */
389+
/* translators: Publish box time format, see https://www.php.net/date */
390390
date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $post->post_date ) )
391391
);
392392
/* translators: Attachment information. %s: Date the attachment was uploaded. */

src/wp-admin/includes/misc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,7 @@ function heartbeat_autosave( $response, $data ) {
11951195
'message' => __( 'Error while saving.' ),
11961196
);
11971197
} else {
1198-
/* translators: Draft saved date format, see https://secure.php.net/date */
1198+
/* translators: Draft saved date format, see https://www.php.net/date */
11991199
$draft_saved_date_format = __( 'g:i:s a' );
12001200
$response['wp_autosave'] = array(
12011201
'success' => true,

0 commit comments

Comments
 (0)