[wp-trac] Re: [WordPress Trac] #6052: edit.php private post filter does not restrict by user

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 29 21:48:49 GMT 2008


#6052: edit.php private post filter does not restrict by user
---------------------+------------------------------------------------------
 Reporter:  ryan     |        Owner:  anonymous
     Type:  defect   |       Status:  new      
 Priority:  normal   |    Milestone:  2.5      
Component:  General  |      Version:           
 Severity:  normal   |   Resolution:           
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by ryan):

 Proposed: Add 'perm' private query argument that can be 'readable' or
 editable.  Change WP_Query::get_posts() to check perm when querying by
 post_status.  Change wp_counts_posts() to accept a 'perm' argument and do
 the same perm check when querying the number of posts.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6052#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list