Skip to content

Commit f6bd71a

Browse files
Merge pull request #76 from Codeinwp/fix/74
Fixed early textdomain loading issue
2 parents 66b0c3b + 27fe90c commit f6bd71a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

inc/Block_Patterns.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ class Block_Patterns {
3737
* Block_Patterns constructor.
3838
*/
3939
public function __construct() {
40-
$this->setup_properties();
41-
4240
add_action( 'init', array( $this, 'run' ) );
4341
}
4442

@@ -48,6 +46,7 @@ public function __construct() {
4846
* @return void
4947
*/
5048
public function run() {
49+
$this->setup_properties();
5150
$this->register_categories();
5251
$this->register_patterns();
5352
}

0 commit comments

Comments
 (0)