Opened 9 months ago
Closed 9 months ago
#21741 closed enhancement (fixed)
wp_script_is() and wp_style_is() should use 'enqueued' so it reads like a sentence
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
wp_script_is( $handle, $list = 'queue' ) reads like "Is the script queue?" Another parameter for $list is 'registered', "Is the script registered?" Given that the function is wp_enqueue_script(), we should allow for $list = 'enqueued', as in "Is the script enqueued?" Same goes for wp_style_is().
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.

21741.diff: