[wp-trac] [WordPress Trac] #35379: update_network_option changes stored option value if sanitize_option detects error

WordPress Trac noreply at wordpress.org
Sun May 1 04:26:30 UTC 2016


#35379: update_network_option changes stored option value if sanitize_option
detects error
-------------------------------------------------+-------------------------
 Reporter:  thomaswm                             |       Owner:  jeremyfelt
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.6
Component:  Options, Meta APIs                   |     Version:  3.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:  multisite
  feedback needs-testing                         |
-------------------------------------------------+-------------------------

Comment (by codex-m):

 @flixos90 Great, I agree :) I attached the refreshed and simplified
 version of the patch (35379.4.diff). Re-tested with
 35379_unit_test.2.diff​ as well as some manual testing. Everything works
 good and the original issue is resolved. Thanks for the feedback. Cheers.

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


More information about the wp-trac mailing list