Make WordPress Core

Opened 12 years ago

Last modified 6 years ago

#22310 new enhancement

wp_insert_user bit ilogical with rich_editing

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

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 6 years 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
9 years ago

  • Keywords needs-patch added

@saimonh
6 years ago

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

#3 @saimonh
6 years 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 6 years ago by saimonh (previous) (diff)
Note: See TracTickets for help on using tickets.