Make WordPress Core

Changeset 7111


Ignore:
Timestamp:
02/29/2008 10:29:57 PM (17 years ago)
Author:
ryan
Message:

Restrict edit.php searches to posts. No pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/post.php

    r7109 r7111  
    530530    }
    531531
    532     wp("what_to_show=posts$post_status_q&posts_per_page=20&order=$order&orderby=$orderby");
     532    wp("post_type=post&what_to_show=posts$post_status_q&posts_per_page=20&order=$order&orderby=$orderby");
    533533
    534534    return array($post_stati, $avail_post_stati);
Note: See TracChangeset for help on using the changeset viewer.