[wp-trac] [WordPress Trac] #38903: Prevent `update_option()` from updating when the old and new values contain identical objects.

WordPress Trac noreply at wordpress.org
Fri Dec 9 04:55:46 UTC 2016


#38903: Prevent `update_option()` from updating when the old and new values contain
identical objects.
-------------------------------------------------+-------------------------
 Reporter:  peterwilsoncc                        |       Owner:
     Type:  defect (bug)                         |  peterwilsoncc
 Priority:  normal                               |      Status:  assigned
Component:  General                              |   Milestone:  4.8
 Severity:  normal                               |     Version:  2.0
 Keywords:  early has-patch has-unit-tests       |  Resolution:
  needs-refresh                                  |     Focuses:
-------------------------------------------------+-------------------------

Comment (by peterwilsoncc):

 @salcode ignore me, I was thinking of `assertNotFalse()`. Your patch is
 great as it. :)

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


More information about the wp-trac mailing list