User tests: Successful: Unsuccessful:
Pull Request for Issue #23083.
This fixes class_exists() check so guest user group can be retrieved from component configuration.
a) See the output of var_dump(JFactory::getUser()->getAuthorisedViewLevels()); when not logged in.
b) Create a menu item. Set its access level to Guest. Open site and look at menu module when not logged in.
a) Guest user group included:  array(3) { [0]=> int(1) [1]=> int(1) [2]=> int(5) }
b) Menu item shown.
a) Guest user group not included: array(2) { [0]=> int(1) [1]=> int(1) }
b) Menu item not shown.
No.
| Status | New | ⇒ | Pending | 
| Category | ⇒ | Libraries | 
| Labels | 
                                        Added: 
?
 | 
    ||
I have tested this item 
I have tested this item 
Remove comment...
@bembelimen this doesn't change the default value.
| Status | Pending | ⇒ | Fixed in Code Base | 
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-11-21 23:15:46 | 
| Closed_By | ⇒ | wilsonge | 
Thanks!
@test This fix works for me. Thanks @SharkyKZ