[wp-trac] [WordPress Trac] #64294: WooCommerce Blocks: Wrong domain in wp_resource_hints on multisite due to network-level cache (woocommerce_block_asset_resource_hints)

WordPress Trac noreply at wordpress.org
Sun Nov 23 17:41:03 UTC 2025


#64294: WooCommerce Blocks: Wrong domain in wp_resource_hints on multisite due to
network-level cache (woocommerce_block_asset_resource_hints)
--------------------------+-----------------------------
 Reporter:  margelatu     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  6.8.3
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 On a WordPress multisite install with multiple domains (e.g. example.pl,
 example.hu), WooCommerce Blocks outputs <link rel="prefetch"> resource
 hints with the wrong domain on subsites.

 The prefetch URLs on example.hu sometimes point to https://example.pl/...
 instead of https://example.hu/..., even though all WordPress URLs
 (home_url, site_url, content_url, plugins_url) are correctly configured
 per-site.

 This appears to be caused by the WooCommerce Blocks AssetsController
 caching resource hints in a network-level site transient that is shared
 across all subsites.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64294>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list