Skip to content
Snippets Groups Projects
Commit 71767315 authored by Erick Hitter's avatar Erick Hitter
Browse files

Fix hook for textdomain loading

parent ff1613ae
Branches
Tags
1 merge request!12Fix hook for textdomain loading
Pipeline #4894 passed
This commit is part of merge request !12. Comments created here will be created in the context of that merge request.
......@@ -80,7 +80,7 @@ class taxonomy_dropdown_widget_plugin {
* @return null
*/
protected function setup() {
add_action( 'plugin_loaded', array( $this, 'load_textdomain' ) );
add_action( 'plugins_loaded', array( $this, 'load_textdomain' ) );
add_action( 'widgets_init', array( $this, 'action_widgets_init' ) );
register_activation_hook( __FILE__, array( $this, 'activation_hook' ) );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment