[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 18 12:38:26 UTC 2025


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

 * keywords:  has-patch has-unit-tests needs-testing => has-unit-tests
     needs-refresh dev-feedback


Comment:

 Replying to [comment:26 flixos90]:
 > 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.

 #37181 did not flourish. The current situation with this patch is
 uncertain. Nothing to test, much to discuss.

 Plus, the current patch needs a full `refresh`. Updating workflow, and see
 if this gains back some momentum or it should be also dismissed.

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


More information about the wp-trac mailing list