Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#4036 closed defect (bug) (fixed)

rich_editing checkbox forgotten on /wp-admin/user-edit.php

Reported by: kipit's profile kipit Owned by: rob1n's profile rob1n
Milestone: 2.2 Priority: normal
Severity: major Version: 2.2
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

This page should be very similar with /wp-admin/profile.php, but the rich_editing setting was forgotten. When an admin "edit a user", this setting fallback to false. The following code should be added to /wp-admin/user-edit.php around line 85 :

<h3><?php _e('Personal Options'); ?></h3>

<p><label for="rich_editing"><input name="rich_editing" type="checkbox" id="rich_editing" value="true" <?php checked('true', $profileuser->rich_editing); ?> />
<?php _e('Use the visual editor when writing') ?></label></p>

<p class="submit"><input type="submit" value="<?php _e('Update User &raquo;') ?>" name="submit" /></p>

Maybe we should make something to getting something similar to <?php do_action('profile_personal_options'); ?> in the /wp-admin/user-edit.php page.

WPmu r5116

Attachments (1)

4036.diff (726 bytes) - added by rob1n 18 years ago.

Download all attachments as: .zip

Change History (7)

#1 @kipit
18 years ago

Oups, I wanted to say :
WP r5116 and not WPmu r5116 (ticket backport from WPmu trac ;-))

#2 @foolswisdom
18 years ago

  • Milestone changed from 2.3 to 2.2
  • Priority changed from low to normal
  • Severity changed from normal to major
  • Version set to 2.2

kipit, thank you! I experienced this bug, but never tracked down the reproduction steps. I have also seen this in a demo, so it is easy for a person to do a new installation and never discover the Visual editor.

#3 @ryan
18 years ago

If the setting is being lost, let's patch it up.

#4 @rob1n
18 years ago

  • Owner changed from anonymous to rob1n
  • Status changed from new to assigned

Righto.

@rob1n
18 years ago

#5 @rob1n
18 years ago

  • Keywords has-patch added

#6 @ryan
18 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [5125]) Add rich editing checkbox to user-edit so that the setting isn't stomped. Props kipit. fixes #4036

Note: See TracTickets for help on using tickets.