diff --git a/wp-includes/capabilities.php b/wp-includes/capabilities.php index 104e08f3ea..9a68c0fd95 100644 --- a/wp-includes/capabilities.php +++ b/wp-includes/capabilities.php @@ -921,6 +921,7 @@ function map_meta_cap( $cap, $user_id ) { $caps[] = $cap; else $caps[] = 'do_not_allow'; + break; default: // If no meta caps match, return the original cap. $caps[] = $cap;