Make WordPress Core

Ticket #17473: 17473-2.diff

File 17473-2.diff, 544 bytes (added by jacobwg, 14 years ago)

Adds only the 'js' class - no JS detection

  • wp-admin/includes/media.php

     
    337337        do_action( "admin_head_{$content_func}" );
    338338?>
    339339</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="js">
    341341<?php
    342342        $args = func_get_args();
    343343        $args = array_slice($args, 1);