[wp-trac] Re: [WordPress Trac] #2257: Edit Page capability requires
Edit Post in order to work
WordPress Trac
wp-trac at lists.automattic.com
Mon Aug 14 17:05:50 GMT 2006
#2257: Edit Page capability requires Edit Post in order to work
----------------------------------+-----------------------------------------
Reporter: whimsy | Owner: markjaquith
Type: defect | Status: reopened
Priority: normal | Milestone: 2.1
Component: Administration | Version: 2.0
Severity: normal | Resolution:
Keywords: bg|reporter-feedback |
----------------------------------+-----------------------------------------
Changes (by _ck_):
* resolution: fixed =>
* status: closed => reopened
Comment:
I think a little more investigation/debugging needs to be done with the
code additions done to admin-functions.php, specifically after Feb 12th to
Feb 17th - it breaks backwards compatibility, perhaps in an avoidable way.
[http://trac.wordpress.org/changeset/3536
http://trac.wordpress.org/changeset/3536]
After upgrading a blog from 2.0.4 to 2.1a2 I discovered that users with
level 0 or 1 who I had given access to gravatars2 and an extended profile
setup that uses the userextra plugin, could no longer access it - getting
the error:
"''You do not have sufficient permissions to access this page.''"
even though they could see it on the menu properly.
This comes from the added '''$menu_nopriv''' structure which may be built
incorrectly and always returns false for them via
{{{
if ( isset($menu_nopriv[$pagenow]) ) return false;
}}}
It may also be causing some menu items from plugins not to be shown even
at the admin level though I am still tracing that bug - some of my menu
items have disappeared even though I can still directly access them via
the full ?page= url.
--
Ticket URL: <http://trac.wordpress.org/ticket/2257>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list