Skip to content

Commit

Permalink
Fix: typo producing Class 'CZR__' not found in classical retro compat
Browse files Browse the repository at this point in the history
  • Loading branch information
eri-trabiccolo committed Jun 18, 2017
1 parent 9c3f2f7 commit b41b1a3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion inc/_dev/class-fire-init_retro_compat.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function czr_fn_maybe_move_old_socials_to_customizer_fmk( $theme_options ) {
return array();
}

$_old_socials = CZR__::$instance -> old_socials;
$_old_socials = CZR___::$instance -> old_socials;
$_old_filtered_socials = apply_filters( 'tc_default_socials', $_old_socials );

/*
Expand Down
25 changes: 12 additions & 13 deletions inc/czr-init.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,7 @@ public function czr_fn_unset_core_classes( $_tree, $_groups = array(), $_files =
}//end of class
endif;

?>
<?php
?><?php
/**
* Declares Customizr default settings
* Adds theme supports using WP functions
Expand Down Expand Up @@ -1738,13 +1737,13 @@ function czr_fn_mainwrapper_start() {
?>
<div id="main-wrapper" class="<?php echo implode(' ', apply_filters( 'tc_main_wrapper_classes' , array('container') ) ) ?>">

<?php do_action( '__before_main_container' ); ##hook of the featured page (priority 10) and breadcrumb (priority 20)...and whatever you need! ?>
<?php do_action( '__before_main_container' ); ##hook of the featured page (priority 10) and breadcrumb (priority 20)...and whatever you need! ?>

<div class="container" role="main">
<div class="<?php echo implode(' ', apply_filters( 'tc_column_content_wrapper_classes' , array('row' ,'column-content-wrapper') ) ) ?>">

<?php do_action( '__before_article_container'); ##hook of left sidebar?>
<?php do_action( '__before_article_container'); ##hook of left sidebar?>

<div id="content" class="<?php echo implode(' ', apply_filters( 'tc_article_container_class' , array( CZR_utils::czr_fn_get_layout( czr_fn_get_id() , 'class' ) , 'article-container' ) ) ) ?>">

<?php do_action ('__before_loop');##hooks the header of the list of post : archive, search... ?>
Expand All @@ -1753,17 +1752,17 @@ function czr_fn_mainwrapper_start() {

function czr_fn_mainwrapper_end() {
?>
<?php do_action ('__after_loop');##hook of the comments and the posts navigation with priorities 10 and 20 ?>
<?php do_action ('__after_loop');##hook of the comments and the posts navigation with priorities 10 and 20 ?>

</div><!--.article-container -->

<?php do_action( '__after_article_container'); ##hook of left sidebar?>
<?php do_action( '__after_article_container'); ##hook of left sidebar?>

</div><!--.row -->
</div><!-- .container role: main -->

<?php do_action( '__after_main_container' ); ?>
<?php do_action( '__after_main_container' ); ?>

</div><!-- //#main-wrapper -->
<?php
}
Expand Down Expand Up @@ -2936,7 +2935,7 @@ function czr_fn_maybe_move_old_socials_to_customizer_fmk( $theme_options ) {
return array();
}

$_old_socials = CZR__::$instance -> old_socials;
$_old_socials = CZR___::$instance -> old_socials;
$_old_filtered_socials = apply_filters( 'tc_default_socials', $_old_socials );

/*
Expand Down

0 comments on commit b41b1a3

Please sign in to comment.