[wp-trac] [WordPress Trac] #2456: Don't have /wp-admin/options.php screw up your options

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 16 01:29:29 GMT 2006

#2456: Don't have /wp-admin/options.php screw up your options
       Id:  2456            |      Status:  new                     
Component:  Administration  |    Modified:  Thu Feb 16 01:29:29 2006
 Severity:  enhancement     |   Milestone:                          
 Priority:  low             |     Version:  2.0.1                   
    Owner:  anonymous       |    Reporter:  Viper007Bond            
 I quickly wanted to manually change one of the options of a plugin I was
 writing. Rather than using phpMyAdmin to do it, I lazyily used {{{/wp-
 admin/options.php}}} to do it. However, when I saved, it made all of the
 options that had multiple lines into just the first line.

 So, with this patch, {{{options.php}}} checks to see if the option value
 has a line break in it and if it does, it uses a {{{<textarea>}}} rather
 than an {{{<input>}}}. I think this should fix the problem.

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

More information about the wp-trac mailing list