[wp-trac] [WordPress Trac] #8208: Publishing new pages is tied to publish_posts cap

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 14 04:32:35 GMT 2008


#8208: Publishing new pages is tied to publish_posts cap
----------------------------+-----------------------------------------------
 Reporter:  DD32            |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  normal          |   Milestone:  2.7      
Component:  Administration  |     Version:  2.7      
 Severity:  normal          |    Keywords:  has-patch
----------------------------+-----------------------------------------------
 Attempting to publish a page as a user who doesnt have publish_posts
 capability results in the page being marked as a Pending page.

 It appears that the code uses publish_posts for both publishing pages and
 posts, As well as using edit_published_pages for both posts and pages.

 See attached patch

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8208>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list