WordPress.org

Plugin Directory

Changeset 615628


Ignore:
Timestamp:
10/22/12 14:49:25 (18 months ago)
Author:
jblz
Message:

Jetpack: Check the option inside the admin_bar_menu function and return if it's not true in case the toolbar is being shown by another plugin / modification and the logged out notifications toolbar feature is disabled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jetpack/trunk/modules/notes.php

    r611638 r615628  
    9494            return; 
    9595 
     96        if ( !is_user_logged_in() && !$this->always_show_toolbar ) 
     97            return; 
     98 
    9699        $classes = 'wpnt-loading wpn-read'; 
    97100        $wp_admin_bar->add_menu( array( 
Note: See TracChangeset for help on using the changeset viewer.