Changes from branches/3.1/wp-admin/includes/media.php at r18366 to trunk/wp-admin/includes/media.php at r18365
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r18366 r18365 346 346 ?> 347 347 </head> 348 <body<?php if ( isset($GLOBALS['body_id']) ) echo ' id="' . $GLOBALS['body_id'] . '"'; ?>> 348 <body<?php if ( isset($GLOBALS['body_id']) ) echo ' id="' . $GLOBALS['body_id'] . '"'; ?> class="no-js"> 349 <script type="text/javascript"> 350 //<![CDATA[ 351 (function(){ 352 var c = document.body.className; 353 c = c.replace(/no-js/, 'js'); 354 document.body.className = c; 355 })(); 356 //]]> 357 </script> 349 358 <?php 350 359 $args = func_get_args(); … … 1364 1373 $field['value'] = esc_textarea( $field['value'] ); 1365 1374 } 1366 $item .= "<textarea type='text'id='$name' name='$name' $aria_required>" . $field['value'] . '</textarea>';1375 $item .= "<textarea id='$name' name='$name' $aria_required>" . $field['value'] . '</textarea>'; 1367 1376 } else { 1368 1377 $item .= "<input type='text' class='text' id='$name' name='$name' value='" . esc_attr( $field['value'] ) . "' $aria_required />"; … … 1565 1574 <?php endif; // $flash ?> 1566 1575 1567 <div id="html-upload-ui" >1576 <div id="html-upload-ui" <?php if ( $flash ) echo 'class="hide-if-js"'; ?>> 1568 1577 <?php do_action('pre-html-upload-ui'); ?> 1569 1578 <p id="async-upload-wrap">
Note: See TracChangeset
for help on using the changeset viewer.