mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Don't assume that TinyMCE exists, and degrade gracefully if it doesn't. fixes #3272
git-svn-id: https://develop.svn.wordpress.org/trunk@4417 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -30,8 +30,10 @@ $bookmarklet_height= 440;
|
||||
|
||||
<h3><?php _e('Personal Options'); ?></h3>
|
||||
|
||||
<?php if ( rich_edit_exists() ) : // don't bother showing the option if the editor has been removed ?>
|
||||
<p><label for="rich_editing"><input name="rich_editing" type="checkbox" id="rich_editing" value="true" <?php checked('true', get_user_option('rich_editing')); ?> />
|
||||
<?php _e('Use the visual editor when writing') ?></label></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php do_action('profile_personal_options'); ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user