Use https for apps.wordpress.org links.
props pento. fixes #29595 for trunk. Built from https://develop.svn.wordpress.org/trunk@29721 git-svn-id: http://core.svn.wordpress.org/trunk@29495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2c171053ed
commit
1eb26d3ff3
|
@ -1702,7 +1702,7 @@ function media_upload_form( $errors = null ) {
|
|||
global $type, $tab, $is_IE, $is_opera;
|
||||
|
||||
if ( ! _device_can_upload() ) {
|
||||
echo '<p>' . sprintf( __('The web browser on your device cannot be used to upload files. You may be able to use the <a href="%s">native app for your device</a> instead.'), 'http://apps.wordpress.org/' ) . '</p>';
|
||||
echo '<p>' . sprintf( __('The web browser on your device cannot be used to upload files. You may be able to use the <a href="%s">native app for your device</a> instead.'), 'https://apps.wordpress.org/' ) . '</p>';
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -742,7 +742,7 @@ class WP_Customize_Image_Control extends WP_Customize_Upload_Control {
|
|||
*/
|
||||
public function tab_upload_new() {
|
||||
if ( ! _device_can_upload() ) {
|
||||
echo '<p>' . sprintf( __('The web browser on your device cannot be used to upload files. You may be able to use the <a href="%s">native app for your device</a> instead.'), 'http://apps.wordpress.org/' ) . '</p>';
|
||||
echo '<p>' . sprintf( __('The web browser on your device cannot be used to upload files. You may be able to use the <a href="%s">native app for your device</a> instead.'), 'https://apps.wordpress.org/' ) . '</p>';
|
||||
} else {
|
||||
?>
|
||||
<div class="upload-dropzone">
|
||||
|
|
|
@ -176,7 +176,7 @@ function wp_print_media_templates() {
|
|||
<h3 class="upload-message">{{ data.message }}</h3>
|
||||
<# } #>
|
||||
<?php if ( ! _device_can_upload() ) : ?>
|
||||
<h3 class="upload-instructions"><?php printf( __('The web browser on your device cannot be used to upload files. You may be able to use the <a href="%s">native app for your device</a> instead.'), 'http://apps.wordpress.org/' ); ?></h3>
|
||||
<h3 class="upload-instructions"><?php printf( __('The web browser on your device cannot be used to upload files. You may be able to use the <a href="%s">native app for your device</a> instead.'), 'https://apps.wordpress.org/' ); ?></h3>
|
||||
<?php elseif ( is_multisite() && ! is_upload_space_available() ) : ?>
|
||||
<h3 class="upload-instructions"><?php _e( 'Upload Limit Exceeded' ); ?></h3>
|
||||
<?php
|
||||
|
|
Loading…
Reference in New Issue