Repository navigation
Commit 51e8a79
Normalise --rich_editing to the strings core compares against
wp_insert_user() stores the raw value and user_can_richedit() checks it
with `=== 'true'`, so `--rich_editing=1` disabled the editor. Map the
flag to 'true' or 'false' and document the accepted values for both
`user create` and `user update`.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QWUCg3yvcZ4uDBf2cwQ7X11 parent b022cfa commit 51e8a79
3 files changed
Lines changed: 37 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8422 | 8422 | | |
8423 | 8423 | | |
8424 | 8424 | | |
8425 | | - | |
| 8425 | + | |
| 8426 | + | |
8426 | 8427 | | |
8427 | 8428 | | |
8428 | 8429 | | |
| |||
10089 | 10090 | | |
10090 | 10091 | | |
10091 | 10092 | | |
10092 | | - | |
| 10093 | + | |
| 10094 | + | |
10093 | 10095 | | |
10094 | 10096 | | |
10095 | 10097 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
894 | 894 | | |
895 | 895 | | |
896 | 896 | | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | | - | |
| 384 | + | |
| 385 | + | |
385 | 386 | | |
386 | 387 | | |
387 | 388 | | |
| |||
438 | 439 | | |
439 | 440 | | |
440 | 441 | | |
441 | | - | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
442 | 446 | | |
443 | 447 | | |
444 | 448 | | |
| |||
539 | 543 | | |
540 | 544 | | |
541 | 545 | | |
542 | | - | |
| 546 | + | |
| 547 | + | |
543 | 548 | | |
544 | 549 | | |
545 | 550 | | |
| |||
0 commit comments