Plugin Author
Scott Reilly
(@coffee2code)
WordPress & Plugin Developer
@esemlabel: Hi,
Thanks for the suggestion! I just released v1.5 of Disable Search which implements your request.
Cheers!
Great, but you have done something else, which cause an error.
After installing 1.5 update error message appears in wp-admin.
Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access protected method c2c_DisableSearch::do_init() in wp-includes/plugin.php on line 525
The truth is out there: https://wordpress.org/support/topic/warning-call_user_func_array-expects-parameter-1-to-be-a-valid-callback-func?replies=11
(p.s. changing “protected static function do_init()” to “public ..” fixes issue)
Plugin Author
Scott Reilly
(@coffee2code)
WordPress & Plugin Developer
@esemlabel: Thanks! I’ve just updated the plugin to v1.5.1 to fix the newly introduced bug. Cheers!