WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/27/2008 12:18:38 PM (12 years ago)
Author:
azaozz
Message:

Faster hide-if-no-js, if-js-closed, etc. needed when loading scripts in the footer.

File:
1 edited

Legend:

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

    r10256 r10258  
    872872    if ( $closed = get_user_option('closedpostboxes_'.$page, 0, false ) ) {
    873873        if ( !is_array( $closed ) ) return '';
    874         return in_array( $id, $closed )? 'if-js-closed' : '';
     874        return in_array( $id, $closed )? 'closed' : '';
    875875    } else {
    876876        return '';
Note: See TracChangeset for help on using the changeset viewer.