[wp-trac] [WordPress Trac] #20017: Reduce memory usage in kses.php

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 21 20:33:46 UTC 2012


#20017: Reduce memory usage in kses.php
-------------------------------------+------------------------------
 Reporter:  duck_                    |       Owner:  duck_
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Performance              |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------------------
Changes (by duck_):

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


Comment:

 In [19976]:
 {{{
 #!CommitTicketReference repository="" revision="19976"
 Reduce memory usage in wp-includes/kses.php by switching unnecessary empty
 arrays to boolean. Fixes #20017.

 safecss_filter_attr() block for style tags must be moved out of the
 is_array() only branch of wp_kses_attr() to accommodate for this.
 }}}

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


More information about the wp-trac mailing list