[wp-trac] [WordPress Trac] #21900: update_post_meta() returns FALSE when meta_value to be updated is the same
WordPress Trac
wp-trac at lists.automattic.com
Sat Oct 13 00:52:12 UTC 2012
#21900: update_post_meta() returns FALSE when meta_value to be updated is the same
--------------------------+------------------------------
Reporter: mcbenton | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.4.2
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Changes (by knutsp):
* cc: knut@… (added)
Comment:
These update_* functions could return a non-boolean value that evaluates
to false, like integer 0, in case the option value remains the same. This
would probably give fewer compatibility problems.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21900#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list