[wp-trac] [WordPress Trac] #36033: 'kses_allowed_protocols' filter is not really filterable.
    WordPress Trac 
    noreply at wordpress.org
       
    Wed Mar  2 03:58:41 UTC 2016
    
    
  
#36033: 'kses_allowed_protocols' filter is not really filterable.
--------------------------+-----------------------------
 Reporter:  turtlepod     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Security      |     Version:  4.4.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):
 * keywords:   => has-patch
 * milestone:  Awaiting Review => Future Release
Comment:
 Previously brought up in comment:18:ticket:18268.
 This was done (in [31104]) for performance reasons, as running
 `apply_filters()` on each `esc_url()` call would be a performance hit.
 We can't remove the static variable entirely, but we could probably use
 the approach from [31104]. If `esc_url()` was called before
 `plugins_loaded`, it will not prevent plugins from filtering the value on
 `plugins_loaded` or `init`. See [attachment:36033.patch].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36033#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list