Skip to content

Commit c4d3979

Browse files
committed
Update lang path, versions in scripts, plugin name.
1 parent 3a5fb7a commit c4d3979

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ableplayer.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
* @license MIT
88
*
99
* @wordpress-plugin
10-
* Plugin Name: Able Player
10+
* Plugin Name: Able Player WordPress plugin, accessible HTML5 media player
1111
* Plugin URI: https://github.com/ableplayer/ableplayer-wordpress
1212
* Description: This plug-in uses Able Player, an open-source fully-accessible cross-browser HTML5 media player, to embed audio or video within your WordPress page.
1313
* Author: Terrill Thompson
1414
* Author URI: http://terrillthompson.com
1515
* Text Domain: ableplayer
1616
* License: MIT
1717
* License URI: https://github.com/ableplayer/ableplayer-wordpress/blob/master/LICENSE
18-
* Domain Path: lang
18+
* Domain Path: /lang
1919
* Version: 1.2.1
2020
*/
2121

@@ -46,8 +46,8 @@ function ableplayer_plugin_deactivated() {
4646
*/
4747
function ableplayer_enqueue_scripts() {
4848
// Register/enqueue other dependencies.
49-
wp_enqueue_script( 'js-cookie', plugins_url( 'thirdparty', __FILE__ ) . '/js.cookie.js', array( 'jquery' ) );
50-
wp_enqueue_script( 'vimeo', 'https://player.vimeo.com/api/player.js' );
49+
wp_enqueue_script( 'js-cookie', plugins_url( 'thirdparty', __FILE__ ) . '/js.cookie.js', array( 'jquery' ), ABLEPLAYER_VERSION );
50+
wp_enqueue_script( 'vimeo', 'https://player.vimeo.com/api/player.js', array(), ABLEPLAYER_VERSION );
5151

5252
// if the environment is production, use minified files. Otherwise, inherit the value of SCRIPT_DEBUG.
5353
$is_production = ( function_exists( 'wp_get_environment_type' ) && wp_get_environment_type() === 'production' ) ? true : SCRIPT_DEBUG;

0 commit comments

Comments
 (0)