DOCS: Replace HTTP links with HTTPS.

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

Props johnpgreen, netweb

Fixes #36993


git-svn-id: https://develop.svn.wordpress.org/trunk@37674 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Wilson
2016-06-10 04:49:09 +00:00
parent d470bd22dc
commit db0195c936
53 changed files with 119 additions and 119 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ if ( $comment->comment_approved != '0' ) { // if not unapproved
<?php
/* translators: 1: comment date, 2: comment time */
$submitted = sprintf( __( '%1$s at %2$s' ),
/* translators: comment date format. See http://php.net/date */
/* translators: comment date format. See https://secure.php.net/date */
get_comment_date( __( 'Y/m/d' ), $comment ),
get_comment_date( __( 'g:i a' ), $comment )
);
+1 -1
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 ) );
$messages['post'] = array(
+1 -1
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">
<?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' );
?>
<span id="timestamp"><?php
+1 -1
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' ) );
+1 -1
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>
<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>
<?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?>
+1 -1
View File
@@ -1797,7 +1797,7 @@ function wp_ajax_find_posts() {
if ( '0000-00-00 00:00:00' == $post->post_date ) {
$time = '';
} else {
/* translators: date format in table columns, see http://php.net/date */
/* translators: date format in table columns, see https://secure.php.net/date */
$time = mysql2date(__('Y/m/d'), $post->post_date);
}
@@ -717,7 +717,7 @@ class WP_Comments_List_Table extends WP_List_Table {
public function column_date( $comment ) {
/* translators: 1: comment date, 2: comment time */
$submitted = sprintf( __( '%1$s at %2$s' ),
/* translators: comment date format. See http://php.net/date */
/* translators: comment date format. See https://secure.php.net/date */
get_comment_date( __( 'Y/m/d' ), $comment ),
get_comment_date( __( 'g:i a' ), $comment )
);
@@ -316,7 +316,7 @@ class WP_Filesystem_Base {
*
* From the PHP documentation page for fileperms().
*
* @link http://docs.php.net/fileperms
* @link https://secure.php.net/manual/en/function.fileperms.php
*
* @access public
* @since 2.5.0
@@ -384,7 +384,7 @@ class WP_Filesystem_Base {
* Converts '-rw-r--r--' to 0644
* From "info at rvgate dot nl"'s comment on the PHP documentation for chmod()
*
* @link http://docs.php.net/manual/en/function.chmod.php#49614
* @link https://secure.php.net/manual/en/function.chmod.php#49614
*
* @access public
* @since 2.5.0
+2 -2
View File
@@ -835,10 +835,10 @@ function wp_dashboard_recent_posts( $args ) {
} elseif ( date( 'Y-m-d', $time ) == $tomorrow ) {
$relative = __( 'Tomorrow' );
} elseif ( date( 'Y', $time ) !== date( 'Y', current_time( 'timestamp' ) ) ) {
/* translators: date and time format for recent posts on the dashboard, from a different calendar year, see http://php.net/date */
/* translators: date and time format for recent posts on the dashboard, from a different calendar year, see https://secure.php.net/date */
$relative = date_i18n( __( 'M jS Y' ), $time );
} else {
/* translators: date and time format for recent posts on the dashboard, see http://php.net/date */
/* translators: date and time format for recent posts on the dashboard, see https://secure.php.net/date */
$relative = date_i18n( __( 'M jS' ), $time );
}
+2 -2
View File
@@ -170,7 +170,7 @@ echo esc_html( $visibility_trans ); ?></span>
</div><!-- .misc-pub-section -->
<?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' );
if ( 0 != $post->ID ) {
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">
<?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' );
$stamp = __('Uploaded on: <b>%1$s</b>');
$date = date_i18n( $datef, strtotime( $post->post_date ) );
+1 -1
View File
@@ -881,7 +881,7 @@ function heartbeat_autosave( $response, $data ) {
} elseif ( empty( $saved ) ) {
$response['wp_autosave'] = array( 'success' => false, 'message' => __( 'Error while saving.' ) );
} else {
/* translators: draft saved date format, see http://php.net/date */
/* translators: draft saved date format, see https://secure.php.net/date */
$draft_saved_date_format = __( 'g:i:s a' );
/* translators: %s: date and time */
$response['wp_autosave'] = array( 'success' => true, 'message' => sprintf( __( 'Draft saved at %s.' ), date_i18n( $draft_saved_date_format ) ) );
+2 -2
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 */
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>',
'http://httpd.apache.org/docs/mod/mod_rewrite.html',
'http://www.google.com/search?q=apache+mod_rewrite'
'https://httpd.apache.org/docs/mod/mod_rewrite.html',
'https://www.google.com/search?q=apache+mod_rewrite'
);
echo '</p></div>';
}
+4 -4
View File
@@ -381,7 +381,7 @@ function populate_options() {
$timezone_string = '';
$gmt_offset = 0;
/* translators: default GMT offset or timezone string. Must be either a valid offset (-12 to 14)
or a valid timezone string (America/New_York). See http://us3.php.net/manual/en/timezones.php
or a valid timezone string (America/New_York). See https://secure.php.net/manual/en/timezones.php
for all timezone strings supported by PHP.
*/
$offset_or_tz = _x( '0', 'default GMT offset or timezone string' );
@@ -415,11 +415,11 @@ function populate_options() {
'default_ping_status' => 'open',
'default_pingback_flag' => 1,
'posts_per_page' => 10,
/* translators: default date format, see http://php.net/date */
/* translators: default date format, see https://secure.php.net/date */
'date_format' => __('F j, Y'),
/* translators: default time format, see http://php.net/date */
/* translators: default time format, see https://secure.php.net/date */
'time_format' => __('g:i a'),
/* translators: links last updated date format, see http://php.net/date */
/* translators: links last updated date format, see https://secure.php.net/date */
'links_updated_date_format' => __('F j, Y g:i a'),
'comment_moderation' => 0,
'moderation_notify' => 1,
+4 -4
View File
@@ -195,13 +195,13 @@ $show_avatars = get_option( 'show_avatars' );
<?php
$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'),
/* 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'),
/* 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'),
/* 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')
);
foreach ($ratings as $key => $rating) :
+1 -1
View File
@@ -17,7 +17,7 @@ if ( ! current_user_can( 'manage_options' ) )
$title = __('General Settings');
$parent_file = 'options-general.php';
/* translators: date and time format for exact current time, mainly about timezones, see http://php.net/date */
/* translators: date and time format for exact current time, mainly about timezones, see https://secure.php.net/date */
$timezone_format = _x('Y-m-d H:i:s', 'timezone date format');
add_action('admin_head', 'options_general_add_js');
+1 -1
View File
@@ -112,7 +112,7 @@ case 'update':
$newcontent = wp_unslash( $_POST['newcontent'] );
$location = 'theme-editor.php?file=' . urlencode( $relative_file ) . '&theme=' . urlencode( $stylesheet ) . '&scrollto=' . $scrollto;
if ( is_writeable( $file ) ) {
// is_writable() not always reliable, check return value. see comments @ http://uk.php.net/is_writable
// is_writable() not always reliable, check return value. see comments @ https://secure.php.net/is_writable
$f = fopen( $file, 'w+' );
if ( $f !== false ) {
fwrite( $f, $newcontent );