Changeset 4495 for trunk/wp-admin/export.php
- Timestamp:
- 11/19/2006 07:56:05 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/export.php
r4485 r4495 73 73 74 74 <!-- generator="wordpress/<?php bloginfo_rss('version') ?>" created="<?php echo date('Y-m-d H:m'); ?>"--> 75 <rss version="2.0" 75 <rss version="2.0" 76 76 xmlns:content="http://purl.org/rss/1.0/modules/content/" 77 77 xmlns:wfw="http://wellformedweb.org/CommentAPI/" … … 109 109 <wp:post_type><?php echo $post->post_type; ?></wp:post_type> 110 110 <?php 111 $postmeta = $wpdb->get_results("SELECT * FROM $wpdb->postmeta WHERE post_id = $post->ID"); 111 $postmeta = $wpdb->get_results("SELECT * FROM $wpdb->postmeta WHERE post_id = $post->ID"); 112 112 if ( $postmeta ) { 113 113 ?> … … 120 120 <?php } ?> 121 121 <?php 122 $comments = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = $post->ID"); 122 $comments = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = $post->ID"); 123 123 if ( $comments ) { foreach ( $comments as $c ) { ?> 124 124 <wp:comment>
Note: See TracChangeset
for help on using the changeset viewer.