[wp-trac] [WordPress Trac] #24933: update_metadata() returns true even if meta value not updated

WordPress Trac noreply at wordpress.org
Fri Aug 2 21:00:58 UTC 2013


#24933: update_metadata() returns true even if meta value not updated
-------------------------+------------------------------
 Reporter:  jdgrimes     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  3.6
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by nofearinc):

 I can't seem to reproduce that.

 I tried to use `update_metadata` for a post with a key and value. The
 first insert was true, the next attempts were false. When I change the
 value, it returns true again and false for all the other attempts.

 What is your update call?

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


More information about the wp-trac mailing list