Make WordPress Core


Ignore:
Timestamp:
05/26/2010 03:57:55 AM (15 years ago)
Author:
nacin
Message:

Hide Flash uploader and theme/plugin editor documentation feature, if no JS. Also some validation fixes in the theme editor. props ocean90. see #13383.

File:
1 edited

Legend:

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

    r14897 r14930  
    14901490</script>
    14911491
    1492 <div id="flash-upload-ui">
     1492<div id="flash-upload-ui" class="hide-if-no-js">
    14931493<?php do_action('pre-flash-upload-ui'); ?>
    14941494
     
    22322232 */
    22332233function media_upload_html_bypass($flash = true) {
    2234     echo '<p class="upload-html-bypass">';
     2234    echo '<p class="upload-html-bypass hide-if-no-js">';
    22352235    _e('You are using the Browser uploader.');
    22362236    if ( $flash ) {
Note: See TracChangeset for help on using the changeset viewer.