[wp-trac] [WordPress Trac] #19437: Pass post type as a class to TinyMCE init

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 13 23:34:01 UTC 2012


#19437: Pass post type as a class to TinyMCE init
-------------------------+---------------------
 Reporter:  markjaquith  |       Owner:  azaozz
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  3.4
Component:  TinyMCE      |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:               |
-------------------------+---------------------

Comment (by jamescollins):

 For security, do we need to esc_attr() the $body_class variable?

 That's what we do at the end of the get_body_class() function
 (http://core.trac.wordpress.org/browser/trunk/wp-includes/post-
 template.php#L545).

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


More information about the wp-trac mailing list