[wp-trac] [WordPress Trac] #21900: update_post_meta() returns FALSE when meta_value to be updated is the same

WordPress Trac noreply at wordpress.org
Thu Jan 23 11:56:45 UTC 2020


#21900: update_post_meta() returns FALSE when meta_value to be updated is the same
--------------------------------+----------------------
 Reporter:  mcbenton            |       Owner:  (none)
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:
Component:  Options, Meta APIs  |     Version:  3.4
 Severity:  normal              |  Resolution:  wontfix
 Keywords:                      |     Focuses:
--------------------------------+----------------------

Comment (by konradg2):

 So you think it's ok to not distinguish connection/query error from
 situation when record is not changed because it's the same as in database?
 These are two very different cases and application's reactions will most
 likely be very different on each one.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/21900#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list