]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/includes/export.php
WordPress 4.1
[autoinstalls/wordpress.git] / wp-admin / includes / export.php
index 397e9e7a035aecaf396e72c107bd58c5a5cf0e98..1ffc1d349d1cac7c632799cbafedab0671524a9a 100644 (file)
 define( 'WXR_VERSION', '1.2' );
 
 /**
- * Generates the WXR export file for download
+ * Generates the WXR export file for download.
  *
  * @since 2.1.0
  *
- * @param array $args Filters defining what should be included in the export
+ * @param array $args Filters defining what should be included in the export.
  */
 function export_wp( $args = array() ) {
        global $wpdb, $post;
@@ -391,8 +391,10 @@ function export_wp( $args = array() ) {
                $is_sticky = is_sticky( $post->ID ) ? 1 : 0;
 ?>
        <item>
-               <?php /** This filter is documented in wp-includes/feed.php */ ?>
-               <title><?php echo apply_filters( 'the_title_rss', $post->post_title ); ?></title>
+               <title><?php
+                       /** This filter is documented in wp-includes/feed.php */
+                       echo apply_filters( 'the_title_rss', $post->post_title );
+               ?></title>
                <link><?php the_permalink_rss() ?></link>
                <pubDate><?php echo mysql2date( 'D, d M Y H:i:s +0000', get_post_time( 'Y-m-d H:i:s', true ), false ); ?></pubDate>
                <dc:creator><?php echo wxr_cdata( get_the_author_meta( 'login' ) ); ?></dc:creator>