Make WordPress Core

Opened 2 years ago

Last modified 22 months ago

#56317 new defect (bug)

“document.domain” setting

Reported by: ashoot96's profile ashoot96 Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: javascript Cc:


Hi Team,

I submit a ticket for review as suggested in this post (

Do you know any plans to address “document.domain” setting problem in upcoming WordPress releases:

I check the latest WordPress release (v6.0.1) and it has four JavaScript libraries using this property:

  • wp-admin\js\gallery.js
  • wp-includes\js\tinymce\wp-tinymce.js
  • wp-includes\js\dist\vendor\wp-polyfill.js
  • wp-includes\js\dist\vendor\wp-polyfill-url.js

Change History (4)

#1 @audrasjb
2 years ago

  • Component changed from Gallery to General
  • Milestone changed from Awaiting Review to 6.1

Hello @ashoot96 and welcome to WordPress Core Trac,

Thank you for opening this ticket, I'm moving it to the next major release (milestone 6.1).

This ticket was mentioned in Slack in #core by audrasjb. View the logs.

22 months ago

#3 @audrasjb
22 months ago

  • Milestone changed from 6.1 to Future Release

We reviewed this with @Clorith during today's bug scrub.

As per @Clorith's comment: The issue is still lacking a patch, and the version span since FireFox changed it's implementation (the only one it seems like at this time?), without anything breaking, I don't think the pressure is high, although should obviously be resolved at some point to follow best practices and web standards.

Moving to Future Release. Anyone is welcome to work on a patch :)

#4 @desrosj
22 months ago

  • Version trunk deleted

Just a note, wp-polyfill and wp-polyfill-url are external libraries maintained elsewhere in @wordpress/babel-preset-default and core-js-url-browser core-js-url-browser respectively.

Note: See TracTickets for help on using tickets.