Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#27203 closed defect (bug) (invalid)

Metabox Dashboard missing: `empty-container`

Reported by: bordoni's profile bordoni Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.9
Component: Administration Keywords:
Focuses: ui Cc:

Description

Hey everybody,

I'm not sure if this is a expected behavior but if you have only one metabox for one of the columns on the dashboard the class empty-containerwill be removed.

For me it looks weird because when you have two or more it shows up...

Attaching a patch to "fix" this behavior.

Been honest if this is the expected behavior, why?

Attachments (1)

27203.diff (508 bytes) - added by bordoni 10 years ago.
wp-admin/js/postbox.js

Download all attachments as: .zip

Change History (5)

@bordoni
10 years ago

wp-admin/js/postbox.js

#1 follow-up: @bcworkz
10 years ago

I'm not qualified to say if it's intentional or not, but it makes sense to me. I see it as a suggestion to move a metabox to the empty column. If you only have one metabox displayed, it's not possible to fill the empty column without adding unwanted boxes. So in that case the empty container politely disappears.

I'd just as soon it never appears. If I want an empty column that's my business and the empty container mars the single column look. So I'm not in favor of your "fix". But I understand the need to illustrate to new users that something can go there, and how the disappearing behavior can seem odd.

#2 in reply to: ↑ 1 @bordoni
10 years ago

bcworkz thanks for the input now that you've explained, I agree with you.

#3 @webord
10 years ago

  • Resolution set to invalid
  • Status changed from new to closed

#4 @helen
10 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.