[wp-trac] [WordPress Trac] #62422: Can't edit pages after update to 6.7 and also later after downgrade
WordPress Trac
noreply at wordpress.org
Thu Jan 30 20:42:21 UTC 2025
#62422: Can't edit pages after update to 6.7 and also later after downgrade
-------------------------------------------------+-------------------------
Reporter: levskipg | Owner: desrosj
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.7.2
Component: Editor | Version: 6.7
Severity: critical | Resolution: fixed
Keywords: has-patch fixed-major dev-feedback | Focuses:
commit has-unit-tests |
-------------------------------------------------+-------------------------
Changes (by jorbin):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"59741" 59741]:
{{{
#!CommitTicketReference repository="" revision="59741"
External Libraries: Append .1 to react/react-dom versions.
In 6.7, [58775] changed the way react and react-dom are bundled in Core.
This commit resulted in some changes to the built files that are
distributed in WordPress even though the actual version of the libraries
remained the same. The result can be a blank white screen when trying to
edit a post when those two script files are heavily cached.
This uses `.1` as the appendage to prevent issues with third party code
expecting the version number in the form `/^[\d\.]+$/`.
Updates include tests in
`Tests_Dependencies_Scripts::test_vendor_script_versions_registered_manually`
to include the modified version used for cache busting.
Reviewed by jorbin.
Merges [59536] and [59540] to 6.7 branch.
Props levskipg, get_dave, smerriman, jdnd, juanwp22, seanlanglands,
robertstaddon, azaozz, peterwilsoncc, desrosj.
Fixes #62422.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62422#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list