[wp-trac] [WordPress Trac] #36033: 'kses_allowed_protocols' filter is not really filterable.

WordPress Trac noreply at wordpress.org
Tue Oct 24 13:24:45 UTC 2017


#36033: 'kses_allowed_protocols' filter is not really filterable.
--------------------------+-----------------------------
 Reporter:  turtlepod     |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Future Release
Component:  Security      |     Version:  4.4.2
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"41990"]:
 {{{
 #!CommitTicketReference repository="" revision="41990"
 Formatting: Make sure `wp_allowed_protocols()` is filterable until
 `wp_loaded` has fired.

 Fixes the issue with plugins not being able to use the
 `kses_allowed_protocols` filter if `esc_url()` was called too early.

 Props turtlepod, SergeyBiryukov.
 Fixes #36033.
 }}}

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


More information about the wp-trac mailing list