[wp-trac] [WordPress Trac] #12439: Hidden metaboxes options ignored

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 1 15:43:44 UTC 2010


#12439: Hidden metaboxes options ignored
----------------------------+-----------------------------------------------
 Reporter:  scribu          |       Owner:           
     Type:  defect (bug)    |      Status:  new      
 Priority:  normal          |   Milestone:  3.0      
Component:  Administration  |     Version:  3.0      
 Severity:  major           |    Keywords:  has-patch
----------------------------+-----------------------------------------------

Comment(by scribu):

 12439.2.diff uses update_user_option(), making it compatible with
 get_user_option().

 12439.3.diff takes a more "radical" approach and removes the {{{$option =
 preg_replace('|[^a-z0-9_]|i', '', $option);}}} filter. It has the short-
 term drawback that users will loose their customizations when upgrading.

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


More information about the wp-trac mailing list