Skip to content

Commit

Permalink
Add missing break. Props snakefoot. fixes #10692 for 2.8
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
ryan committed Sep 11, 2009
1 parent 89e9aea commit 0a156da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wp-includes/capabilities.php
Expand Up @@ -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;
Expand Down

0 comments on commit 0a156da

Please sign in to comment.