[wp-trac] [WordPress Trac] #12567: make post_submit_meta_box more generic

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 28 17:26:07 UTC 2010


#12567: make post_submit_meta_box more generic
---------------------------+------------------------------------------------
 Reporter:  themattharris  |       Owner:                                                                    
     Type:  enhancement    |      Status:  new                                                               
 Priority:  normal         |   Milestone:  Future Release                                                    
Component:  Post Types     |     Version:                                                                    
 Severity:  normal         |    Keywords:  post_status, register_post_status, post_submit_meta_box, metaboxes
---------------------------+------------------------------------------------

Comment(by scribu):

 I think it's a good start. There's a lot of duplicated code in those
 foreach() blocks. Maybe you could combine them into a helper function.

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


More information about the wp-trac mailing list