René's URL Explorer Experiment


Title: Normalise `--rich_editing` and `--syntax_highlighting` on `user update` as `user create` does · Issue #656 · wp-cli/entity-command · GitHub

Open Graph Title: Normalise `--rich_editing` and `--syntax_highlighting` on `user update` as `user create` does · Issue #656 · wp-cli/entity-command

X Title: Normalise `--rich_editing` and `--syntax_highlighting` on `user update` as `user create` does · Issue #656 · wp-cli/entity-command

Description: Follow-up to #637 (merged as 9408392). That PR made user create --rich_editing store what core compares against: src/User_Command.php:445-446 runs the value through FILTER_VALIDATE_BOOLEAN and writes 'true' or 'false'. user update still ...

Open Graph Description: Follow-up to #637 (merged as 9408392). That PR made user create --rich_editing store what core compares against: src/User_Command.php:445-446 runs the value through FILTER_VALIDATE_BOOLEAN and writ...

X Description: Follow-up to #637 (merged as 9408392). That PR made user create --rich_editing store what core compares against: src/User_Command.php:445-446 runs the value through FILTER_VALIDATE_BOOLEAN and writ...

Opengraph URL: https://github.com/wp-cli/entity-command/issues/656

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Normalise `--rich_editing` and `--syntax_highlighting` on `user update` as `user create` does","articleBody":"Follow-up to #637 (merged as 9408392). That PR made `user create --rich_editing` store what core compares against: `src/User_Command.php:445-446` runs the value through `FILTER_VALIDATE_BOOLEAN` and writes `'true'` or `'false'`. `user update` still hands the raw string to `wp_update_user()` (`src/User_Command.php:601-629`, `parent::_update()` at `:629`), and core stores it as given (`wp-includes/user.php:2514`, `:2516`).\n\nCore reads the two options as string literals:\n\n- `user_can_richedit()` enables the editor only when the stored value is exactly `'true'` (`wp-includes/general-template.php:4200`). So `wp user update 5 --rich_editing=1` disables the visual editor for that user.\n- The code editor is switched off only when the stored value is exactly `'false'` (`general-template.php:4317`). So `wp user update 5 --syntax_highlighting=0` leaves syntax highlighting on.\n\nBoth flags report `Success:` either way. The docblocks at `src/User_Command.php:546-552` say \"'true' or 'false' as a string literal, not boolean\", which is accurate, but a flag that accepts `1` and `0` on `create` and silently inverts or ignores them on `update` is a trap.\n\nDone looks like: `update()` normalises `rich_editing` and `syntax_highlighting` the way `create()` does before calling `parent::_update()`, the two docblocks say the same as the `create` one (`'true'`/`'false'` or `1`/`0`), and `features/user.feature` has a scenario for each flag on `user update` with a numeric value. Same handling for `syntax_highlighting` on `create` while at it, since `create` does not touch it today.","author":{"url":"https://github.com/schlessera","@type":"Person","name":"schlessera"},"datePublished":"2026-09-14T19:06:36Z","url":"https://github.com/wp-cli/entity-command/issues/656"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e6cd64ec-3332-931a-589d-a3053359cea1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8F1C:196034:3B5454D:4EC63AA:6AFA3434
html-safe-noncecba3719710bf08ceb6c1a8105aa0723916f62e6a8ff4e7e65a24fb5fec3657af
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjFDOjE5NjAzNDozQjU0NTREOjRFQzYzQUE6NkFGQTM0MzQiLCJ2aXNpdG9yX2lkIjoiNzQ2OTYxMjA0OTg3ODM2NTIzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdb8c87b8339728741e5b84fae94f4269fde00cf717e5fcdb5db481db50c3bd9e
hovercard-subject-tagissue:5453438264
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/wp-cli/entity-command/656/issue_layout
twitter:imagehttps://opengraph.githubassets.com/651d6bc61ec4d0f6345a98aa93c3fd1a96a4c6ca8ceeaa3e4fc3c18d8a6a99f2/wp-cli/entity-command/issues/656
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/651d6bc61ec4d0f6345a98aa93c3fd1a96a4c6ca8ceeaa3e4fc3c18d8a6a99f2/wp-cli/entity-command/issues/656
og:image:altFollow-up to #637 (merged as 9408392). That PR made user create --rich_editing store what core compares against: src/User_Command.php:445-446 runs the value through FILTER_VALIDATE_BOOLEAN and writ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameschlessera
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-preview
go-importgithub.com/wp-cli/entity-command git https://github.com/wp-cli/entity-command.git
octolytics-dimension-user_id1570774
octolytics-dimension-user_loginwp-cli
octolytics-dimension-repository_id87201389
octolytics-dimension-repository_nwowp-cli/entity-command
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id87201389
octolytics-dimension-repository_network_root_nwowp-cli/entity-command
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/wp-cli/entity-command/issues/656#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fentity-command%2Fissues%2F656
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fentity-command%2Fissues%2F656
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=wp-cli%2Fentity-command
Reloadhttps://github.com/wp-cli/entity-command/issues/656
Reloadhttps://github.com/wp-cli/entity-command/issues/656
Reloadhttps://github.com/wp-cli/entity-command/issues/656
wp-clihttps://github.com/wp-cli
entity-commandhttps://github.com/wp-cli/entity-command
Codehttps://github.com/wp-cli/entity-command
Issues9 (9)https://github.com/wp-cli/entity-command/issues
Pull requests10 (10)https://github.com/wp-cli/entity-command/pulls
Actionshttps://github.com/wp-cli/entity-command/actions
Security and qualityhttps://github.com/wp-cli/entity-command/security
Insightshttps://github.com/wp-cli/entity-command/pulse
https://github.com/wp-cli/entity-command
New issuehttps://github.com/login?return_to=https://github.com/wp-cli/entity-command/issues/656
New issuehttps://github.com/login?return_to=https://github.com/wp-cli/entity-command/issues/656
#657https://github.com/wp-cli/entity-command/pull/657
Normalise --rich_editing and --syntax_highlighting on user update as user create doeshttps://github.com/wp-cli/entity-command/issues/656#top
#657https://github.com/wp-cli/entity-command/pull/657
https://github.com/swissspidy
https://github.com/copilot-swe-agent
bughttps://github.com/wp-cli/entity-command/issues?q=state%3Aopen%20label%3A%22bug%22
command:user-createRelated to 'user create' commandhttps://github.com/wp-cli/entity-command/issues?q=state%3Aopen%20label%3A%22command%3Auser-create%22
command:user-updateRelated to 'user update' commandhttps://github.com/wp-cli/entity-command/issues?q=state%3Aopen%20label%3A%22command%3Auser-update%22
good-first-issueGood for newcomershttps://github.com/wp-cli/entity-command/issues?q=state%3Aopen%20label%3A%22good-first-issue%22
https://github.com/schlessera
schlesserahttps://github.com/schlessera
on Sep 14, 2026https://github.com/wp-cli/entity-command/issues/656#issue-5453438264
#637https://github.com/wp-cli/entity-command/pull/637
9408392https://github.com/wp-cli/entity-command/commit/940839201a5bc5244d51b90ad590cd98148ff5fd
github-actionshttps://github.com/apps/github-actions
bughttps://github.com/wp-cli/entity-command/issues?q=state%3Aopen%20label%3A%22bug%22
command:user-createRelated to 'user create' commandhttps://github.com/wp-cli/entity-command/issues?q=state%3Aopen%20label%3A%22command%3Auser-create%22
command:user-updateRelated to 'user update' commandhttps://github.com/wp-cli/entity-command/issues?q=state%3Aopen%20label%3A%22command%3Auser-update%22
on Sep 14, 2026https://github.com/wp-cli/entity-command/issues/656#event-31123926114
schlesserahttps://github.com/schlessera
good-first-issueGood for newcomershttps://github.com/wp-cli/entity-command/issues?q=state%3Aopen%20label%3A%22good-first-issue%22
on Sep 14, 2026https://github.com/wp-cli/entity-command/issues/656#event-31127807588
swissspidyhttps://github.com/swissspidy
Copilothttps://github.com/apps/copilot-swe-agent
swissspidyhttps://github.com/swissspidy
on Sep 15, 2026https://github.com/wp-cli/entity-command/issues/656#event-31159991808
Copilothttps://github.com/apps/copilot-swe-agent
Normalize `user update` editor preference flags to core string literals #657https://github.com/wp-cli/entity-command/pull/657
on Sep 15, 2026https://github.com/wp-cli/entity-command/issues/656#event-31160035023
swissspidyhttps://github.com/swissspidy
completedhttps://github.com/wp-cli/entity-command/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#657https://github.com/wp-cli/entity-command/pull/657
on Sep 15, 2026https://github.com/wp-cli/entity-command/issues/656#event-31168504578
Sign up for freehttps://github.com/signup?return_to=https://github.com/wp-cli/entity-command/issues/656
Sign in to commenthttps://github.com/login?return_to=https://github.com/wp-cli/entity-command/issues/656
Copilothttps://github.com/apps/copilot-swe-agent
swissspidyhttps://github.com/swissspidy
bughttps://github.com/wp-cli/entity-command/issues?q=state%3Aopen%20label%3A%22bug%22
command:user-createRelated to 'user create' commandhttps://github.com/wp-cli/entity-command/issues?q=state%3Aopen%20label%3A%22command%3Auser-create%22
command:user-updateRelated to 'user update' commandhttps://github.com/wp-cli/entity-command/issues?q=state%3Aopen%20label%3A%22command%3Auser-update%22
good-first-issueGood for newcomershttps://github.com/wp-cli/entity-command/issues?q=state%3Aopen%20label%3A%22good-first-issue%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.