Ticket #29496: 29496.2.diff
File 29496.2.diff, 2.5 KB (added by , 10 years ago) |
---|
-
src/wp-admin/includes/media.php
1702 1702 global $type, $tab, $is_IE, $is_opera; 1703 1703 1704 1704 if ( ! _device_can_upload() ) { 1705 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 s://wordpress.org/mobile/' ) . '</p>';1705 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>'; 1706 1706 return; 1707 1707 } 1708 1708 -
src/wp-includes/class-wp-customize-control.php
742 742 */ 743 743 public function tab_upload_new() { 744 744 if ( ! _device_can_upload() ) { 745 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 s://wordpress.org/mobile/' ) . '</p>';745 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>'; 746 746 } else { 747 747 ?> 748 748 <div class="upload-dropzone"> -
src/wp-includes/media-template.php
176 176 <h3 class="upload-message">{{ data.message }}</h3> 177 177 <# } #> 178 178 <?php if ( ! _device_can_upload() ) : ?> 179 <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 s://wordpress.org/mobile/' ); ?></h3>179 <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> 180 180 <?php elseif ( is_multisite() && ! is_upload_space_available() ) : ?> 181 181 <h3 class="upload-instructions"><?php _e( 'Upload Limit Exceeded' ); ?></h3> 182 182 <?php