[wp-trac] Re: [WordPress Trac] #6343: Adding custom field: wording and behaviour

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 25 01:23:29 GMT 2008


#6343: Adding custom field: wording and behaviour
------------------------------------------+---------------------------------
 Reporter:  versuchsanstalt               |        Owner:  mdawaffe
     Type:  defect                        |       Status:  reopened
 Priority:  normal                        |    Milestone:  2.5     
Component:  Administration                |      Version:  2.5     
 Severity:  normal                        |   Resolution:          
 Keywords:  AJAX has-patch needs-testing  |  
------------------------------------------+---------------------------------
Changes (by DD32):

  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 Adding new meta keys when no meta keys currently exist is broken after the
 commit.

 Upon clicking add, I get several PHP errors, To me, it looks like its not
 taking the correct branch.

 Heres the post data:
 {{{
 array
   '_ajax_nonce' => string '92ea72e0e5' (length=10)
   'action' => string 'add-meta' (length=8)
   'post_id' => string '136' (length=3)
   'metakeyinput' => string 'testkey' (length=7)
   'metavalue' => string 'testvalue' (length=9)
 }}}

 I'll attach a patch for what seems to be the correct behaviour & is
 working for me

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6343#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list