I think Ive found a bug
-
I have found a likely bug that is occurring on several of my sites
in the file
wc-user-functions.php
there are several filters that test current_user_can( ‘shop_manager’ )
but users can obviouly have more than one role and thi causes problems when someone i both a shop_manager and admin. It should really be:
if ( current_user_can( ‘shop_manager’ ) && !current_user_can( ‘administrator’ ))
What do you think
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.