File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66Description: Disable WordPress features
77Plugin URI: https://github.com/wordPressUtilities/wpudisabler
88Update URI: https://github.com/wordPressUtilities/wpudisabler
9- Version: 0.8.0
9+ Version: 0.8.1
1010Author: Darklg
1111Author URI: https://darklg.me/
1212Text Domain: wpudisabler
1919*/
2020
2121class WPUDisabler {
22- private $ plugin_version = '0.8.0 ' ;
22+ private $ plugin_version = '0.8.1 ' ;
2323 private $ disable_wp_api_user_level ;
2424 private $ author_has_post_cache = array ();
2525 public function __construct () {
@@ -61,7 +61,7 @@ public function plugins_loaded() {
6161 $ this ->disable_plugin_deactivation ();
6262 }
6363
64- $ this ->disable_wp_api_user_level = apply_filters ('wpudisabler__disable_wp_api_user_level ' , 'c ' );
64+ $ this ->disable_wp_api_user_level = apply_filters ('wpudisabler__disable_wp_api_user_level ' , 'remove_users ' );
6565 if (apply_filters ('wpudisabler__disable_wp_api ' , false )) {
6666 $ this ->disable_wp_api ();
6767 }
You can’t perform that action at this time.
0 commit comments