File tree Expand file tree Collapse file tree 5 files changed +9
-7
lines changed
Expand file tree Collapse file tree 5 files changed +9
-7
lines changed Original file line number Diff line number Diff 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#line93 "> line 93 </ 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
Original file line number Diff line number Diff 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#line82 "> line 82 </ a >
160+ < a href ="ableplayer.php.html "> ableplayer.php</ a > , < a href ="ableplayer.php.html#line84 "> line 84 </ a >
161161 </ li > </ ul > </ dd >
162162
163163
Original file line number Diff line number Diff line change 9595 'strategy' => 'defer',
9696 )
9797 );
98+ $settings = ableplayer_get_settings();
99+ unset( $settings['last_shortcode'] );
98100 wp_localize_script(
99101 'ableplayer-video',
100102 'ableplayer',
101103 array(
102- 'settings' => ableplayer_get_settings() ,
104+ 'settings' => $settings ,
103105 )
104106 );
105107
461463 'width' => '',
462464 'height' => '',
463465 'heading' => '',
464- 'speed' => 'animals' ,
466+ 'speed' => ableplayer_get_settings( 'default_speed' ) ,
465467 'start' => '',
466468 'volume' => '',
467469 'seekinterval' => '',
582584 if ( ! empty( $all_atts['heading'] ) && 'auto' !== $all_atts['heading'] ) {
583585 $o .= ' data-heading-level="' . esc_attr( $all_atts['heading'] ) . '"';
584586 }
585- if ( ! empty( $all_atts['speed'] ) && ableplayer_get_settings( 'default_speed' ) !== $all_atts['speed'] ) {
587+ if ( ! empty( $all_atts['speed'] ) ) {
586588 $o .= ' data-speed-icons="' . esc_attr( $all_atts['speed'] ) . '"';
587589 }
588590 if ( ! empty( $all_atts['start'] ) ) {
Original file line number Diff line number Diff 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#line106 "> line 106 </ a >
160+ < a href ="ableplayer.php.html "> ableplayer.php</ a > , < a href ="ableplayer.php.html#line108 "> line 108 </ a >
161161 </ li > </ ul > </ dd >
162162
163163
Original file line number Diff line number Diff 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#line370 "> line 370 </ a >
139+ < a href ="ableplayer.php.html "> ableplayer.php</ a > , < a href ="ableplayer.php.html#line372 "> line 372 </ a >
140140 </ li > </ ul > </ dd >
141141
142142
You can’t perform that action at this time.
0 commit comments