[Plugin: NextGEN Gallery] Bug in TinyMCE Button Permission
-
If you use the RoleManager plugin and create a new role that cant edit posts but pages, the button to insert a new image, will not let you do these.
For people who use WordPress only to publish pages and no posts that is a problem.
But its easy to fix:
in the file: /nextgen-gallery/admin/tinymce/window.php on the top below
“//check rights”://check rights if ( !is_user_logged_in() || !current_user_can('edit_posts') ) wp_die(__("You are not allowed to be here"));
the important is:
!current_user_can('edit_posts')
These case is not accurate.
I have comment it out to
if ( !is_user_logged_in() /*|| !current_user_can('edit_posts')*/ )
dont think it will couse security troubles to
please Alex rabe ?nder(change) das(this) ??
- The topic ‘[Plugin: NextGEN Gallery] Bug in TinyMCE Button Permission’ is closed to new replies.