Make WordPress Core


Ignore:
Timestamp:
11/30/2012 01:40:59 PM (13 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/admin-header.php

    r22730 r22948  
    9898?>
    9999</head>
    100 <body class="wp-admin no-js <?php echo apply_filters( 'admin_body_class', '' ) . " $admin_body_class"; ?>">
     100<body class="wp-admin wp-core-ui no-js <?php echo apply_filters( 'admin_body_class', '' ) . " $admin_body_class"; ?>">
    101101<script type="text/javascript">
    102102    document.body.className = document.body.className.replace('no-js','js');
Note: See TracChangeset for help on using the changeset viewer.