Opened 6 years ago
Closed 6 years ago
#47418 closed defect (bug) (duplicate)
$GLOBALS['wp_scripts']->registered['jquery'] contains "-wp" now
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.2.1 |
Component: | Script Loader | Keywords: | |
Focuses: | Cc: |
Description
the jQuery version now has "-wp" tacked onto the end of it and will break uses like pulling a cdn version of jquery. 1.12.4-wp is not a jquery version. please prepend that somewhere else.
wp_enqueue_script('jquery', "code.jquery.com/jquery-{$system_jquery->ver}.min.js", [], $system_jquery->ver, true);
Change History (1)
Note: See
TracTickets for help on using
tickets.
Hello @glovaci, welcome to WordPress Trac!
This was already reported in #47342 so I'm going to close yours as a duplicate of it.