[wp-trac] [WordPress Trac] #13017: Add add_meta_boxes hooks to all meta box implementations
WordPress Trac
wp-trac at lists.automattic.com
Wed May 12 00:03:21 UTC 2010
#13017: Add add_meta_boxes hooks to all meta box implementations
----------------------------+-----------------------------------------------
Reporter: markjaquith | Owner:
Type: task (blessed) | Status: new
Priority: high | Milestone: 3.0
Component: Administration | Version: 3.0
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
Comment(by hakre):
That changeset ([14044]) still uses both instead of one (at least there is
one commented out code to remove). This is how I read the spec out of code
and changes (see below). It's not complete and I have not designed that,
so the original author should feel free to remove the black/grey areas.
After a clear specification it should be no problem to provide a patch.
Until then it's just a guess to provide one. So here is my first try of a
spec, any kind of feedback is really appreciated:
'''Filter 1:'''
''do_meta_boxes''[[BR]]
MUST/SHALL be invoked each time ... ''(Is it a must or a shall? '''Under
which conditions''' exactly?)''
'''Filter 2:'''
''do_meta_boxes_[name of the metabox]''[[BR]]
MUST be invoked each time directly after ''add_meta_boxes'' had been
invoked (e.g. next line of code).
'''Filter 3:'''
''do_meta_boxes''[[BR]]
MUST be invoked each time directly after ''Filter 2'' has been invoked
(e.g. next line of code).
'''Backround:'''[[BR]]
r6761 r6758
Is that helpfull ryan? What about adding a list of all meta-box names and
their pages?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13017#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list