[wp-trac] [WordPress Trac] #14758: Do not run kses on display filters for front page views

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 3 15:01:35 UTC 2010


#14758: Do not run kses on display filters for front page views
-------------------------+--------------------------------------------------
 Reporter:  ryan         |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.1
Component:  Performance  |     Version:     
 Severity:  normal       |    Keywords:     
-------------------------+--------------------------------------------------

Comment(by ryan):

 Performance measured with xdebug and cachegrind.  When Rasmus does his PHP
 performance presentation, we get dinged for how slow this is, particularly
 in wp_list_bookmarks() -> sanitize_bookmark_field() -> apply_filters() ->
 wp_kses_data().  Imagine if we did kses on post_content and post_title
 during display.

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


More information about the wp-trac mailing list