[wp-trac] [WordPress Trac] #28830: No-JS fallback for Media Grid

WordPress Trac noreply at wordpress.org
Mon Jul 14 04:27:26 UTC 2014


#28830: No-JS fallback for Media Grid
--------------------------+-----------------------------
 Reporter:  helen         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.0
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  administration
--------------------------+-----------------------------

Comment (by michalzuber):

 To minimize support questions on enabling JavaScript it could be like this

 [[Image(http://i.imgur.com/gZeTYci.png)]]

 {{{
 <div class="error hide-if-js">
     <p><?php _e( 'The media grid view requires JavaScript to be enabled.'
 ); ?></p>
     <ol>
         <li><a href="upload.php?mode=list"><?php _e( 'Switch to the table
 listing.' ); ?></a></li>
         <li><a href="http://www.enable-javascript.com/"
 target="_blank"><?php _e( 'Enable JavaScript
 in your web browser.' ); ?></a></li>
     </ol>
 </div>
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28830#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list