Make WordPress Core

Ticket #52250: 52250.diff

File 52250.diff, 742 bytes (added by jmdodd, 4 years ago)
  • src/wp-admin/includes/export.php

     
    542542                        foreach ( $posts as $post ) {
    543543                                setup_postdata( $post );
    544544
    545                                 /** This filter is documented in wp-includes/feed.php */
    546                                 $title = apply_filters( 'the_title_rss', $post->post_title );
     545                                /**
     546                                 * Filters the post title used for WXR exports.
     547                                 *
     548                                 * @since
     549                                 *
     550                                 * @param string $post_title Title of the current post.
     551                                 */
     552                                $title = wxr_cdata( apply_filters( 'the_title_export', $post->post_title ) );
    547553
    548554                                /**
    549555                                 * Filters the post content used for WXR exports.