Skip to content

Commit

Permalink
修复部分设置项开关失效的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
owen0o0 committed Feb 20, 2023
1 parent aaf634d commit 62bdeb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions inc/frame/cs-framework-path.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ function io_get_option( $option_name = '', $default = '' ) {
$io_get_option = $options;
}

if( ! empty( $option_name ) && ! empty( $options[$option_name] ) ) {
if( !empty( $option_name ) && isset( $options[$option_name] ) ) {
return $options[$option_name];
} else {
return ( ! empty( $default ) ) ? $default : null;
return ( !empty( $default ) ) ? $default : null;
}

}
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Theme Name:WebStack
Theme URI:https://www.iotheme.cn
Description:wordpress 导航主题!官方网站:<a href="https://www.iotheme.cn">一为主题</a>,</br><a href="https://www.iotheme.cn/store/onenav.html">升级到最新的OneNav导航主题</a>,体验更多功能
Version:1.1821
Version:1.1822
Requires at least: 5.4
Tested up to: 5.8
Requires PHP: 5.6
Expand Down

0 comments on commit 62bdeb3

Please sign in to comment.