From 71f274c5993302e85646b6636fcb5f25bdbadc67 Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@7109 602fd350-edb4-49c9-b593-d223f7449a82 --- 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() ) {