From ba57ce7aba84a4855f882c06d5fe07d86e35d12e Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 11 Sep 2009 13:42:15 +0000 Subject: [PATCH] Add missing break. Props snakefoot. fixes #10692 git-svn-id: http://svn.automattic.com/wordpress/trunk@11912 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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;