Skip to content

Commit 6da69c2

Browse files
committed
Not necessary to enqueue jQuery if enqueuing as dependency
1 parent 7328ec1 commit 6da69c2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/ableplayer.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ function ableplayer_plugin_deactivated() {
4545
* Load styles and scripts to head.
4646
*/
4747
function ableplayer_enqueue_scripts() {
48-
// Documentation: http://codex.wordpress.org/Function_Reference/wp_enqueue_script.
49-
// Register/enqueue common scripts that can be called automatically with just their handles (as of WP 3.5).
50-
wp_enqueue_script( 'jquery' );
51-
5248
// Register/enqueue other dependencies.
5349
wp_enqueue_script( 'js-cookie', plugins_url( 'thirdparty', __FILE__ ) . '/js.cookie.js', array( 'jquery' ) );
5450
wp_enqueue_script( 'vimeo', 'https://player.vimeo.com/api/player.js' );

0 commit comments

Comments
 (0)