WordPress.org

Plugin Directory

Changeset 332338


Ignore:
Timestamp:
01/14/11 07:14:44 (3 years ago)
Author:
ozh
Message:

1.1: Updated for compat (read: fixed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • disable-admin-bar/trunk/disable-admin-bar.php

    r308839 r332338  
    55Description: Disable the Admin Bar. 
    66Author: Ozh 
    7 Version: 1.0 
     7Version: 1.1 
    88Author URI: http://ozh.org/ 
    99*/ 
    1010 
    11 remove_action( 'init', 'wp_admin_bar_init' ); 
     11add_filter( 'show_admin_bar', '__return_false' ); 
    1212 
    1313/* A neat trick is to put this single file (not its parent directory) in 
Note: See TracChangeset for help on using the changeset viewer.