Prepared for localization
This commit is contained in:
parent
aba620277a
commit
5d751e2dc6
11
README.md
11
README.md
@ -1,8 +1,8 @@
|
|||||||
# Statify Blacklist #
|
# Statify Blacklist #
|
||||||
* Contributors: Stefan Kalscheuer
|
* Contributors: Stefan Kalscheuer
|
||||||
* Requires at least: 3.9
|
* Requires at least: 3.9
|
||||||
* Tested up to: 4.5.3
|
* Tested up to: 4.6
|
||||||
* Stable tag: 1.1.1
|
* Stable tag: 1.1.2
|
||||||
* License: GPLv3 or later
|
* License: GPLv3 or later
|
||||||
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
* 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 ##
|
### Current Features ##
|
||||||
#### Referer Blacklist ####
|
#### 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 ####
|
#### CleanUp Database ####
|
||||||
Filters can be applied to data stored in database after modifying filter rules or for one-time clean-up.
|
Filters can be applied to data stored in database after modifying filter rules or for one-time clean-up.
|
||||||
|
|
||||||
#### Compatibility ####
|
#### 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.
|
The plugin is capable of handling multisite installations.
|
||||||
|
|
||||||
### Credits ###
|
### Credits ###
|
||||||
@ -40,6 +40,9 @@ The plugin is capable of handling multisite installations.
|
|||||||
1. Statify Blacklist settings page
|
1. Statify Blacklist settings page
|
||||||
|
|
||||||
## Changelog ##
|
## Changelog ##
|
||||||
|
### 1.1.2 / 17.08.2016 ###
|
||||||
|
* Prepared for localization
|
||||||
|
|
||||||
### 1.1.1 / 16.08.2016 ###
|
### 1.1.1 / 16.08.2016 ###
|
||||||
* Some security fixes
|
* Some security fixes
|
||||||
|
|
||||||
|
@ -40,6 +40,7 @@ class StatifyBlacklist
|
|||||||
* Class constructor
|
* Class constructor
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
|
* @changed 1.1.2
|
||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
@ -59,10 +60,12 @@ 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_action('wpmu_new_blog', array('StatifyBlacklist_Install', 'init_site'));
|
add_action('wpmu_new_blog', array('StatifyBlacklist_Install', 'init_site'));
|
||||||
|
|
||||||
add_action('delete_blog', array('StatifyBlacklist_System', 'init_site'));
|
add_action('delete_blog', array('StatifyBlacklist_System', 'init_site'));
|
||||||
|
|
||||||
add_filter('plugin_row_meta', array('StatifyBlacklist_Admin', 'plugin_meta_link'), 10, 2);
|
add_filter('plugin_row_meta', array('StatifyBlacklist_Admin', 'plugin_meta_link'), 10, 2);
|
||||||
|
|
||||||
if (is_multisite()) {
|
if (is_multisite()) {
|
||||||
|
@ -8,7 +8,7 @@ Author: Stefan Kalscheuer
|
|||||||
Author URI: https://stklcode.de
|
Author URI: https://stklcode.de
|
||||||
Plugin URI: https://wordpress.org/plugins/statify-blacklist
|
Plugin URI: https://wordpress.org/plugins/statify-blacklist
|
||||||
License: GPLv3 or later
|
License: GPLv3 or later
|
||||||
Version: 1.1.1
|
Version: 1.1.2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Quit */
|
/* Quit */
|
Loading…
x
Reference in New Issue
Block a user