Make WordPress Core


Ignore:
Timestamp:
01/13/2014 12:00:00 AM (11 years ago)
Author:
azaozz
Message:

Deprecate rich_edit_exists(). It doesn't make sense to support deleting the TinyMCE directory when we have auto-updates. Fixes #26786.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/user-edit.php

    r26924 r26933  
    242242
    243243<table class="form-table">
    244 <?php if ( rich_edit_exists() && !( IS_PROFILE_PAGE && !$user_can_edit ) ) : // don't bother showing the option if the editor has been removed ?>
     244<?php if ( ! ( IS_PROFILE_PAGE && ! $user_can_edit ) ) : ?>
    245245    <tr>
    246246        <th scope="row"><?php _e('Visual Editor')?></th>
Note: See TracChangeset for help on using the changeset viewer.