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:
parent
1c161c23c2
commit
ba57ce7aba
|
@ -921,6 +921,7 @@ function map_meta_cap( $cap, $user_id ) {
|
||||||
$caps[] = $cap;
|
$caps[] = $cap;
|
||||||
else
|
else
|
||||||
$caps[] = 'do_not_allow';
|
$caps[] = 'do_not_allow';
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
// If no meta caps match, return the original cap.
|
// If no meta caps match, return the original cap.
|
||||||
$caps[] = $cap;
|
$caps[] = $cap;
|
||||||
|
|
Loading…
Reference in New Issue