Opened 11 years ago
Closed 11 years ago
#35841 closed enhancement (duplicate)
Acceptance string deps
| Reported by: | sebastian.pisula | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Script Loader | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In wp-includes/class.wp-dependencies.php:489 is condition: