[wp-trac] Re: [WordPress Trac] #4711: get_pages and get_posts do
not work well with private posts
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 23 11:00:40 GMT 2008
#4711: get_pages and get_posts do not work well with private posts
-------------------------------------+--------------------------------------
Reporter: Otto42 | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.6
Component: Template | Version: 2.5
Severity: major | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+--------------------------------------
Changes (by chrislear):
* version: 2.2.1 => 2.5
Comment:
I've attached a much smaller diff that works OK for me. I ran it against a
fresh Wordpress 2.5.
All it does is include private pages if it's valid to do so in get_pages.
I didn't need the extra post_status argument (or the whitespace changes)
from the other diff.
--
Ticket URL: <http://trac.wordpress.org/ticket/4711#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list