Skip to content

Commit 21c3834

Browse files
committed
remove default
1 parent b734a14 commit 21c3834

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/class-hello-kushimoto.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,14 @@ public function __construct() {
2323
new Hello_Kushimoto_Admin_Panel( $this->option_manager );
2424

2525
$speaker_class = $this->option_manager->get_speaker();
26+
2627
if( class_exists( $speaker_class, true ) ) {
2728
$speaker = new $speaker_class;
29+
$this->speaker = apply_filters( 'hello_kushimoto_speaker', $speaker );
30+
$this->initialize_modules();
2831
}
29-
else {
30-
$speaker = new Miyasan();
31-
}
3232

33-
$this->speaker = apply_filters( 'hello_kushimoto_speaker', $speaker );
34-
$this->initialize_modules();
33+
3534

3635
}
3736

0 commit comments

Comments
 (0)