[wp-trac] [WordPress Trac] #37231: Allow heading level to be specified when calling `do_meta_boxes()`
WordPress Trac
noreply at wordpress.org
Thu Jul 21 13:39:32 UTC 2016
#37231: Allow heading level to be specified when calling `do_meta_boxes()`
-------------------------+------------------------------------------------
Reporter: jdgrimes | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: ui, accessibility, administration
-------------------------+------------------------------------------------
Comment (by jdgrimes):
I've added [attachment:37231.5.diff], which adds an `$args` parameter
instead of just `$heading_level`, and also updates the styles to just
target `.hndle`. As far as the styles go, it looks like `h2` is being
targeted directly, without being qualified by the `.hdnle` class. I've
left it this way, as it may be needed for back-compat, but it seems to
contradict [28940].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37231#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list