File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ function ableplayer_update_settings( $post ) {
260260 $ hide_controls = ( ! empty ( $ post ['hide_controls ' ] ) && 'on ' === $ post ['hide_controls ' ] ) ? 'true ' : 'false ' ;
261261 $ default_speed = ( isset ( $ post ['default_speed ' ] ) ) ? $ post ['default_speed ' ] : 'animals ' ;
262262 $ seek_interval = ( isset ( $ post ['seek_interval ' ] ) && $ post ['seek_interval ' ] > 5 ) ? absint ( $ post ['seek_interval ' ] ) : '' ;
263- $ default_heading = ( isset ( $ post ['default_heading ' ] ) ) ? absint ( $ post ['default_heading ' ] ) : 'auto ' ;
263+ $ default_heading = ( isset ( $ post ['default_heading ' ] ) && ' auto ' !== $ post [ ' default_heading ' ] ) ? absint ( $ post ['default_heading ' ] ) : 'auto ' ;
264264
265265 $ settings ['replace_video ' ] = $ replace_video ;
266266 $ settings ['replace_audio ' ] = $ replace_audio ;
You can’t perform that action at this time.
0 commit comments