Use https for apps.wordpress.org links.
props pento. fixes #29595 for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@29721 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
aa9af951e5
commit
8cfdbf1167
@ -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
Block a user