Did you test shortcode under regular users or as admin?
Take into account that shortcode does not work for user with ‘administrator’ role. There is no restrictions for administrator. I do not process [user_role_editor] shortcode for administrator for this reason.
Oh I see. Yes, it is working for other uses. That’s a relief.
I think I understand your rationale for not processing the shortcode for administrators, but I think it would it be more useful to process the shortcode still so that I know there isn’t an error if I see the shortcode printed on the screen. It also helps when designing pages to not have the extra code showing on the page, and for other site admins to know there isn’t a problem. Just my perspective based on how I use this feature.
Thanks for sharing your opinion. You are not alone. I will add a custom filter to the next version in order it will be possible to change this default logic and process the shortcode for administrator the same way as for any other user.
glad i searched before posting 🙂 i got confused too. i don’t mind shortcode shows for admin i can find a workaround. But as admin, i have specific content on the website showing on the front end. That is a use case that may need a future solution, maybe a little parameter to show in case of admin. Thanks!