Skip to content

Commit 4431fc3

Browse files
author
Praesidiarius
committed
wordpress plugin review team feedback
1 parent f32372f commit 4431fc3

File tree

4 files changed

+81
-5
lines changed

4 files changed

+81
-5
lines changed

wpplc-swissknife/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

wpplc-swissknife/includes/Modules/Revisions.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,14 @@ final class Revisions {
2929
*/
3030
public function register() {
3131
// change autosave interval from 60 to 300 seconds
32-
define('AUTOSAVE_INTERVAL', 300);
32+
if(defined('AUTOSAVE_INTERVAL')) {
33+
define('AUTOSAVE_INTERVAL', 300);
34+
}
3335

3436
// disable post revision
35-
define('WP_POST_REVISIONS', false);
37+
if(defined('WP_POST_REVISIONS')) {
38+
define('WP_POST_REVISIONS', false);
39+
}
3640
}
3741

3842
/**

wpplc-swissknife/readme.txt

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
=== WP PLC Swissknife ===
2+
Contributors: oneplacewp
3+
Donate link: https://1plc.ch
4+
Tags: GDPR, cookie law, perfomance, security, comments, xmlrpc
5+
Requires at least: 4.6
6+
Tested up to: 5.3
7+
Stable tag: stable
8+
Requires PHP: 5.4
9+
License: GPLv2 or later
10+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
11+
12+
A simple and lightweight plugin to enhance performance, stability and security of wordpress
13+
14+
== Description ==
15+
16+
Ensures you comply with the EU cookie law GDPR regulations with following features:
17+
18+
* Enable IP anonymization for Google Sitekit (Analytics)
19+
20+
21+
Also with this plugin you can disable some functions which are unnessecarry for a lot of wordpress installations
22+
23+
* Disable Comments
24+
* Disable XML-RPC
25+
* Disable Post Revisions
26+
* Set Autosave from 60 to 300 seconds
27+
* Remove Wordpress Emojis
28+
29+
== Installation ==
30+
31+
1. Upload `wpplc-swissknife.php` to the `/wp-content/plugins/` directory.
32+
2. Activate the plugin through the 'Plugins' menu in WordPress.
33+
34+
== Frequently Asked Questions ==
35+
36+
= What can I do with this plugin? =
37+
38+
Disable the above listed functions in wordpress to enhance perfomance and security.
39+
40+
= How do I setup this plugin? =
41+
42+
Just install and active. no setup or configuration yet.
43+
44+
== Screenshots ==
45+
1. There is currently no UI for this plugin
46+
47+
== Changelog ==
48+
49+
= 0.3.3 =
50+
* Removed display_errors
51+
* Added readme.txt
52+
* only define AUTOSAVE_INTERVAL and WP_POST_REVISIONS if defined
53+
54+
= 0.3.2 =
55+
* Code Cleanup
56+
* First Version for Wordpress.org Repo
57+
58+
== Upgrade Notice ==
59+
60+
= 0.3.3 =
61+
* Implemented Feedback from Wordpress Plugin Review Team
62+
63+
= 0.3.2 =
64+
* First publicly available version.
65+
66+
== Feedback and support ==
67+
68+
I would be happy to receive your feedback to improve this plugin.
69+
Please let me know through [support forums](https://wordpress.org/support/plugin/wp-plc-swissknife) if you like it and please be sure to [leave a review.](https://wordpress.org/support/plugin/wp-plc-swissknife/reviews/#new-post).
70+
71+
Also you can contact me on my personal page [Verein onePlace](https://1plc.ch/) or even visit [Github of WP PLC Swissknife](https://github.com/Praesidiarius/PLC_WP_Swissknife) where you can find all the development code of this plugin.
72+
73+
I hope it is useful for you and look forward to reading your reviews! ;-) Thanks!

wpplc-swissknife/wpplc-swissknife.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Plugin Name: WP PLC Swissknife
1212
* Plugin URI: https://1plc.ch/wordpress-plugins/swissknife
1313
* Description: onePlace Swissknife for Wordpress. Increase Wordpress Security and Performance
14-
* Version: 0.3.2
14+
* Version: 0.3.3
1515
* Author: Verein onePlace
1616
* Author URI: https://1plc.ch
1717
* License: GNU General Public License, version 2
@@ -23,7 +23,7 @@
2323
}
2424

2525
// Define Version and directories for further use in plugin
26-
define( 'WPPLC_SWISSKNIFE_VERSION', '0.3.2-stable' );
26+
define( 'WPPLC_SWISSKNIFE_VERSION', '0.3.3-stable' );
2727
define( 'WPPLC_SWISSKNIFE_MAIN_FILE', __FILE__ );
2828
define( 'WPPLC_SWISSKNIFE_MAIN_DIR', __DIR__ );
2929
define( 'WPPLC_SWISSKNIFE_PUB_DIR',str_replace([$_SERVER['DOCUMENT_ROOT']],[''],WPPLC_SWISSKNIFE_MAIN_DIR));

0 commit comments

Comments
 (0)