WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#4036 closed defect (bug) (fixed)

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

Reported by: kipit Owned by: 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 7 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 kipit7 years ago

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

comment:2 foolswisdom7 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.

comment:3 ryan7 years ago

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

comment:4 rob1n7 years ago

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

Righto.

rob1n7 years ago

comment:5 rob1n7 years ago

  • Keywords has-patch added

comment:6 ryan7 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.