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

WordPress Trac noreply at wordpress.org
Tue Jul 5 16:35:34 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:  Future
Component:  Options, Meta APIs                   |  Release
 Severity:  normal                               |     Version:  3.0
 Keywords:  has-patch has-unit-tests needs-      |  Resolution:
  testing                                        |     Focuses:  multisite
-------------------------------------------------+-------------------------
Changes (by flixos90):

 * milestone:  4.6 => Future Release


Comment:

 We need to think further on what the implementation of this ticket will
 look like. Especially given a possible #37181, we could improve the way we
 handle network options a lot (think `register_meta()` here) - although
 it's a pain in terms of naming conventions.

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


More information about the wp-trac mailing list