Changes from branches/3.1/wp-admin/includes/media.php at r18018 to trunk/wp-admin/includes/media.php at r18290
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r18018 r18290 338 338 ?> 339 339 </head> 340 <body<?php if ( isset($GLOBALS['body_id']) ) echo ' id="' . $GLOBALS['body_id'] . '"'; ?>> 340 <body<?php if ( isset($GLOBALS['body_id']) ) echo ' id="' . $GLOBALS['body_id'] . '"'; ?> class="no-js"> 341 <script type="text/javascript"> 342 //<![CDATA[ 343 (function(){ 344 var c = document.body.className; 345 c = c.replace(/no-js/, 'js'); 346 document.body.className = c; 347 })(); 348 //]]> 349 </script> 341 350 <?php 342 351 $args = func_get_args(); … … 1351 1360 $field['value'] = esc_textarea( $field['value'] ); 1352 1361 } 1353 $item .= "<textarea type='text'id='$name' name='$name' $aria_required>" . $field['value'] . '</textarea>';1362 $item .= "<textarea id='$name' name='$name' $aria_required>" . $field['value'] . '</textarea>'; 1354 1363 } else { 1355 1364 $item .= "<input type='text' class='text' id='$name' name='$name' value='" . esc_attr( $field['value'] ) . "' $aria_required />"; … … 1552 1561 <?php endif; // $flash ?> 1553 1562 1554 <div id="html-upload-ui" >1563 <div id="html-upload-ui" <?php if ( $flash ) echo 'class="hide-if-js"'; ?>> 1555 1564 <?php do_action('pre-html-upload-ui'); ?> 1556 1565 <p id="async-upload-wrap">
Note: See TracChangeset
for help on using the changeset viewer.