Skip to content

Commit 4a2d3b0

Browse files
committed
deploy: 8265fa1
1 parent f8b3c87 commit 4a2d3b0

File tree

5 files changed

+12
-10
lines changed

5 files changed

+12
-10
lines changed

able_player_css.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ <h5>Parameters:</h5>
157157

158158
<dt class="tag-source">Source:</dt>
159159
<dd class="tag-source"><ul class="dummy"><li>
160-
<a href="ableplayer.php.html">ableplayer.php</a>, <a href="ableplayer.php.html#line81">line 81</a>
160+
<a href="ableplayer.php.html">ableplayer.php</a>, <a href="ableplayer.php.html#line82">line 82</a>
161161
</li></ul></dd>
162162

163163

able_player_js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ <h5>Parameters:</h5>
157157

158158
<dt class="tag-source">Source:</dt>
159159
<dd class="tag-source"><ul class="dummy"><li>
160-
<a href="ableplayer.php.html">ableplayer.php</a>, <a href="ableplayer.php.html#line70">line 70</a>
160+
<a href="ableplayer.php.html">ableplayer.php</a>, <a href="ableplayer.php.html#line71">line 71</a>
161161
</li></ul></dd>
162162

163163

ableplayer.php.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@
4141
* Text Domain: ableplayer
4242
* License: MIT
4343
* License URI: https://github.com/ableplayer/ableplayer-wordpress/blob/master/LICENSE
44-
* Version: 2.0.0
44+
* Version: 2.0.0-beta1
4545
*/
4646

4747
// Configure debugging mode.
4848
define( 'ABLEPLAYER_DEBUG', false );
4949

5050
// Get current version number.
51-
define( 'ABLEPLAYER_VERSION', '2.0.0' );
51+
define( 'ABLEPLAYER_VERSION', '2.0.0-beta1' );
5252

5353
require_once plugin_dir_path( __FILE__ ) . 'inc/settings.php';
5454
require_once plugin_dir_path( __FILE__ ) . 'inc/generator.php';
@@ -80,7 +80,8 @@
8080
wp_enqueue_script( 'js-cookie', plugins_url( 'thirdparty', __FILE__ ) . '/js.cookie.js', array( 'jquery' ), $version, true );
8181
wp_enqueue_script( 'vimeo', 'https://player.vimeo.com/api/player.js', array(), $version, true );
8282
wp_enqueue_style( 'ableplayer-video', plugins_url( 'assets', __FILE__ ) . '/css/media.css', array(), $version );
83-
wp_register_script( 'ableplayer-video', plugins_url( 'assets', __FILE__ ) . '/js/media.js', array(), $version, true );
83+
$media_js = ( SCRIPT_DEBUG ) ? 'media.js' : 'media.min.js';
84+
wp_register_script( 'ableplayer-video', plugins_url( 'assets', __FILE__ ) . '/js/' . $media_js, array(), $version, true );
8485
wp_localize_script(
8586
'ableplayer-video',
8687
'ableplayer',
@@ -137,9 +138,10 @@
137138
* Enqueue admin JS and CSS.
138139
*/
139140
function ableplayer_admin_scripts() {
140-
$version = ABLEPLAYER_VERSION;
141-
$version = ( SCRIPT_DEBUG ) ? $version . '-' . wp_rand( 1000, 9999 ) : $version;
142-
wp_enqueue_script( 'ableplayer-js', plugins_url( '/assets/js/admin.js', __FILE__ ), array( 'jquery', 'wp-a11y', 'clipboard' ), $version, true );
141+
$version = ABLEPLAYER_VERSION;
142+
$version = ( SCRIPT_DEBUG ) ? $version . '-' . wp_rand( 1000, 9999 ) : $version;
143+
$admin_js = ( SCRIPT_DEBUG ) ? 'admin.js' : 'admin.min.js';
144+
wp_enqueue_script( 'ableplayer-js', plugins_url( '/assets/js/' . $admin_js, __FILE__ ), array( 'jquery', 'wp-a11y', 'clipboard' ), $version, true );
143145
wp_localize_script(
144146
'ableplayer-js',
145147
'ableplayer',

ableplayer_dependencies.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ <h5>Parameters:</h5>
157157

158158
<dt class="tag-source">Source:</dt>
159159
<dd class="tag-source"><ul class="dummy"><li>
160-
<a href="ableplayer.php.html">ableplayer.php</a>, <a href="ableplayer.php.html#line94">line 94</a>
160+
<a href="ableplayer.php.html">ableplayer.php</a>, <a href="ableplayer.php.html#line95">line 95</a>
161161
</li></ul></dd>
162162

163163

ableplayer_parameters.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ <h5>Parameters:</h5>
136136

137137
<dt class="tag-source">Source:</dt>
138138
<dd class="tag-source"><ul class="dummy"><li>
139-
<a href="ableplayer.php.html">ableplayer.php</a>, <a href="ableplayer.php.html#line348">line 348</a>
139+
<a href="ableplayer.php.html">ableplayer.php</a>, <a href="ableplayer.php.html#line350">line 350</a>
140140
</li></ul></dd>
141141

142142

0 commit comments

Comments
 (0)