Removed load_plugin_textdomain and domain path header
Translation is handled via translate.wordpress.org and minimum required version is greater than 4.6, so the local translation artifacts are dropped.
This commit is contained in:
@ -86,9 +86,6 @@ class StatifyBlacklist {
|
||||
|
||||
// Admin only filters.
|
||||
if ( is_admin() ) {
|
||||
// Load Textdomain (only needed for backend.
|
||||
load_plugin_textdomain( 'statifyblacklist', false, STATIFYBLACKLIST_DIR . '/lang/' );
|
||||
|
||||
// Add actions.
|
||||
add_action( 'wpmu_new_blog', array( 'StatifyBlacklist_System', 'install_site' ) );
|
||||
add_action( 'delete_blog', array( 'StatifyBlacklist_System', 'uninstall_site' ) );
|
||||
|
Reference in New Issue
Block a user