Skip to content

Commit

Permalink
Update admin/capabilities/class-register-capabilities.php
Browse files Browse the repository at this point in the history
  • Loading branch information
vraja-pro authored Dec 2, 2024
1 parent 47d5a31 commit 5e72ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/capabilities/class-register-capabilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public function map_meta_cap_for_seo_manager( $caps, $cap ) {
}

// User must be of role wpseo_manager.
if ( ! in_array( 'wpseo_manager', ( $user->roles ?? [] ), true ) ) {
if ( ! in_array( 'wpseo_manager', ( $user->roles ?? [] ), true ) ) {
return $caps;
}

Expand Down

0 comments on commit 5e72ae6

Please sign in to comment.