[wp-trac] [WordPress Trac] #15066: Create a Meta Box class

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 15 23:53:59 UTC 2010


#15066: Create a Meta Box class
-------------------------+--------------------------------------------------
 Reporter:  ericmann     |       Owner:                 
     Type:  enhancement  |      Status:  new            
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Editor       |     Version:                 
 Severity:  normal       |    Keywords:                 
-------------------------+--------------------------------------------------

Comment(by scribu):

 +1 on a metabox class

 Replying to [comment:2 sirzooro]:
 > This new class should also include things listed in
 [http://codex.wordpress.org/Function_Reference/add_meta_box#Example
 example for add_meta_box()] - I mean nonce, capability and autosave checks
 - they are used in many custom meta boxes. Of course there should be
 option(s) to disable them if necessary.

 You have to remember that metaboxes are not only for the post editing
 page.

 We should have a general WP_Metabox class and a WP_Post_Metabox that
 extends it.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15066#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list