Prepared for localization

This commit is contained in:
Stefan Kalscheuer 2016-08-17 08:13:10 +02:00
parent aba620277a
commit 5d751e2dc6
3 changed files with 14 additions and 8 deletions

View File

@ -1,8 +1,8 @@
# Statify Blacklist #
* Contributors: Stefan Kalscheuer
* Requires at least: 3.9
* Tested up to: 4.5.3
* Stable tag: 1.1.1
* Tested up to: 4.6
* Stable tag: 1.1.2
* License: GPLv3 or later
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
@ -13,13 +13,13 @@ This plugin adds customizable blacklist to Statify to allow blocking of referer
### Current Features ##
#### Referer Blacklist ####
Add a list of domains (for simplicity onl second-level, e.g. _example.com_ which blocks _everything.example.com_).
Add a list of domains (for simplicity only second-level, e.g. _example.com_ which blocks _everything.example.com_).
#### CleanUp Database ####
Filters can be applied to data stored in database after modifying filter rules or for one-time clean-up.
#### Compatibility ####
This plugin requires Statify to be installed. The extension has been tested with Statify 1.4.2
This plugin requires Statify to be installed. The extension has been tested with Statify 1.4.3
The plugin is capable of handling multisite installations.
### Credits ###
@ -40,6 +40,9 @@ The plugin is capable of handling multisite installations.
1. Statify Blacklist settings page
## Changelog ##
### 1.1.2 / 17.08.2016 ###
* Prepared for localization
### 1.1.1 / 16.08.2016 ###
* Some security fixes

View File

@ -40,6 +40,7 @@ class StatifyBlacklist
* Class constructor
*
* @since 1.0.0
* @changed 1.1.2
*/
public function __construct()
{
@ -59,10 +60,12 @@ 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_Install', 'init_site'));
add_action('delete_blog', array('StatifyBlacklist_System', 'init_site'));
add_filter('plugin_row_meta', array('StatifyBlacklist_Admin', 'plugin_meta_link'), 10, 2);
if (is_multisite()) {

View File

@ -8,7 +8,7 @@ Author: Stefan Kalscheuer
Author URI: https://stklcode.de
Plugin URI: https://wordpress.org/plugins/statify-blacklist
License: GPLv3 or later
Version: 1.1.1
Version: 1.1.2
*/
/* Quit */