Make WordPress Core

Changeset 32525


Ignore:
Timestamp:
05/21/2015 08:09:00 PM (11 years ago)
Author:
wonderboymusic
Message:

In admin-bar.php, most functions simply return when a conditional is not met. wp_admin_bar_render() shouldn't explicitly return false.

See #32444.

File:
1 edited

Legend:

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

    r32116 r32525  
    6161
    6262        if ( ! is_admin_bar_showing() || ! is_object( $wp_admin_bar ) )
    63                 return false;
     63                return;
    6464
    6565        /**
Note: See TracChangeset for help on using the changeset viewer.