From d098dfcd59563b56cd0646060626bca39bf77a65 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 11 Sep 2009 13:42:15 +0000 Subject: [PATCH] Add missing break. Props snakefoot. fixes #10692 git-svn-id: https://develop.svn.wordpress.org/trunk@11912 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/capabilities.php | 1 + 1 file changed, 1 insertion(+) 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;