Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 10 years ago

#16721 closed defect (bug) (invalid)

3.1 adding "hide-if-js" class to edit post/page

Reported by: mattcass's profile mattcass Owned by: johnbillion's profile johnbillion
Milestone: Priority: normal
Severity: major Version: 3.1
Component: Administration Keywords:
Focuses: Cc:

Description

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

Attachments (1)

Screen shot 2011-03-01 at 1.16.51 PM.jpg (138.3 KB) - added by mattcass 14 years ago.
screenshot of missing sections below post from fresh install of 3.1

Download all attachments as: .zip

Change History (6)

@mattcass
14 years ago

screenshot of missing sections below post from fresh install of 3.1

#1 @mattcass
14 years ago

  • Cc matt@… added

#2 @duck_
14 years ago

  • Keywords reporter-feedback close added

Sounds like you need to go to the Screen Options drop down tab (top right just below the grey header) and enable the meta boxes. See #14212.

#3 @ryan
14 years ago

  • Keywords ux-feedback reporter-feedback close removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

3.1 hides many metaboxes by default to simplify the posting interface. As duck_ mentions, they can be enabled via Screen Options.

#4 @johnbillion
10 years ago

  • Owner set to johnbillion
  • Resolution changed from invalid to fixed

In 30015:

Remove padding from the comment notification emails which is from a bygone fixed-width font era. Prevents alignment issues in email clients which use vairable width fonts for plain text emails. Fixes #16721. Props DrewAPicture.

#5 @SergeyBiryukov
10 years ago

  • Resolution changed from fixed to invalid

[30015] was for #16271.

Note: See TracTickets for help on using tickets.