[wp-trac] [WordPress Trac] #64107: Block Bindings: Add/update sources for use with Navigation blocks
WordPress Trac
noreply at wordpress.org
Thu Oct 16 18:11:41 UTC 2025
#64107: Block Bindings: Add/update sources for use with Navigation blocks
-----------------------------+----------------------
Reporter: Bernhard Reiter | Owner: (none)
Type: enhancement | Status: assigned
Priority: normal | Milestone: 6.9
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
-----------------------------+----------------------
Block Bindings can be used with the Navigation Link and Navigation Submenu
blocks to make sure that the link destination is kept up-to-date based on
other attributes, even when the destination changes. Specifically, a
Navigation Link or Submenu can point to a given post object or taxonomy
term page; these can be specified by a combination of `kind` (e.g. `post-
type`), `type` (e.g. `page`), and `id` attributes. (The destination can
change if e.g. pretty permalinks are used, and a given page's slug is
changed.)
The `core/post-data` source lends itself for the case of `post-type`
links; however, it needs to expose the given post object's `link` field.
For taxonomy terms, a new `core/term-data` source should be introduced.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64107>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list