In `wp-includes/class-wp-admin-bar.php`, `break` is unreachabled after `return`.

See #27882.


git-svn-id: https://develop.svn.wordpress.org/trunk@28318 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2014-05-06 18:28:46 +00:00
parent c5463c5cb2
commit 376125e0b7
1 changed files with 1 additions and 2 deletions

View File

@ -16,11 +16,10 @@ class WP_Admin_Bar {
switch ( $name ) {
case 'proto' :
return is_ssl() ? 'https://' : 'http://';
break;
case 'menu' :
_deprecated_argument( 'WP_Admin_Bar', '3.3', 'Modify admin bar nodes with WP_Admin_Bar::get_node(), WP_Admin_Bar::add_node(), and WP_Admin_Bar::remove_node(), not the <code>menu</code> property.' );
return array(); // Sorry, folks.
break;
}
}