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

Merge branch 'fix/i18n-hook' into 'master'

Fix hook for textdomain loading

See merge request !12
parents ff1613ae 71767315
No related branches found
No related tags found
1 merge request!12Fix hook for textdomain loading
Pipeline #4895 passed
......@@ -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