[wp-trac] [WordPress Trac] #13586: Updating custom fields fails

WordPress Trac wp-trac at lists.automattic.com
Fri May 28 03:04:07 UTC 2010


#13586: Updating custom fields fails
--------------------------+-------------------------------------------------
 Reporter:  ampt          |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.0
Component:  General       |     Version:  3.0
 Severity:  blocker       |    Keywords:     
--------------------------+-------------------------------------------------
 When trying to update a custom field for a post or page it fails to update
 the new value.

 Undefined index: _ajax_nonce-add-meta in/wp-includes/pluggable.php on line
 848

 check_ajax_referer seems to be looking for _ajax_nonce-add-meta  in
 $_REQUEST
 when it actually has _ajax_nonce

 Should there be an isset check on the $_REQUEST variable?

 {{{
 if ( isset($_REQUEST[$query_arg]) )
     $nonce = $_REQUEST[$query_arg];
 }}}

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


More information about the wp-trac mailing list