[wp-trac] [WordPress Trac] #21741: wp_script_is() and wp_style_is() should use 'enqueued' so it reads like a sentence

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 30 17:27:21 UTC 2012


#21741: wp_script_is() and wp_style_is() should use 'enqueued' so it reads like a
sentence
-------------------------+-----------------
 Reporter:  nacin        |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  3.5
Component:  General      |    Version:
 Severity:  normal       |   Keywords:
-------------------------+-----------------
 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().

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21741>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list