[wp-trac] [WordPress Trac] #52250: Standardize sanitization of post title during export

WordPress Trac noreply at wordpress.org
Sun Jan 24 23:46:38 UTC 2021


#52250: Standardize sanitization of post title during export
---------------------------------------------+-----------------------
 Reporter:  jmdodd                           |       Owner:  pento
     Type:  defect (bug)                     |      Status:  accepted
 Priority:  normal                           |   Milestone:  5.7
Component:  Export                           |     Version:  trunk
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch commit needs-dev-note  |     Focuses:
---------------------------------------------+-----------------------

Comment (by pento):

 Interestingly, this bug does point to the behaviour of `the_title_rss`
 being incorrect: per the [https://www.rssboard.org/rss-profile#data-types-
 characterdata RSS spec], the `<title>` field can contain HTML tags,
 clients should just treat it as plain text, though.

 I don't think it's worth changing the behaviour of that filter, though. 🙂

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52250#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list