WordPress.org

Make WordPress Core

Opened 7 years ago

Last modified 17 months ago

#22310 new enhancement

wp_insert_user bit ilogical with rich_editing

Reported by: thomask Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.5
Component: Users Keywords: needs-patch
Focuses: Cc:
PR Number:

Description

when you do wp_insert_user with rich_editing = TRUE it actually set rich_editing to "1" what is then interpreted as FALSE. I know (after searching why it does not work for me), that for actually setting true you need to set rich_editing to empty value, but anyway i think it is not optimal

Attachments (1)

patch.diff (5.3 KB) - added by saimonh 17 months ago.
make rich_editing, syntax_highlighting and show_admin_bar_front user meta more logical in wp_insert_user function

Download all attachments as: .zip

Change History (4)

#2 @chriscct7
4 years ago

  • Keywords needs-patch added

@saimonh
17 months ago

make rich_editing, syntax_highlighting and show_admin_bar_front user meta more logical in wp_insert_user function

#3 @saimonh
17 months ago

  • Version set to 4.9.5

@chriscct7 @SergeyBiryukov  Hello would you please review the patch I submitted? It will fix the issue and won't break anything.

Regards

Last edited 17 months ago by saimonh (previous) (diff)
Note: See TracTickets for help on using tickets.