Editor: Remove option to disable the visual editor.

Remove the option "Disable the visual editor when writing" from the user profile if it is currently false. If enabled, the option will stay available until disabled.

This was blocked due to issues with tab order and focusability in the classic editor environment until [59188].

Props mark-k, SergeyBiryukov, joedolson, pento, iseulde, chriscct7, afercia, prasadkarmalkar, rcreators, jamieblomerus.
Fixes #34681.
Built from https://develop.svn.wordpress.org/trunk@59695


git-svn-id: http://core.svn.wordpress.org/trunk@59037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
joedolson 2025-01-23 22:49:23 +00:00
parent de74a2bbad
commit e3ae09cc69
2 changed files with 2 additions and 2 deletions

View File

@ -296,7 +296,7 @@ switch ( $action ) {
<h2><?php _e( 'Personal Options' ); ?></h2>
<table class="form-table" role="presentation">
<?php if ( ! ( IS_PROFILE_PAGE && ! $user_can_edit ) ) : ?>
<?php if ( ! ( IS_PROFILE_PAGE && ! $user_can_edit ) && 'false' === $profile_user->rich_editing ) : ?>
<tr class="user-rich-editing-wrap">
<th scope="row"><?php _e( 'Visual Editor' ); ?></th>
<td>

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.8-alpha-59693';
$wp_version = '6.8-alpha-59695';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.