Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Plugin: Remove `user_can_richedit` filtering #13608
This pull request seeks to remove Gutenberg filtering originally introduced in #5670 to resolve an issue where an error could occur with the Classic Block when a user disabled the Visual Editing mode (#5667). This was later addressed by building in native handling for the setting to Gutenberg as part of #12151 (a previous attempt at #12000). Thus, the filter removed here is not necessary, and is in-fact not part of the core implementation of the block editor introduced with WordPress 5.0 (reference).
Repeat testing instructions from #12151
referenced this pull request
Jan 30, 2019
mcsf left a comment
Looks pretty clean and in parity with core.
I tested a bunch of combinations with Classic and other blocks, with and without the Gutenberg plugin, with ACF and a field present, and toggling the Disable visual editor setting. No issues spotted.