Disable XML-RPC-API - Version 2.1.4.5

Version Description

  • Fix removing pingback header issue in the last major update
  • Update tested up to wp 6.1
Download this release

Release Info

Developer aminnz
Plugin Icon 128x128 Disable XML-RPC-API
Version 2.1.4.5
Comparing to
See all releases

Code changes from version 2.1.4.4 to 2.1.4.5

Files changed (2) hide show
  1. disable-xml-rpc-api.php +3 -3
  2. readme.txt +6 -2
disable-xml-rpc-api.php CHANGED
@@ -3,8 +3,8 @@
3
  Plugin Name: Disable XML-RPC-API
4
  Plugin URI: https://neatma.com/dsxmlrpc-plugin/
5
  Description: Lightweight plugin to disable XML-RPC API and Pingbacks,Trackbacks for faster and more secure website.
6
- Version: 2.1.4.4
7
- Tested up to: 6.0
8
  Requires at least: 3.5
9
  Author: Neatma
10
  Author URI: https://neatma.com/
@@ -361,7 +361,7 @@ allow from all
361
  public function removeSelectedMethods()
362
  {
363
  $disabled_methods = $this->get_option('disabled-methods');
364
- if ($this->get_option('dsxmlrpc-switcher') && array_search('x-pingback', $disabled_methods)) {
365
  add_filter('wp_headers', array($this, 'X_pingback_header'));
366
  add_filter('pings_open', '__return_false', PHP_INT_MAX);
367
  }
3
  Plugin Name: Disable XML-RPC-API
4
  Plugin URI: https://neatma.com/dsxmlrpc-plugin/
5
  Description: Lightweight plugin to disable XML-RPC API and Pingbacks,Trackbacks for faster and more secure website.
6
+ Version: 2.1.4.5
7
+ Tested up to: 6.1
8
  Requires at least: 3.5
9
  Author: Neatma
10
  Author URI: https://neatma.com/
361
  public function removeSelectedMethods()
362
  {
363
  $disabled_methods = $this->get_option('disabled-methods');
364
+ if (!$this->get_option('dsxmlrpc-switcher') || array_search('x-pingback', $disabled_methods)) {
365
  add_filter('wp_headers', array($this, 'X_pingback_header'));
366
  add_filter('pings_open', '__return_false', PHP_INT_MAX);
367
  }
readme.txt CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://neatma.com
5
  Contributors: aminnz,neatmarketing
6
  Description: Simple plugin to disable XML-RPC API and X-Pingback for faster and more secure website.
7
  Tags: disable xml-rpc, xmlrpc, disable xmlrpc,remove xmlrpc, XML-RPC, pingback, stop brute force attacks
8
- Tested up to: 6.0
9
  Requires at least: 3.5
10
  Author: Neatma
11
  Author URI: https://neatma.com
@@ -160,4 +160,8 @@ screenshot-2.jpg
160
 
161
  = 2.1.4.4 =
162
  * Fix warning undefined variable $htaccess_code when disable hotlink fix is off
163
- * Fix warning Undefined array key “plugins” on PHP 8+
 
 
 
 
5
  Contributors: aminnz,neatmarketing
6
  Description: Simple plugin to disable XML-RPC API and X-Pingback for faster and more secure website.
7
  Tags: disable xml-rpc, xmlrpc, disable xmlrpc,remove xmlrpc, XML-RPC, pingback, stop brute force attacks
8
+ Tested up to: 6.1
9
  Requires at least: 3.5
10
  Author: Neatma
11
  Author URI: https://neatma.com
160
 
161
  = 2.1.4.4 =
162
  * Fix warning undefined variable $htaccess_code when disable hotlink fix is off
163
+ * Fix warning Undefined array key “plugins” on PHP 8+
164
+
165
+ = 2.1.4.5 =
166
+ * Fix removing pingback header issue in the last major update
167
+ * Update tested up to wp 6.1