[wp-trac] [WordPress Trac] #23240: #post-body-content gap with one custom metabox
WordPress Trac
noreply at wordpress.org
Sat Mar 2 18:40:34 UTC 2013
#23240: #post-body-content gap with one custom metabox
----------------------------+------------------
Reporter: soulseekah | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: Administration | Version: 3.5
Severity: minor | Resolution:
Keywords: ui-focus |
----------------------------+------------------
Comment (by helen):
[attachment:23240.diff] is a starting point for what I was thinking about
a more generic solution - using a class of `.edit-form-section` to give
better HTML structure and that pesky bottom margin to pieces of the edit
screen that need it. Then it can also better accommodate custom additions
on the `edit_form_after_*` hooks by adding a wrapping div with said class
if `has_action()`.
Patch really is only a starting point - `edit_form_after_editor` would
need the same treatment, and the class would probably need to be applied
to a few existing elements in `edit-form-advanced.php`. And, of course,
testing.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23240#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list