Skip to content

Commit aa9214b

Browse files
committed
Final changes for 1.5 release
1 parent 536b9f4 commit aa9214b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

includes/class-shortcode-widget-plugin.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function register_hooks() {
7575
add_action( 'widgets_init', array( $this, 'widget_init' ) );
7676

7777
/** Lets load translations */
78-
add_action( 'plugins_loaded', array( 'load_text_domain' ) );
78+
add_action( 'plugins_loaded', array( $this, 'load_text_domain' ) );
7979
}
8080

8181
/**
@@ -120,6 +120,7 @@ function test_widget() {
120120

121121
}
122122

123+
/** Initialises an object of this class */
123124
Shortcode_Widget_Plugin::get_instance();
124125
}
125126

0 commit comments

Comments
 (0)