[wp-trac] [WordPress Trac] #64622: Real-time collaboration: Add new REST endpoints, setting, and registered post meta
WordPress Trac
noreply at wordpress.org
Wed Mar 4 20:51:09 UTC 2026
#64622: Real-time collaboration: Add new REST endpoints, setting, and registered
post meta
-------------------------------------------------+-------------------------
Reporter: czarate | Owner: ellatrix
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 7.0
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests add-to- | Focuses:
field-guide needs-dev-note |
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):
* status: closed => reopened
* resolution: fixed =>
Comment:
I'm of the view that negative option names are a bad idea as they add
cognitive load for developers. Code needs to be written as `if ( ! $thing
) then { enable() }` whereas `if ( $thing ) { enable() }` is significantly
easier to parse while reading or writing code.
The default option schema also includes options that are falsey by
default, eg allowing registration of users, the use of pages for the blog
listing, privacy page IDs, etc. I think it best to continue previous
practices.
I'd like to revert r61828 and simply change the option default value if
that's the desired change.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64622#comment:48>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list