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.
This commit is contained in:
@@ -80,9 +80,6 @@ class SCLiveticker {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load Textdomain.
|
|
||||||
load_plugin_textdomain( 'stklcode-liveticker' );
|
|
||||||
|
|
||||||
// Allow shortcodes in widgets.
|
// Allow shortcodes in widgets.
|
||||||
add_filter( 'widget_text', 'do_shortcode' );
|
add_filter( 'widget_text', 'do_shortcode' );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user