mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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;
|
global $type, $tab, $is_IE, $is_opera;
|
||||||
|
|
||||||
if ( ! _device_can_upload() ) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -742,7 +742,7 @@ class WP_Customize_Image_Control extends WP_Customize_Upload_Control {
|
|||||||
*/
|
*/
|
||||||
public function tab_upload_new() {
|
public function tab_upload_new() {
|
||||||
if ( ! _device_can_upload() ) {
|
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 {
|
} else {
|
||||||
?>
|
?>
|
||||||
<div class="upload-dropzone">
|
<div class="upload-dropzone">
|
||||||
|
@ -176,7 +176,7 @@ function wp_print_media_templates() {
|
|||||||
<h3 class="upload-message">{{ data.message }}</h3>
|
<h3 class="upload-message">{{ data.message }}</h3>
|
||||||
<# } #>
|
<# } #>
|
||||||
<?php if ( ! _device_can_upload() ) : ?>
|
<?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() ) : ?>
|
<?php elseif ( is_multisite() && ! is_upload_space_available() ) : ?>
|
||||||
<h3 class="upload-instructions"><?php _e( 'Upload Limit Exceeded' ); ?></h3>
|
<h3 class="upload-instructions"><?php _e( 'Upload Limit Exceeded' ); ?></h3>
|
||||||
<?php
|
<?php
|
||||||
|
Loading…
Reference in New Issue
Block a user