Make WordPress Core


Ignore:
Timestamp:
10/24/2006 03:57:19 AM (18 years ago)
Author:
markjaquith
Message:

Don't assume that TinyMCE exists, and degrade gracefully if it doesn't. fixes #3272

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/profile.php

    r4349 r4417  
    3131<h3><?php _e('Personal Options'); ?></h3>
    3232
     33<?php if ( rich_edit_exists() ) : // don't bother showing the option if the editor has been removed ?>
    3334<p><label for="rich_editing"><input name="rich_editing" type="checkbox" id="rich_editing" value="true" <?php checked('true', get_user_option('rich_editing')); ?> />
    3435<?php _e('Use the visual editor when writing') ?></label></p>
     36<?php endif; ?>
    3537
    3638<?php do_action('profile_personal_options'); ?>
Note: See TracChangeset for help on using the changeset viewer.