Skip to content

Commit

Permalink
release: fixes
Browse files Browse the repository at this point in the history
- Fixed issues with the latest release causing errors in the customizer
  • Loading branch information
vytisbulkevicius authored Nov 22, 2024
2 parents 273bf59 + fc649b9 commit c38d544
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions obfx_modules/companion-legacy/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@ public function hooks() {
}

if ( $this->is_hestia() ) {
$this->loader->add_action( 'after_setup_theme', $this, 'hestia_require' );
$this->loader->add_action( 'after_setup_theme', $this, 'hestia_fix_duplicate_widgets' );
$this->hestia_require();
$this->hestia_fix_duplicate_widgets();
$this->loader->add_action( 'wp_enqueue_scripts', $this, 'hestia_enqueue_clients_style' );
$this->loader->add_filter( 'hestia_clients_bar_default_content', $this, 'hestia_load_clients_default_content' );
$this->loader->add_filter( 'hestia_top_bar_alignment_default', $this, 'hestia_top_bar_default_alignment' );
Expand All @@ -310,7 +310,7 @@ public function hooks() {
}

if ( $this->is_hestia_pro() ) {
$this->loader->add_action( 'after_setup_theme', $this, 'hestia_fix_duplicate_widgets' );
$this->hestia_fix_duplicate_widgets();
$this->loader->add_filter( 'hestia_clients_bar_default_content', $this, 'hestia_load_clients_default_content' );
$this->loader->add_filter( 'hestia_top_bar_alignment_default', $this, 'hestia_top_bar_default_alignment' );
}
Expand Down
2 changes: 1 addition & 1 deletion obfx_modules/custom-fonts/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function hooks() {
$this->loader->add_action( 'admin_enqueue_scripts', $this, 'enqueue_media_scripts' );

$admin_instance = new Custom_Fonts_Admin();
$this->loader->add_action( 'init', $admin_instance, 'create_taxonomy' );
$admin_instance->create_taxonomy();
$this->loader->add_action( 'admin_menu', $admin_instance, 'add_to_menu' );
$this->loader->add_action( 'admin_head', $admin_instance, 'edit_custom_font_form' );
$this->loader->add_filter( 'manage_edit-obfx_custom_fonts_columns', $admin_instance, 'manage_columns' );
Expand Down

0 comments on commit c38d544

Please sign in to comment.