[wp-trac] [WordPress Trac] #22358: Trim option names before pre filtering them

WordPress Trac noreply at wordpress.org
Sat Nov 17 13:20:58 UTC 2012


#22358: Trim option names before pre filtering them
------------------------------+---------------------
 Reporter:  evansolomon       |       Owner:  nacin
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  3.5
Component:  General           |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"22633"]:
 {{{
 #!CommitTicketReference repository="" revision="22633"
 Trim the option name in get_option() before calling the pre_option_$option
 filter, not after. props evansolomon. fixes #22358.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22358#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list