Make WordPress Core

Opened 5 weeks ago

#63308 new defect (bug)

tinymce cache key should be updated

Reported by: oferlaor's profile oferlaor Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Editor Keywords:
Focuses: Cc:

Description

when I paste a youtube link into wordpress classic editor, I get this error:

tinymce.min.js?ver=49110-20201110:2 Uncaught IndexSizeError: Failed to execute ‘setStart’ on ‘Range’: There is no child at offset 12.
at Kh (tinymce.min.js?ver=49110-20201110:2:218016)
at tN. (tinymce.min.js?ver=49110-20201110:2:410)
at c.fire (tinymce.min.js?ver=49110-20201110:2:197006)
at tN.fire (tinymce.min.js?ver=49110-20201110:2:197532)
at ev.nodeChanged (tinymce.min.js?ver=49110-20201110:2:220592)
at tN.nodeChanged (tinymce.min.js?ver=49110-20201110:2:345084)
at tN. (tinymce.min.js?ver=49110-20201110:2:220079)
at c.fire (tinymce.min.js?ver=49110-20201110:2:197006)
at tN.fire (tinymce.min.js?ver=49110-20201110:2:197532)
at Pp (tinymce.min.js?ver=49110-20201110:2:199169)

So, I tried to compare what I had with 6.7.2, turns out the issue is that there are small changes to TinyMCE (not sure since when) but the cache key (wp-includes/version.php) has not been updated for a while.

$tinymce_version = '49110-20201110';

For sites that have no cloudflare/similar cache, it might not make a difference, but those that might get an incorrect tinymce version and some errors...

Change History (0)

Note: See TracTickets for help on using tickets.