Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,48 @@ The entries below describe the current prototype state._
category cannot be deleted (core's capability mapping denies the cap, and
`wp_delete_term()` refuses the term). Rides the same
`taxonomy_show_in_abilities` opt-in and content category as the query.
- `show_in_rest` exposure flag on the three tier-core backports
(`core/content-query`, `core/settings-get`, `core/users-query`): their
`ability_meta()` now sets the flag explicitly under a `// Package:` marker,
so the abilities stay exposed over core's REST abilities routes on every
supported WordPress (6.9+) — core's own registration omits the flag and
relies on `meta.public` seeding it, which WordPress 7.1+ only does. The same
accommodation the AI plugin's synced copies carry with their `// Plugin:`
marker, made once in the package; the coreify round-trip gate tolerates
exactly this marked line and nothing more (a `PKG_META_ACCOMMODATIONS` map:
`--reverse` re-injects the flag into regenerated backports, forward drops it
behind `// Package:`-verified markers), and the trio tests pin
`meta.show_in_rest === true` with the high-level `public` meta unchanged.
### Changed

- `core/users-query` (**breaking**, core trunk r65002): the flat `registered_date`
output field became a `registered` object with dotted sub-fields —
`registered.site` (the site's timezone) and `registered.gmt` (UTC), both
null-on-unusable-stored-date ISO 8601 strings — and the `fields` input now
accepts dotted paths via `get_field_paths()`/`is_field_requested()`
(`rest_is_field_included()`): requesting `registered` returns both sub-fields,
a sub-field path returns only that one, and the `fields` input `enum` lists
the dotted paths. Synced with the AI plugin's 1.5.0 copies; the fixture and
the backport are regenerated through `tools/coreify.php --reverse`.
- `core/content-query` (core trunk r65075-era): the author-visibility rework —
`get_visible_author()` resolves an author through one memoized rule per query
(`$visible_authors`), with an `edit_user` capability branch and the posts
count restricted to publicly viewable post types exposed through
`show_in_abilities`; the `author` field nulls `name`/`slug` when the current
user may not see the author. The `where.author_slug` string filter became a
`where.author` object with `id`/`slug` (error paths `where[author]`,
`where[author][id]`, `where[author][slug]`); a slug that names no user, a user
the current user may not see, or an `id`/`slug` pair naming different users
match no post (an empty page, not an error). The `date.local` output path
became `date.site`, and the class ships trunk's `array_all()`/`array_any()`
calls (runtime-safe: core's own compat polyfills cover PHP < 8.4 — the plugin
copies swap in loops only against its static-analysis stubs).
- Trunk fixture snapshots: content and users refreshed from today's
wordpress-develop trunk (the r65075-/r65002-era classes; settings was already
current) with refreshed provenance headers, regenerating both backports
through `coreify --reverse` — the §7.0 `show_in_rest` `// Package:` meta
accommodation survives regeneration by design.

### Removed

- `wp/post-create` — the self-authored experimental write-ability prototype
Expand Down
Loading
Loading