Make WordPress Core

Changeset 35463


Ignore:
Timestamp:
10/30/2015 10:05:22 PM (9 years ago)
Author:
afercia
Message:

Media: Restore proper conditional statement broken after [35427].

Unprops afercia.
See #34273.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media-template.php

    r35427 r35463  
    191191            <h2 class="upload-message">{{ data.message }}</h2>
    192192        <# } #>
    193 
     193        <?php if ( ! _device_can_upload() ) : ?>
    194194            <h2 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/' ); ?></h2>
    195         <?php if ( is_multisite() && ! is_upload_space_available() ) : ?>
     195        <?php elseif ( is_multisite() && ! is_upload_space_available() ) : ?>
    196196            <h2 class="upload-instructions"><?php _e( 'Upload Limit Exceeded' ); ?></h2>
    197197            <?php
Note: See TracChangeset for help on using the changeset viewer.