[wp-trac] [WordPress Trac] #4571: broken option values after saving

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 30 21:54:49 GMT 2007


#4571: broken option values after saving
----------------------------+-----------------------------------------------
 Reporter:  m0n5t3r         |       Owner:  anonymous                          
     Type:  defect          |      Status:  new                                
 Priority:  high            |   Milestone:  2.3 (trunk)                        
Component:  Administration  |     Version:                                     
 Severity:  major           |    Keywords:  has-patch needs-testing 2nd-opinion
----------------------------+-----------------------------------------------
 options.php calls {{{trim}}} and {{{stripslashes}}} on option values
 submitted from options pages.

 When one of the values is an array, this breaks it and update_option saves
 the string "Array" in the database, which is, most of the times, not what
 the (plugin) options page author intended.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4571>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list