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:
@@ -184,9 +184,9 @@ class WP_Locale {
|
||||
$this->meridiem['PM'] = __('PM');
|
||||
|
||||
// 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' );
|
||||
|
||||
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;
|
||||
|
||||
/* 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' );
|
||||
|
||||
$this->number_format['decimal_point'] = ( 'number_format_decimal_point' === $decimal_point ) ? '.' : $decimal_point;
|
||||
@@ -385,11 +385,11 @@ class WP_Locale {
|
||||
* @since 3.6.0
|
||||
*/
|
||||
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' );
|
||||
/* translators: localized time format, see http://php.net/date */
|
||||
/* translators: localized time format, see https://secure.php.net/date */
|
||||
__( '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' );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user