From 884be4169fa5f878206f75d454f64a776ef5adb6 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 29 Feb 2008 21:49:49 +0000 Subject: [PATCH] Add option to check caps when querying a particular post status. fixes #6052 git-svn-id: http://svn.automattic.com/wordpress/trunk@7109 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit.php | 4 +++- wp-admin/includes/post.php | 4 +++- wp-includes/classes.php | 2 +- wp-includes/post.php | 12 ++++++++++-- wp-includes/query.php | 23 ++++++++++++++++++++--- 5 files changed, 37 insertions(+), 8 deletions(-) diff --git a/wp-admin/edit.php b/wp-admin/edit.php index b14caee781..8c3ead571e 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -81,13 +81,15 @@ if ( is_single() ) {