[wp-trac] [WordPress Trac] #64647: Interactivity API: Update loading bar to use private router store
WordPress Trac
noreply at wordpress.org
Mon Feb 16 13:49:04 UTC 2026
#64647: Interactivity API: Update loading bar to use private router store
-------------------------------+--------------------
Reporter: luisherranz | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 7.0
Component: Interactivity API | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------------+--------------------
The Interactivity Router store contains internal properties
({{{state.navigation.hasStarted}}}, {{{state.navigation.hasFinished}}})
that are not part of the public API. Gutenberg PR
[https://github.com/WordPress/gutenberg/pull/70882 #70882] moves these
properties to a new private {{{core/router/private}}} store and adds
deprecation warnings when they are accessed through the public
{{{core/router}}} store.
The loading bar markup in WordPress Core
({{{WP_Interactivity_API::print_router_markup()}}}) currently uses
{{{data-wp-interactive="core/router"}}} to bind to these internal
navigation properties. This needs to be updated to {{{data-wp-
interactive="core/router/private"}}} so it accesses the private store
directly, avoiding the deprecation warnings.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64647>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list