Skip to content

Commit

Permalink
スキン制御に関する不具合修正
Browse files Browse the repository at this point in the history
  • Loading branch information
yhira committed Aug 19, 2019
1 parent 30a3884 commit 628a572
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/page-settings/_top-page.php
Expand Up @@ -110,13 +110,20 @@

//スキン制御のリセット
global $_THEME_OPTIONS;
$temp_skin_options = $_THEME_OPTIONS;
//_v($temp_skin_options);
//_v($_THEME_OPTIONS);
$_THEME_OPTIONS = array();

//新たなスキン制御を読み込む
if (get_skin_url() && is_admin_php_page()) {
require get_template_directory().'/lib/skin.php'; //スキン
}
//_v($temp_skin_options);
$temp_skin_options = array_merge($temp_skin_options, $_THEME_OPTIONS);
$diff_skin_options = array_diff_assoc($temp_skin_options, $_THEME_OPTIONS);
//_v($diff_skin_options);
$_THEME_OPTIONS = array_merge($_THEME_OPTIONS, $diff_skin_options);
//_v($_THEME_OPTIONS);

endif;
Expand Down

0 comments on commit 628a572

Please sign in to comment.