Opened 8 years ago
Last modified 5 years ago
#37756 new defect (bug)
Allow inline scripts on script aliases
Reported by: | pcfreak30 | Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | 4.5 |
Component: | Script Loader | Keywords: | needs-patch needs-unit-tests |
Focuses: | Cc: |
Description
It appears if add_inline_script
is called on jquery
then it gets ignored, and requires to use jquery-core
The same may apply to styles but not tested. Inline scripts should work on both the main script and the aliases.
Change History (5)
#3
in reply to:
↑ 2
@
8 years ago
Replying to pcfreak30:
@swissspidy why is this set to an older WP version?
Via https://make.wordpress.org/core/handbook/tutorials/trac/opening-a-ticket/#create-a-new-ticket
- Version: The version of WordPress being used. Ideally, this would be the earliest affected or applicable version.
Note: See
TracTickets for help on using
tickets.
@swissspidy why is this set to an older WP version?