[wp-trac] [WordPress Trac] #16713: Wordpress removes title attribute from images

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 2 04:51:00 UTC 2011


#16713: Wordpress removes title attribute from images
--------------------------+------------------------------
 Reporter:  ukdmbfan      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+------------------------------
Changes (by solarissmoke):

 * keywords:  needs-patch => dev-feedback
 * component:  General => Formatting


Comment:

 Patch adds `title` to allowed `img` attributes.

 However, the `title` attribute is allowed anywhere in HTML. Is there any
 reason why we can't tell kses to allow it on all elements? I can't see any
 security reason not to let authors use title attributes wherever they
 like.

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


More information about the wp-trac mailing list