Skip to content
Snippets Groups Projects

feat: remove compilation command

Open Bartek Jaskulski requested to merge v0.10 into main
3 files
+ 29
10
Compare changes
  • Side-by-side
  • Inline

Files

@@ -22,10 +22,18 @@ class I18n implements Hookable {
}
public function __invoke(): void {
$relative_path = str_replace(
WP_PLUGIN_DIR . '/',
'',
$this->plugin->get_path(
$this->plugin->header()->get( 'DomainPath' )
)
);
\load_plugin_textdomain(
$this->plugin->get_slug(),
false,
$this->plugin->header()->get( 'DomainPath' )
$relative_path
);
}
}
Loading