: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace Nextend\Framework\Acl\WordPress;
use Nextend\Framework\Acl\AbstractPlatformAcl;
use function current_user_can;
class WordPressAcl extends AbstractPlatformAcl {
public function authorise($action, $MVCHelper) {
return current_user_can($action) && current_user_can('unfiltered_html');