WordPress.org

Make WordPress Core

Changeset 6077


Ignore:
Timestamp:
09/11/07 18:56:16 (7 years ago)
Author:
ryan
Message:

Use setup_postdata instead of deprecated start_wp. fixes #3188

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/export.php

    r6076 r6077  
    194194            $posts = $wpdb->get_results("SELECT * FROM $wpdb->posts $where ORDER BY post_date_gmt ASC"); 
    195195                foreach ($posts as $post) { 
    196             start_wp(); ?> 
     196            setup_postdata($post); ?> 
    197197<item> 
    198198<title><?php the_title_rss() ?></title> 
Note: See TracChangeset for help on using the changeset viewer.