Add missing break. Props snakefoot. fixes #10692

git-svn-id: http://svn.automattic.com/wordpress/trunk@11912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-09-11 13:42:15 +00:00
parent 1c161c23c2
commit ba57ce7aba
1 changed files with 1 additions and 0 deletions

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;