[wp-trac] [WordPress Trac] #49288: Metabox holders missing their border and "Drag boxes here" text

WordPress Trac noreply at wordpress.org
Tue Jul 21 14:35:27 UTC 2020


#49288: Metabox holders missing their border and "Drag boxes here" text
-------------------------------------+-------------------------------------
 Reporter:  xkon                     |       Owner:  audrasjb
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  5.5
Component:  Administration           |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch has-           |     Focuses:  ui, accessibility,
  screenshots commit                 |  administration
-------------------------------------+-------------------------------------

Comment (by afercia):

 @TobiasBg thanks for your report!

 I looked a bit into your plugin. I see the order of the postbox-
 container-1/2 is different from the one in core and you're using default
 and also custom context for `do_meta_boxes()`. I guess that's fine, not
 arguing :)

 I think the root problem is that your plugin uses the `post-body` ID for
 the meta box holders. Historically, the ID `post-body` is used in core to
 identify the edit pages of posts, comments, menu items. It's heavily used
 to target the core functionality.

 Your collaboration would be greatly appreciated to make the core
 improvements play nicely with your plugin. My suggestion is to try to not
 use the `post-body` ID and adjust accordingly where necessary. Hopefully
 that should prevent visual changes in your plugin.

 I'd also like to point you at the changes from the ticket #39074 and the
 related changesets [48373], [48460], [48465]. The ability for users to
 reorder meta boxes is now much improved. Now, wherever there are
 "sortables" areas defined, users will be able to reorder meta boxes also
 by teh means of dedicated buttons.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49288#comment:52>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list