Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

Ticket #66246 (Interactivity API: Add server-side processing for the new data-wp-html ...) reopened

Дата публикации: 16-10-2026 13:18:06


Reopening for a follow-up to [64386].
In [64386], a token created with wp_interactivity_as_dangerous_html() prints as {} in the client data, and tokens reached through state are listed in derivedStateClosures so the client keeps their server-rendered content until a store supplies a value. Tokens reached through context can't be listed, for example context.item.html in a data-wp-each item. They reach the client as {}, and the client empties the element on hydration.
The follow-up prints every token as a marker, {"wpServerHtml":true}, which the client recognizes wherever it appears and treats like a pending value: the element keeps its server-rendered content until a client value replaces it. The client side is ​https://github.com/WordPress/gutenberg/pull/84889.
A PR from @santosguillamot will follow.


Основное содержимое страницы с новостью.

Javascript required

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Ticket #66220 (Media: route media modal uploads through the client-side pipeline) closed012.916-10-2026
2Ticket #66327 (REST API: Add action-set-homepage and action-set-posts-page links to pages) created09.8316-10-2026
3Ticket #62762 (WP_Widget_Categories::widget(): use int or bool for $cat_args values ...) closed06.9116-10-2026
4Ticket #66268 (Add `core/content-query` ability) closed09.1116-10-2026
5Ticket #66328 (Recovery mode does not recognize network-activated plugins) created05.9216-10-2026
6Ticket #66325 (Abilities API: Allow abilities to declare required capabilities) created06.0216-10-2026
7Changeset [64407]: Build/Test Tools: Verify published post content on the front end. ...010.2516-10-2026
8Changeset [64413]: Widgets: Use booleans in Categories widget arguments. The Categories ...07.4416-10-2026
9Ticket #66324 (The wp.updates QUnit tests have never run) closed06.9716-10-2026
10Hast du schon mal von der InteractivityAPI gehört?011.0604-07-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 9.54. Источник: core.trac.wordpress.org.