Make WordPress Core


Ignore:
Timestamp:
05/28/2007 09:55:12 PM (17 years ago)
Author:
ryan
Message:

Show drafts that have a published parent. Props mdawaffe. fixes #4356

File:
1 edited

Legend:

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

    r5575 r5582  
    1616$post_status_label = _c('Pages|manage pages header');
    1717$post_listing_pageable = true;
     18$post_status_q = '';
    1819if ( isset($_GET['post_status']) && in_array( $_GET['post_status'], array_keys($post_stati) ) ) {
    1920    $post_status_label = $post_stati[$_GET['post_status']][1];
     
    5960wp("post_type=page&orderby=menu_order&what_to_show=posts$post_status_q&posts_per_page=-1&posts_per_archive_page=-1&order=asc");
    6061
    61 if ( $_GET['s'] )
    62     $all = false;
    63 else
    64     $all = true;
     62$all = !( $h2_search || $post_status_q );
    6563
    6664if ($posts) {
Note: See TracChangeset for help on using the changeset viewer.