Make WordPress Core


Ignore:
Timestamp:
11/30/2012 01:40:59 PM (12 years ago)
Author:
ryan
Message:

Scope button classes so they can be used on the frontend without interfering with theme styles.

Props helenyhou, koopersmith
fixes #22644

File:
1 edited

Legend:

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

    r22929 r22948  
    359359?>
    360360</head>
    361 <body<?php if ( isset($GLOBALS['body_id']) ) echo ' id="' . $GLOBALS['body_id'] . '"'; ?> class="no-js">
     361<body<?php if ( isset($GLOBALS['body_id']) ) echo ' id="' . $GLOBALS['body_id'] . '"'; ?> class="wp-core-ui no-js">
    362362<script type="text/javascript">
    363363document.body.className = document.body.className.replace('no-js', 'js');
Note: See TracChangeset for help on using the changeset viewer.