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

WordPress Trac noreply at wordpress.org
Mon Oct 8 22:17:16 UTC 2018


#44956: Prevent `update_network_option()` from updating when the old and new values
contain identical objects.
--------------------------------------+----------------------------
 Reporter:  peterwilsoncc             |       Owner:  peterwilsoncc
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  5.1
Component:  Networks and Sites        |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+----------------------------
Changes (by bor0):

 * keywords:  has-patch needs-unit-tests => has-patch has-unit-tests


Comment:

 Thanks @peterwilsoncc. I added unit tests for it.

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


More information about the wp-trac mailing list