From c5b072debad6cf8c41b0db01ae24aea59f07b813 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 28 May 2007 21:55:12 +0000 Subject: [PATCH] Show drafts that have a published parent. Props mdawaffe. fixes #4356 git-svn-id: https://develop.svn.wordpress.org/trunk@5582 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit-pages.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/wp-admin/edit-pages.php b/wp-admin/edit-pages.php index c866759897..2ab3e3332a 100644 --- a/wp-admin/edit-pages.php +++ b/wp-admin/edit-pages.php @@ -15,6 +15,7 @@ $post_stati = array( // array( adj, noun ) $post_status_label = _c('Pages|manage pages header'); $post_listing_pageable = true; +$post_status_q = ''; if ( isset($_GET['post_status']) && in_array( $_GET['post_status'], array_keys($post_stati) ) ) { $post_status_label = $post_stati[$_GET['post_status']][1]; $post_listing_pageable = false; @@ -58,10 +59,7 @@ printf( _c( '%1$s%2$s|manage pages header' ), $post_status_label, $h2_search );