Skip to content

Commit 81284aa

Browse files
committed
deploy: 3a5fb7a
1 parent 68b4164 commit 81284aa

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

ableplayer.php.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
// Enqueue Able Player script and CSS.
107107
wp_enqueue_script( 'ableplayer', $js_dir, array( 'jquery' ), ABLEPLAYER_VERSION );
108108
wp_enqueue_style( 'ableplayer', $css_dir, array(), ABLEPLAYER_VERSION );
109-
110109
}
111110
add_action( 'wp_enqueue_scripts', 'ableplayer_enqueue_scripts' );
112111

@@ -492,13 +491,13 @@
492491
/**
493492
* Test whether a given able player property is true.
494493
*
495-
* @param bool|string|int $var A boolean-like value that should be treated as boolean.
494+
* @param bool|string|int $condition A boolean-like value that should be treated as boolean.
496495
*
497496
* @return bool
498497
*/
499-
function ableplayer_is_true( $var ) {
498+
function ableplayer_is_true( $condition ) {
500499
// check for all variations that might be considered 'true'.
501-
if ( '1' === $var || 'yes' === $var || 'true' === $var || 1 === $var || true === $var ) {
500+
if ( '1' === $condition || 'yes' === $condition || 'true' === $condition || 1 === $condition || true === $condition ) {
502501
return true;
503502
} else {
504503
return false;

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#line295">line 295</a>
139+
<a href="ableplayer.php.html">ableplayer.php</a>, <a href="ableplayer.php.html#line294">line 294</a>
140140
</li></ul></dd>
141141

142142

0 commit comments

Comments
 (0)