[wp-trac] [WordPress Trac] #8174: get_editable_user_ids() only check
capabilities for post even when editing pages
WordPress Trac
wp-trac at lists.automattic.com
Wed Nov 12 13:49:45 GMT 2008
#8174: get_editable_user_ids() only check capabilities for post even when editing
pages
-----------------------+----------------------------------------------------
Reporter: olethomas | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: General | Version: 2.7
Severity: normal | Keywords:
-----------------------+----------------------------------------------------
The function get_editable_user_ids() doesn't check if user is editing a
page. It only check capabilities for edit_others_posts and edit_post. Can
cause error in edit-page-form.php line 335 (revision 9633) if user hasn't
got edit_post cap.
--
Ticket URL: <http://trac.wordpress.org/ticket/8174>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list