[wp-trac] [WordPress Trac] #13383: Validate the HTML in the admin area

WordPress Trac wp-trac at lists.automattic.com
Fri May 14 09:19:34 UTC 2010


#13383: Validate the HTML in the admin area
----------------------------+-----------------------------------------------
 Reporter:  nacin           |       Owner:             
     Type:  task (blessed)  |      Status:  new        
 Priority:  normal          |   Milestone:  3.0        
Component:  Administration  |     Version:  3.0        
 Severity:  normal          |    Keywords:  needs-patch
----------------------------+-----------------------------------------------

Comment(by TobiasBg):

 > (In [14628]) Ensure validation.

 To avoid the second function call in line 160, we could optimize the code
 to something like

 {{{
 if ( $bg_color = get_background_color() )
     $background_styles .= "background-color: #{$bg_color};";
 }}}

 instead.

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


More information about the wp-trac mailing list