mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 12:14:25 +00:00
Deprecate rich_edit_exists(). It doesn't make sense to support deleting the TinyMCE directory when we have auto-updates. Fixes #26786.
git-svn-id: https://develop.svn.wordpress.org/trunk@26933 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -241,7 +241,7 @@ if ( ! IS_PROFILE_PAGE ) {
|
||||
<h3><?php _e('Personal Options'); ?></h3>
|
||||
|
||||
<table class="form-table">
|
||||
<?php if ( rich_edit_exists() && !( IS_PROFILE_PAGE && !$user_can_edit ) ) : // don't bother showing the option if the editor has been removed ?>
|
||||
<?php if ( ! ( IS_PROFILE_PAGE && ! $user_can_edit ) ) : ?>
|
||||
<tr>
|
||||
<th scope="row"><?php _e('Visual Editor')?></th>
|
||||
<td><label for="rich_editing"><input name="rich_editing" type="checkbox" id="rich_editing" value="false" <?php if ( ! empty( $profileuser->rich_editing ) ) checked( 'false', $profileuser->rich_editing ); ?> /> <?php _e( 'Disable the visual editor when writing' ); ?></label></td>
|
||||
|
||||
Reference in New Issue
Block a user