Skip to content

Commit

Permalink
Version 2.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
rilwis committed May 17, 2024
1 parent cea72a8 commit a4666b9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion falcon.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Falcon
* Plugin URI: https://elightup.com
* Description: WordPress optimizations & tweaks
* Version: 2.8.2
* Version: 2.8.3
* Author: eLightUp
* Author URI: https://elightup.com
* License: GPL2+
Expand Down
11 changes: 8 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
=== Falcon - WordPress Optimizations & Tweaks ===
Contributors: elightup, rilwis, truongwp
Contributors: elightup, rilwis, truongwp, paracetamol27
Tags: optimize, performance, speed, tweaks, admin
Requires at least: 5.9
Tested up to: 6.4.3
Stable tag: 2.8.2
Tested up to: 6.5.3
Stable tag: 2.8.3
Requires PHP: 7.4
License: GPLv2 or later

Expand Down Expand Up @@ -105,6 +105,11 @@ Go to *Dashboard | Plugins | Add New* and search for **Falcon**. Then install an

== Changelog ==

= 2.8.3 - 2024-05-17 =
- Disable XML-RPC methods
- Fix: activation error on ajax request
- Update fix word disable detailed login errors

= 2.8.2 - 2024-03-17 =
- Add a link to the settings page in the plugin meta row
- Auto redirect to the settings page after activation
Expand Down
6 changes: 3 additions & 3 deletions src/Security.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
use WP_Error;

class Security extends Base {
protected $features = [
protected $features = [
'no_rest_api',
'no_xmlrpc',
'no_login_errors',
Expand Down Expand Up @@ -46,7 +46,7 @@ public function restrict_upload(): void {
}

public function restrict_upload_mimes(): array {
return [
return [
'jpg|jpeg' => 'image/jpeg',
'gif' => 'image/gif',
'png' => 'image/png',
Expand All @@ -68,7 +68,7 @@ public function block_ai_bots(): void {
* @link https://neil-clarke.com/block-the-bots-that-feed-ai-models-by-scraping-your-website/
*/
public function block_ai_bots_in_robots_txt(): void {
$user_agents = [
$user_agents = [
'CCBot',
'ChatGPT-User',
'GPTBot',
Expand Down

0 comments on commit a4666b9

Please sign in to comment.