Skip to content

Commit 45d1f9c

Browse files
committed
remove explicit call to load_plugin_textdomain (#34)
Loading the textdomain explicitly is not required for plugins hosted on w.org since WordPress 4.6. Remove the call from our init routine.
1 parent ca225e1 commit 45d1f9c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

includes/class-scliveticker.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,6 @@ public static function init(): void {
8080
return;
8181
}
8282

83-
// Load Textdomain.
84-
load_plugin_textdomain( 'stklcode-liveticker' );
85-
8683
// Allow shortcodes in widgets.
8784
add_filter( 'widget_text', 'do_shortcode' );
8885

0 commit comments

Comments
 (0)