Skip to content

Commit

Permalink
Merge pull request #333 from vektor-inc/fix/ctype_digit-error
Browse files Browse the repository at this point in the history
ctype_digit のエラー修正
  • Loading branch information
kurudrive authored Nov 19, 2024
2 parents 25f0220 + f97218c commit b3d32c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ function biz_vektor_set_localize_script() {
);

global $biz_vektor_options;
if ( isset( $biz_vektor_options['slider_slidespeed'] ) && ctype_digit( $biz_vektor_options['slider_slidespeed'] ) ) {
if ( isset( $biz_vektor_options['slider_slidespeed'] ) && ctype_digit( (string) $biz_vektor_options['slider_slidespeed'] ) ) {
$flexslider['slideshowSpeed'] = $biz_vektor_options['slider_slidespeed'];
}
if ( isset( $biz_vektor_options['slider_animation'] ) && $biz_vektor_options['slider_animation'] ) {
Expand Down

0 comments on commit b3d32c8

Please sign in to comment.