[wp-trac] [WordPress Trac] #59360: update_network_option() strict checks can cause false negatives

WordPress Trac noreply at wordpress.org
Fri Oct 6 17:02:04 UTC 2023


#59360: update_network_option() strict checks can cause false negatives
--------------------------------------+--------------------------
 Reporter:  mukesh27                  |       Owner:  mukesh27
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  6.4
Component:  Options, Meta APIs        |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+--------------------------

Comment (by flixos90):

 In [changeset:"56797" 56797]:
 {{{
 #!CommitTicketReference repository="" revision="56797"
 Options, Meta APIs: Add test coverage for `update_network_option()`
 comparison of new and existing value.

 Having those tests in `trunk` already will help ensure potential future
 fixes to this logic maintain backward compatibility.

 Props mukesh27, spacedmonkey.
 See #59360.
 }}}

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


More information about the wp-trac mailing list