From cd73d4f0753b4546dfd453d3560d895f32da90f4 Mon Sep 17 00:00:00 2001 From: Sebastian Ortiz Date: Thu, 16 Feb 2023 17:23:50 -0300 Subject: [PATCH] Fix typo --- includes/frontend/visibility-tests/user-role.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/frontend/visibility-tests/user-role.php b/includes/frontend/visibility-tests/user-role.php index 1453d106..e710c3ae 100644 --- a/includes/frontend/visibility-tests/user-role.php +++ b/includes/frontend/visibility-tests/user-role.php @@ -167,7 +167,7 @@ function user_role_test( $is_visible, $settings, $controls ) { return true; } } - } elseif ( empty( $restricted_users ) && $hide_on_resticted_users ) { + } elseif ( empty( $restricted_users ) && $hide_on_restricted_users ) { return true; } } elseif ( 'user-rule-sets' === $visibility_by_role ) {