Make WordPress Core


Ignore:
Timestamp:
05/06/2014 06:28:46 PM (11 years ago)
Author:
wonderboymusic
Message:

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

See #27882.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-admin-bar.php

    r27370 r28318  
    1717            case 'proto' :
    1818                return is_ssl() ? 'https://' : 'http://';
    19                 break;
     19
    2020            case 'menu' :
    2121                _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.' );
    2222                return array(); // Sorry, folks.
    23                 break;
    2423        }
    2524    }
Note: See TracChangeset for help on using the changeset viewer.