[wp-trac] [WordPress Trac] #29621: Export post title with markup

WordPress Trac noreply at wordpress.org
Thu Sep 11 08:30:41 UTC 2014


#29621: Export post title with markup
--------------------------+------------------------------
 Reporter:  GaryJ         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Export        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------
Changes (by GaryJ):

 * keywords:   => has-patch


Comment:

 A messier but more backwards-compatible solution would be to unattach
 `strip_tags`, `ent2ncr` and `esc_html` from `the_title_rss`, and attach a
 call to `wxr_cdata()`, echo it, then optionally unattach it again
 afterwards.

 Patch attached.

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


More information about the wp-trac mailing list