[wp-trac] [WordPress Trac] #45271: Can't enqueue WordPress 5.0 builtin reactjs
WordPress Trac
noreply at wordpress.org
Sun Nov 4 12:48:27 UTC 2018
#45271: Can't enqueue WordPress 5.0 builtin reactjs
-----------------------------------------+-------------------------
Reporter: CantoThemes | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.0
Component: Script Loader | Version: 5.0
Severity: normal | Resolution:
Keywords: reporter-feedback has-patch | Focuses: javascript
-----------------------------------------+-------------------------
Comment (by ocean90):
[attachment:"45271.2.patch"] removes `wp_register_tinymce_scripts()` from
`wp_default_packages_vendor()` as it's already called by
`wp_default_packages()`. Instead of calling `wp_default_packages()`, call
only `wp_default_packages_vendor()` and `wp_default_packages_scripts()` in
load-scripts.php as TinyMCE has it's own loader.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45271#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list