-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editing "Page" is broken for low capability users #68053
Comments
confirmed there also DescriptionSince 19.8, the Editor role gets a blank page only on Page when editing it (it's ok on story) The solution is to deactivate the gutenberg plugin, to bring back the editing capability to users with the Editor role. Step-by-step reproduction instructions
Screenshots, screen recording, code snippetNo response Environment infoWP 6.7.1 Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
|
Hi @Marc-pi, for now, instead of deactivating
It will make the content visible for users with editor role. The issue here is we are not getting any templates in non-admin roles (which seems to be a regression issue ) and in this #62304 we have set the default rendering mode to |
yep, i was just reading #62304 to understand what was done, and was about to undertstand i can fix with a filter ;-) |
I would recommend using the add_filter( 'register_post_type_args', function( $args ) {
unset( $args['default_rendering_mode'] );
return $args;
}, 20 ); |
Nothing is rendered in the editor canvas when editing pages using a non-administrator user (Editor). The bug doesn't affect WP 6.7. I think this is a regression since #62304.
Testing Instructions
Screenshot
The text was updated successfully, but these errors were encountered: