[wp-trac] Re: [WordPress Trac] #7541: Adding a custom field without a value gives unidentified error.

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 16 17:01:09 GMT 2009


#7541: Adding a custom field without a value gives unidentified error.
----------------------------+-----------------------------------------------
 Reporter:  hedgepig        |       Owner:             
     Type:  defect (bug)    |      Status:  new        
 Priority:  low             |   Milestone:  2.8        
Component:  Administration  |     Version:  2.7        
 Severity:  minor           |    Keywords:  needs-patch
----------------------------+-----------------------------------------------
Changes (by cyberhobo):

 * cc: cyberhobo (added)


Comment:

 I tested scohoust's patch under Vista + XAMPPLite 1.6.8 following the
 steps suggested by jacobsantos.

 With WP_DEBUG enabled, a hole in the isset logic caused a PHP notice
 (Undefined index: metakeyselect). After saving a draft, I still got the
 undefined error message.

 I'll attach a patch with my fix for these two problems added to the
 original.

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


More information about the wp-trac mailing list