Opened 13 years ago
Closed 11 years ago
#26199 closed enhancement (fixed)
Pass original value to sanitize_option_* filter
| Reported by: | simonwheatley | Owned by: | chriscct7 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.3 |
| Component: | Options, Meta APIs | Version: | 3.2 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
Currently the sanitize_option_{$option_name} filter differs from other esc and sanitization filters in that it does not pass the original value. It should.
Attachments (4)
Change History (10)
#2
@
12 years ago
I've refreshed the patch:
- The intended effect still works (original value passed as a third parameter)
- Four unit tests fail, see below, but these appear unrelated
Version 0, edited 12 years ago by
(next)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Adds the original value to the sanitize_option_* filter (now without my dirty test which breaks TwentyThirteen)