[wp-trac] [WordPress Trac] #26199: Pass original value to sanitize_option_* filter

WordPress Trac noreply at wordpress.org
Thu May 21 18:00:01 UTC 2015


#26199: Pass original value to sanitize_option_* filter
--------------------------------+------------------------
 Reporter:  simonwheatley       |       Owner:  chriscct7
     Type:  enhancement         |      Status:  closed
 Priority:  normal              |   Milestone:  4.3
Component:  Options, Meta APIs  |     Version:  3.2
 Severity:  normal              |  Resolution:  fixed
 Keywords:  has-patch           |     Focuses:
--------------------------------+------------------------
Changes (by boonebgorges):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"32520"]:
 {{{
 #!CommitTicketReference repository="" revision="32520"
 In `sanitize_option()`, pass the unsanitized `$value` to the filter.

 Props simonwheatley, MikeHansenMe.
 Fixes #26199.
 }}}

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


More information about the wp-trac mailing list