Make WordPress Core

Ticket #29496: 29496.2.diff

File 29496.2.diff, 2.5 KB (added by pento, 10 years ago)
  • src/wp-admin/includes/media.php

     
    17021702        global $type, $tab, $is_IE, $is_opera;
    17031703
    17041704        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.'), 'https://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>';
    17061706                return;
    17071707        }
    17081708
  • src/wp-includes/class-wp-customize-control.php

     
    742742         */
    743743        public function tab_upload_new() {
    744744                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.'), 'https://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>';
    746746                } else {
    747747                        ?>
    748748                        <div class="upload-dropzone">
  • src/wp-includes/media-template.php

     
    176176                        <h3 class="upload-message">{{ data.message }}</h3>
    177177                <# } #>
    178178                <?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.'), 'https://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>
    180180                <?php elseif ( is_multisite() && ! is_upload_space_available() ) : ?>
    181181                        <h3 class="upload-instructions"><?php _e( 'Upload Limit Exceeded' ); ?></h3>
    182182                        <?php