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:
Stefan Kalscheuer 2018-05-19 15:09:57 +02:00
parent 74be5a2334
commit f34b761942
3 changed files with 1 additions and 4 deletions

View File

@ -84,6 +84,7 @@ Because of this, an IP blacklist can only be applied while processing the reques
### 1.5.0 / unreleased ###
* Minimum required WordPress version is 4.7
* Removed `load_plugin_textdomain()` and `Domain Path` header
### 1.4.4 / 19.05.2018 ###
* Fix live filter chain when regular expressions are active (#12)

View File

@ -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' ) );

View File

@ -14,7 +14,6 @@
* Author: Stefan Kalscheuer (@stklcode)
* Author URI: https://www.stklcode.de
* Text Domain: statify-blacklist
* Domain Path: /lang
* License: GPLv2 or later
*
* Statify Blacklist is free software: you can redistribute it and/or modify