Make WordPress Core


Ignore:
Timestamp:
02/09/2006 10:03:48 AM (18 years ago)
Author:
ryan
Message:

Allow draft pages. Use post_type for object types. Reserve post_status strictly for status. fixes #1820

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-pages.php

    r3422 r3510  
    2626    wp();
    2727else
    28     $posts = $wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_status = 'static'");
     28    $posts = $wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_type = 'page'");
    2929
    3030if ($posts) {
Note: See TracChangeset for help on using the changeset viewer.