Hey all,
I wanted to create another 'admin' user for my blog. I use MyPhpAdmin to make his user level to '10'. It seemed that gave him admin access. He can write pages and such, but when he goes to manage the pages - it says no pages yet. ? It's really strange - he can edit and delete everything else but this.
Any ideas on a solution ? thanks!!
In Manage->Pages a user will see those Pages he/she has written and all Pages from users with a strictly lower user level. Thus, another user with level 10 cannot see the Pages created by Admin (10 is not less than 10).
I suppose ideally there'd be some cutoff: All users above level 8, say, can edit all Pages. You can file it as a bug.
thanks alot mdawaffe
anybody know of a way to change this cutoff - im sure somewhere in the code it has to say if < x or wahtever that i can change it to if <= x ?
In a SQL query right near the top of wp-admin/edit-pages.php
thanks alot!
I fixed this line of code:
AND ($wpdb->users.user_level < $user_level OR $wpdb->posts.post_author = $user_ID)
to just say
users.user_level <= $user_level OR
and it worked perfectly. thanks again