[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 20:53:51 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 needs-unit-tests  |     Focuses:
----------------------------------------+----------------------------
Changes (by peterwilsoncc):

 * keywords:  has-patch => has-patch needs-unit-tests
 * milestone:  5.0 => 5.1


Comment:

 @bor0 Thanks for providing a patch. I've punted this to the 5.1 milestone
 due to the focus on the new editor for 5.0.

 [39564] included a unit test for `update_option()`. It would be great to
 include a similar test  for `update_network_option()`.

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


More information about the wp-trac mailing list