[wp-trac] [WordPress Trac] #16721: 3.1 adding "hide-if-js" class to edit post/page

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 1 21:20:25 UTC 2011


#16721: 3.1 adding "hide-if-js" class to edit post/page
----------------------------+-----------------------------
 Reporter:  mattcass        |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  3.1
 Severity:  major           |   Keywords:  ux-feedback
----------------------------+-----------------------------
 Hey All, this sure looks like a bug in 3.1.  Recently updated 2 blogs from
 3.0.5 to 3.1 and it's happening on both of them.  When editing a post or a
 page, all of the sections below the content editor are missing.

 Specifically, #normal-sortables and #advanced-sortables are having the
 class "hide-if-js" added to them.  This hides all of the sections that
 usually show up in this area, such as custom fields, author, comments,
 etc.

 I am running the plugin Adminimize on both blogs, but I have disabled it
 and the issues persist.  Have also disabled ALL other plugins but no luck.

 Have confirmed that changing the blog to use the 2010 theme does not make
 a difference.  The sections are still missing regardless of the theme.

 Also setup a fresh install of 3.1 on a new database and am able to
 replicate the issue.

 The only thing I can do to get these sections to show is overwrite the css
 in my theme's functions.php:

 function fix_wp_display_bug () {
    echo '<style type="text/css">
            #post-body #post-body-content #normal-sortables .hide-if-js {
 display:block; }
          </style>';
 }
 add_action('admin_head', 'fix_wp_display_bug');

 Is this a bug?
 Thanks,
 Matt

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16721>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list