Add missing break. Props snakefoot. fixes #10692

git-svn-id: https://develop.svn.wordpress.org/trunk@11912 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-09-11 13:42:15 +00:00
parent 4f22e99cf5
commit d098dfcd59

View File

@ -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;