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:
parent
74be5a2334
commit
f34b761942
@ -84,6 +84,7 @@ Because of this, an IP blacklist can only be applied while processing the reques
|
|||||||
|
|
||||||
### 1.5.0 / unreleased ###
|
### 1.5.0 / unreleased ###
|
||||||
* Minimum required WordPress version is 4.7
|
* Minimum required WordPress version is 4.7
|
||||||
|
* Removed `load_plugin_textdomain()` and `Domain Path` header
|
||||||
|
|
||||||
### 1.4.4 / 19.05.2018 ###
|
### 1.4.4 / 19.05.2018 ###
|
||||||
* Fix live filter chain when regular expressions are active (#12)
|
* Fix live filter chain when regular expressions are active (#12)
|
||||||
|
@ -86,9 +86,6 @@ class StatifyBlacklist {
|
|||||||
|
|
||||||
// Admin only filters.
|
// Admin only filters.
|
||||||
if ( is_admin() ) {
|
if ( is_admin() ) {
|
||||||
// Load Textdomain (only needed for backend.
|
|
||||||
load_plugin_textdomain( 'statifyblacklist', false, STATIFYBLACKLIST_DIR . '/lang/' );
|
|
||||||
|
|
||||||
// Add actions.
|
// Add actions.
|
||||||
add_action( 'wpmu_new_blog', array( 'StatifyBlacklist_System', 'install_site' ) );
|
add_action( 'wpmu_new_blog', array( 'StatifyBlacklist_System', 'install_site' ) );
|
||||||
add_action( 'delete_blog', array( 'StatifyBlacklist_System', 'uninstall_site' ) );
|
add_action( 'delete_blog', array( 'StatifyBlacklist_System', 'uninstall_site' ) );
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
* Author: Stefan Kalscheuer (@stklcode)
|
* Author: Stefan Kalscheuer (@stklcode)
|
||||||
* Author URI: https://www.stklcode.de
|
* Author URI: https://www.stklcode.de
|
||||||
* Text Domain: statify-blacklist
|
* Text Domain: statify-blacklist
|
||||||
* Domain Path: /lang
|
|
||||||
* License: GPLv2 or later
|
* License: GPLv2 or later
|
||||||
*
|
*
|
||||||
* Statify Blacklist is free software: you can redistribute it and/or modify
|
* Statify Blacklist is free software: you can redistribute it and/or modify
|
||||||
|
Loading…
x
Reference in New Issue
Block a user