No-JS fallback for the Media Library grid view. props michalzuber. fixes #28830, see #24716.

Built from https://develop.svn.wordpress.org/trunk@29175


git-svn-id: http://core.svn.wordpress.org/trunk@28959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2014-07-15 20:45:15 +00:00
parent f5fcb58404
commit b3e1b3d925
1 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,9 @@ if ( 'grid' === $mode ) {
}
?>
</h2>
<div class="error hide-if-js">
<p><?php _e( 'The grid view for the Media Library requires JavaScript. <a href="upload.php?mode=list">Switch to the list view</a>.' ); ?></p>
</div>
</div>
<?php
include( ABSPATH . 'wp-admin/admin-footer.php' );