BBQ: Block Bad Queries - Version 20190311

Version Description

To upgrade BBQ, remove old version and replace with new version. Or just click "Update" from the Plugins screen and let WordPress do it for you automatically. Nothing else needs done.

Download this release

Release Info

Developer specialk
Plugin Icon 128x128 BBQ: Block Bad Queries
Version 20190311
Comparing to
See all releases

Code changes from version 20190220 to 20190311

bbq-settings.php CHANGED
@@ -86,7 +86,7 @@ function bbq_callback_version($args) {
86
87
function bbq_action_links($links, $file) {
88
89
- if ($file == BBQ_FILE) {
90
91
$settings_url = admin_url('options-general.php?page=bbq_settings');
92
$settings_title = esc_attr__('Visit the BBQ plugin page', 'block-bad-queries');
@@ -94,6 +94,12 @@ function bbq_action_links($links, $file) {
94
95
$settings_link = '<a href="'. $settings_url .'" title="'. $settings_title .'">'. $settings_text .'</a>';
96
97
$pro_url = esc_url('https://plugin-planet.com/bbq-pro/');
98
$pro_title = esc_attr__('Get BBQ Pro for advanced protection', 'block-bad-queries');
99
$pro_text = esc_html__('Go&nbsp;Pro', 'block-bad-queries');
@@ -101,7 +107,7 @@ function bbq_action_links($links, $file) {
101
102
$pro_link = '<a target="_blank" rel="noopener noreferrer" href="'. $pro_url .'" title="'. $pro_title .'" style="'. $pro_style .'">'. $pro_text .'</a>';
103
104
- array_unshift($links, $pro_link, $settings_link);
105
106
}
107
86
87
function bbq_action_links($links, $file) {
88
89
+ if ($file == BBQ_FILE && current_user_can('manage_options')) {
90
91
$settings_url = admin_url('options-general.php?page=bbq_settings');
92
$settings_title = esc_attr__('Visit the BBQ plugin page', 'block-bad-queries');
94
95
$settings_link = '<a href="'. $settings_url .'" title="'. $settings_title .'">'. $settings_text .'</a>';
96
97
+ array_unshift($links, $settings_link);
98
+
99
+ }
100
+
101
+ if ($file == BBQ_FILE) {
102
+
103
$pro_url = esc_url('https://plugin-planet.com/bbq-pro/');
104
$pro_title = esc_attr__('Get BBQ Pro for advanced protection', 'block-bad-queries');
105
$pro_text = esc_html__('Go&nbsp;Pro', 'block-bad-queries');
107
108
$pro_link = '<a target="_blank" rel="noopener noreferrer" href="'. $pro_url .'" title="'. $pro_title .'" style="'. $pro_style .'">'. $pro_text .'</a>';
109
110
+ array_unshift($links, $pro_link);
111
112
}
113
block-bad-queries.php CHANGED
@@ -11,8 +11,8 @@
11
Donate link: https://monzillamedia.com/donate.html
12
Requires at least: 4.1
13
Tested up to: 5.1
14
- Stable tag: 20190220
15
- Version: 20190220
16
Requires PHP: 5.2
17
Text Domain: block-bad-queries
18
Domain Path: /languages
@@ -33,12 +33,12 @@
33
You should have received a copy of the GNU General Public License
34
with this program. If not, visit: https://www.gnu.org/licenses/
35
36
- Copyright 2018 Monzilla Media. All rights reserved.
37
*/
38
39
if (!defined('ABSPATH')) die();
40
41
- if (!defined('BBQ_VERSION')) define('BBQ_VERSION', '20190220');
42
if (!defined('BBQ_FILE')) define('BBQ_FILE', plugin_basename(__FILE__));
43
if (!defined('BBQ_DIR')) define('BBQ_DIR', plugin_dir_path(__FILE__));
44
if (!defined('BBQ_URL')) define('BBQ_URL', plugin_dir_url(__FILE__));
11
Donate link: https://monzillamedia.com/donate.html
12
Requires at least: 4.1
13
Tested up to: 5.1
14
+ Stable tag: 20190311
15
+ Version: 20190311
16
Requires PHP: 5.2
17
Text Domain: block-bad-queries
18
Domain Path: /languages
33
You should have received a copy of the GNU General Public License
34
with this program. If not, visit: https://www.gnu.org/licenses/
35
36
+ Copyright 2019 Monzilla Media. All rights reserved.
37
*/
38
39
if (!defined('ABSPATH')) die();
40
41
+ if (!defined('BBQ_VERSION')) define('BBQ_VERSION', '20190311');
42
if (!defined('BBQ_FILE')) define('BBQ_FILE', plugin_basename(__FILE__));
43
if (!defined('BBQ_DIR')) define('BBQ_DIR', plugin_dir_path(__FILE__));
44
if (!defined('BBQ_URL')) define('BBQ_URL', plugin_dir_url(__FILE__));
languages/block-bad-queries.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
msgstr ""
4
"Project-Id-Version: PACKAGE VERSION\n"
5
"Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2018-03-14 20:21+0000\n"
7
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
"Language-Team: \n"
@@ -62,27 +62,35 @@ msgstr ""
62
msgid "Settings"
63
msgstr ""
64
65
- #: bbq-settings.php:98
66
msgid "Get BBQ Pro for advanced protection"
67
msgstr ""
68
69
- #: bbq-settings.php:99
70
msgid "Go&nbsp;Pro"
71
msgstr ""
72
73
- #: bbq-settings.php:118
74
msgid "Click here to rate and review this plugin at WordPress.org"
75
msgstr ""
76
77
- #: bbq-settings.php:119
78
msgid "Rate this plugin&nbsp;&raquo;"
79
msgstr ""
80
81
- #: bbq-settings.php:132
82
msgid "BBQ Firewall"
83
msgstr ""
84
85
- #: bbq-settings.php:143
86
msgid "Block Bad Queries"
87
msgstr ""
88
3
msgstr ""
4
"Project-Id-Version: PACKAGE VERSION\n"
5
"Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2019-03-12 00:01+0000\n"
7
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
"Language-Team: \n"
62
msgid "Settings"
63
msgstr ""
64
65
+ #: bbq-settings.php:104
66
msgid "Get BBQ Pro for advanced protection"
67
msgstr ""
68
69
+ #: bbq-settings.php:105
70
msgid "Go&nbsp;Pro"
71
msgstr ""
72
73
+ #: bbq-settings.php:124
74
+ msgid "Plugin Homepage"
75
+ msgstr ""
76
+
77
+ #: bbq-settings.php:125
78
+ msgid "Homepage"
79
+ msgstr ""
80
+
81
+ #: bbq-settings.php:130
82
msgid "Click here to rate and review this plugin at WordPress.org"
83
msgstr ""
84
85
+ #: bbq-settings.php:131
86
msgid "Rate this plugin&nbsp;&raquo;"
87
msgstr ""
88
89
+ #: bbq-settings.php:144
90
msgid "BBQ Firewall"
91
msgstr ""
92
93
+ #: bbq-settings.php:155
94
msgid "Block Bad Queries"
95
msgstr ""
96
readme.txt CHANGED
@@ -11,8 +11,8 @@ Contributors: specialk, aldolat, WpBlogHost, jameswilkes, juliobox, lernerconsul
11
Donate link: https://monzillamedia.com/donate.html
12
Requires at least: 4.1
13
Tested up to: 5.1
14
- Stable tag: 20190220
15
- Version: 20190220
16
Requires PHP: 5.2
17
Text Domain: block-bad-queries
18
Domain Path: /languages
@@ -49,9 +49,9 @@ The fastest firewall plugin for WordPress.
49
* Regularly updated and "future proof"
50
* Customize blocked strings via [Whitelist/Blacklist plugins](https://perishablepress.com/bbq-whitelist-blacklist/)
51
52
- **GDPR**
53
54
- This plugin does not collect any user data. So it does _not_ do anything to make your site _less_ compliant with GDPR. I have done my best to ensure that this plugin is 100% GDPR compliant, but I'm not a lawyer so can't guarantee anything. To determine if your site is GDPR compliant, please consult an attorney.
55
56
> Works perfectly with or without Gutenberg Block Editor
57
@@ -155,6 +155,13 @@ Nope! BBQ is available in the following flavors:
155
So you can check out the Standalone PHP Script for sites that are not running WordPress.
156
157
158
**Do you offer any other security plugins?**
159
160
Yes, check out [Blackhole for Bad Bots](https://wordpress.org/plugins/blackhole-bad-bots/) to protect your site against bad bots. I also have a [video course on WordPress security](https://m0n.co/securewp), for more plugin recommendations and lots of tips and tricks.
@@ -180,6 +187,7 @@ And/or purchase one of my premium WordPress plugins:
180
* [BBQ Pro](https://plugin-planet.com/bbq-pro/) - Super fast WordPress firewall
181
* [Blackhole Pro](https://plugin-planet.com/blackhole-pro/) - Automatically block bad bots
182
* [Banhammer Pro](https://plugin-planet.com/banhammer-pro/) - Monitor traffic and ban the bad guys
183
* [USP Pro](https://plugin-planet.com/usp-pro/) - Unlimited front-end forms
184
185
Links, tweets and likes also appreciated. Thank you! :)
@@ -188,6 +196,16 @@ Links, tweets and likes also appreciated. Thank you! :)
188
189
== Changelog ==
190
191
**2019/02/20**
192
193
* Tests on WordPress 5.1
11
Donate link: https://monzillamedia.com/donate.html
12
Requires at least: 4.1
13
Tested up to: 5.1
14
+ Stable tag: 20190311
15
+ Version: 20190311
16
Requires PHP: 5.2
17
Text Domain: block-bad-queries
18
Domain Path: /languages
49
* Regularly updated and "future proof"
50
* Customize blocked strings via [Whitelist/Blacklist plugins](https://perishablepress.com/bbq-whitelist-blacklist/)
51
52
+ **Privacy**
53
54
+ This plugin does not collect or store any user data. It does not set any cookies, and it does not connect to any third-party locations. Thus, this plugin does not affect user privacy in any way.
55
56
> Works perfectly with or without Gutenberg Block Editor
57
155
So you can check out the Standalone PHP Script for sites that are not running WordPress.
156
157
158
+ **Can I use BBQ and 6G/7G Firewall at the same time?**
159
+
160
+ __Full question:__ "Except most of the rules overlapping, is it counter productive (site slowing down for example, potential conflicts, bugs) or is there any risks using 6G/7G Firewall + BBQ at the same time?"
161
+
162
+ __Answer:__ It's fine to run both BBQ and 6G/7G Firewall at the same time. Both firewalls are super fast, so they won�t slow things down. In other words the two firewalls play well together. The only downside is that some of the rules will be redundant, but there should be no negative impact on performance. The upside is that you get extra protection when using both, as there are variations in the firewall rules and patterns, etc.
163
+
164
+
165
**Do you offer any other security plugins?**
166
167
Yes, check out [Blackhole for Bad Bots](https://wordpress.org/plugins/blackhole-bad-bots/) to protect your site against bad bots. I also have a [video course on WordPress security](https://m0n.co/securewp), for more plugin recommendations and lots of tips and tricks.
187
* [BBQ Pro](https://plugin-planet.com/bbq-pro/) - Super fast WordPress firewall
188
* [Blackhole Pro](https://plugin-planet.com/blackhole-pro/) - Automatically block bad bots
189
* [Banhammer Pro](https://plugin-planet.com/banhammer-pro/) - Monitor traffic and ban the bad guys
190
+ * [GA Google Analytics Pro](https://plugin-planet.com/ga-google-analytics-pro/) - Connect your WordPress to Google Analytics
191
* [USP Pro](https://plugin-planet.com/usp-pro/) - Unlimited front-end forms
192
193
Links, tweets and likes also appreciated. Thank you! :)
196
197
== Changelog ==
198
199
+ If you like BBQ, please take a moment to [give a 5-star rating](https://wordpress.org/support/plugin/block-bad-queries/reviews/?rate=5#new-post). It helps to keep development and support going strong. Thank you!
200
+
201
+
202
+ **2019/03/11**
203
+
204
+ * Improves function `bbq_action_links()`
205
+ * Refines plugin settings screen UI
206
+ * Generates new default translation template
207
+ * Tests on WordPress 5.1 and 5.2 (alpha)
208
+
209
**2019/02/20**
210
211
* Tests on WordPress 5.1