Opened 9 years ago
Closed 9 years ago
#35841 closed enhancement (duplicate)
Acceptance string deps
Reported by: | sebastian.pisula | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Script Loader | Keywords: | has-patch |
Focuses: | Cc: |
Description
I think that if my script file require only jquery then I should can set as string.
For example:
<?php wp_enqueue_script( 'handle', 'url', 'jquery' );
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
In wp-includes/class.wp-dependencies.php:489 is condition: