Browse files

Add missing break. Props snakefoot. fixes #10692 for 2.8

git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 89e9aea commit 0a156da1e7c12c93633cb29e5987e78408df7d91 ryan committed Sep 11, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 wp-includes/capabilities.php
View
1 wp-includes/capabilities.php
@@ -905,6 +905,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;

0 comments on commit 0a156da

Please sign in to comment.