File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 16
16
17
17
$ output .= '<?xml version="1.0" encoding=" ' . get_bloginfo ('charset ' ) . "\" ?> \n" ;
18
18
19
- $ output .= get_the_generator ( 'export ' );
19
+ // $output .= get_the_generator( 'export' );
20
20
21
21
$ output .= '<rss version="2.0"
22
22
xmlns:excerpt="http://wordpress.org/export/ ' . WXR_VERSION . '/excerpt/"
29
29
<title> ' . get_bloginfo_rss ( 'name ' ) . '</title>
30
30
<link> ' . get_bloginfo_rss ( 'url ' ) . '</link>
31
31
<description> ' . get_bloginfo_rss ( 'description ' ) . '</description>
32
- <pubDate> ' . date ( 'D, d M Y H:i:s +0000 ' ) . '</pubDate>
33
32
<language> ' . get_option ( 'rss_language ' ) . '</language>
34
33
<wp:wxr_version> ' . WXR_VERSION . '</wp:wxr_version>
35
34
<wp:base_site_url> ' . wcli_wxr_site_url () . '</wp:base_site_url>
65
64
<wp:post_password> ' . $ post ->post_password . '</wp:post_password>
66
65
' ;
67
66
68
- $ postmeta = $ wpdb ->get_results ( $ wpdb ->prepare ( "SELECT * FROM $ wpdb ->postmeta WHERE post_id = %d " , $ post ->ID ) );
67
+ $ postmeta = $ wpdb ->get_results ( $ wpdb ->prepare ( "SELECT * FROM $ wpdb ->postmeta WHERE post_id = %d ORDER BY meta_key, meta_value ASC " , $ post ->ID ) );
69
68
foreach ( $ postmeta as $ meta ) : if ( $ meta ->meta_key != '_edit_lock ' ) :
70
69
$ output .= '
71
70
<wp:postmeta>
You can’t perform that action at this time.
0 commit comments