WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #35379, comment 24


Ignore:
Timestamp:
06/06/2016 05:29:25 PM (3 years ago)
Author:
flixos90
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35379, comment 24

    initial v1  
    77
    88My proposal would be to follow the approach of having one flexible function for sanitization and aim for a 4.6 merge with that - and then possibly, in a follow-up ticket, continue to think about ways to split up these function into separate. I don't see any backwards-compatibility issues in coming up with outsourcing parts of the one function-approach / wrapping it in a `sanitize_network_option()` at a later point.
     9
     10A minor note to your patch: I think we would still need the original `sanitize_option` filter to be present in the `sanitize_network_option()` function (for backwards compatibility, see https://core.trac.wordpress.org/ticket/35698#comment:2).