WordPress.org

Plugin Directory

Changeset 632125


Ignore:
Timestamp:
11/30/12 06:59:03 (17 months ago)
Author:
sLaNGjI
Message:

Silent Update - Enanched Code

Files:
8 edited

Legend:

Unmodified
Added
Removed
  • wp-admin-bar-node-removal/trunk/readme.txt

    r630952 r632125  
    33Donate link: http://slangji.wordpress.com/donate/ 
    44Tags: sLaNGjI 
    5 Stable tag: 2012.0809.0554 
     5Stable tag: 2012.1130.0733 
    66Requires at least: 3.1 
    77Tested up to: 3.3.3 
    8 License: GPLv2 
     8License: GPLv2 or later 
     9License URI: http://www.gnu.org/licenses/gpl-2.0.html 
    910Completely Remove <code>Admin Bar Node</code>, Frontend, Backend, Free Memory, Speedup Dasboard, on WordPress 3.1+ 3.2+ 3.3+ (only). Development Code in Becoming. 
    1011== Description == 
    1112Author Website: [slangji.wordpress.com](http://slangji.wordpress.com/) - Author Repositories: [github.com/sLaNGjI](https://github.com/sLaNGjI) 
    1213 
    13 [Find More on sLa Developer Page @ SoftPedia.com](http://webscripts.softpedia.com/author/sLa-1869786722.html) 
     14Find More on [sLa Developer Page @ SoftPedia.com](http://webscripts.softpedia.com/author/sLa-1869786722.html) 
    1415 
    1516Completely Remove <code>Admin Bar Node</code>, Frontend, Backend, Free Memory, Speedup Dasboard, on WordPress 3.1+ 3.2+ 3.3+ (only). Development Code in Becoming. 
  • wp-admin-bar-node-removal/trunk/wp-admin-bar-node-removal.php

    r629891 r632125  
    33Plugin Name: Admin Bar Node Removal Add-On 
    44Plugin URI: http://slangji.wordpress.com/wp-admin-bar-node-removal/ 
    5 Description: Completely Remove <code>Admin Bar Node</code>, Frontend, Backend, Free Memory, Speedup Dasboard, on WordPress 3.1+ 3.2+ 3.3+ (only). Development Code in Becoming. Work under GPLv2 License. | <a href="http://slangji.wordpress.com/donate/" title="Free Donation">Donate</a> | <a href="http://slangji.wordpress.com/contact/" title="Send Me Bug and Suggestions">Contact</a> | <a href="http://wordpress.org/extend/plugins/wp-overview-lite/" title="Show Dashboard Overview and Footer Memory Load Usage">WP Overview?</a> | <a href="http://wordpress.org/extend/plugins/wp-missed-schedule/" title="Fix Missed Scheduled Future Posts Cron Job">WP Missed Schedule?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-removal/" title="Remove Admin Bar Frontend Backend User Profile and Code">Admin Bar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-node-removal/" title="Remove Admin Bar Frontend and Backend Node">Admin Bar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-removal/" title="Remove ToolBar Frontend Backend User Profile and Code">ToolBar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-node-removal/" title="Remove ToolBar Frontend and Backend Node">ToolBar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-login-deindexing/" title="Total DeIndexing WordPress LogIn from all Search Engines">LogIn DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-total-deindexing/" title="Total DeIndexing WordPress from all Search Engines">WP DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-ie-enhancer-and-modernizer/" title="Enhancer and Modernizer IE Surfing Expirience">Enhancer IE Surfing?</a> 
    6 Version: 2012.0809.0554 
     5Description: Completely Remove <code>Admin Bar Node</code>, Frontend, Backend, Free Memory, Speedup Dasboard, on WordPress 3.1+ 3.2+ 3.3+ (only). Development Code in Becoming. Work under GPLv2 License. | <a href="http://slangji.wordpress.com/donate/" title="Free Donation">Donate</a> | <a href="http://slangji.wordpress.com/contact/" title="Send Me Bug and Suggestions">Contact</a> | <a href="http://slangji.wordpress.com/themes/" title="sLaNGjI's Custom Themes">My Themes</a> | <a href="http://profiles.wordpress.org/slangji" title="sLaNGjI's Profile @ WordPress.org">My Profile</a> | <a href="http://slangji.wordpress.com/" title="sLaNGjI's WebSite @ WordPress.com">My WordPress</a> | <a href="https://github.com/slangji" title="sLaNGjI's Repositories @ GitHub.com">My GitHub</a> | <a href="http://webscripts.softpedia.com/author/sLa-1869786722.html" title="sLa Developer Page @ SoftPedia.com">My SoftPedia</a> | <a href="http://wordpress.org/extend/plugins/wp-overview-lite/" title="Show Dashboard Overview and Footer Memory Load Usage">WP Overview?</a> | <a href="http://wordpress.org/extend/plugins/wp-missed-schedule/" title="Fix Missed Scheduled Future Posts Cron Job">WP Missed Schedule?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-removal/" title="Remove Admin Bar Frontend Backend User Profile and Code">Admin Bar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-node-removal/" title="Remove Admin Bar Frontend and Backend Node">Admin Bar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-removal/" title="Remove ToolBar Frontend Backend User Profile and Code">ToolBar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-node-removal/" title="Remove ToolBar Frontend and Backend Node">ToolBar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-login-deindexing/" title="Total DeIndexing WordPress LogIn from all Search Engines">LogIn DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-total-deindexing/" title="Total DeIndexing WordPress from all Search Engines">WP DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-ie-enhancer-and-modernizer/" title="Enhancer and Modernizer IE Surfing Expirience">Enhancer IE Surfing?</a> | <a href="http://wordpress.org/extend/plugins/wp-wp-memory-db-indicator/" title="Memory Load Consumption db size Usage Indicator">Memory and db Indicator?</a> 
     6Version: 2012.1130.0733 
    77Author: sLa 
    88Author URI: http://slangji.wordpress.com/ 
    99Requires at least: 3.1 
    1010Tested up to: 3.3.3 
    11 License: GPLv2 
     11License: GPLv2 or later 
     12License URI: http://www.gnu.org/licenses/gpl-2.0.html 
    1213 * 
    1314 * [Admin Bar Node Removal](http://wordpress.org/extend/plugins/wp-admin-bar-node-removal/) WordPress PlugIn 
     15 * 
     16 * [Contact](http://slangji.wordpress.com/contact/) - [Donate](http://slangji.wordpress.com/donate/) 
     17 * 
     18 * [My Plugins](http://slangji.wordpress.com/plugins/) - [My Themes](http://slangji.wordpress.com/themes/) 
     19 *  
     20 * [My GitHub.com](https://github.com/slangji) - [My SoftPedia.com](http://webscripts.softpedia.com/author/sLa-1869786722.html 
    1421 * 
    1522 *  This program is free software; you can redistribute it and/or 
     
    3239 * Development Code in Becoming. Always! 
    3340 * 
    34  * Copyright © 2012 [sLa](http://wordpress.org/extend/plugins/profile/slangji) (slangji[at]gmail[dot]com) 
     41 * Copyright © 2009-2013 [sLaNGjI's](http://profiles.wordpress.org/slangji) (slangji[at]gmail[dot]com) 
     42 * 
     43 * Disclaimer: Part of Copyright belongs to [sLa](http://profiles.wordpress.org/sla) and a portion to their respective owners. 
    3544 */ 
    3645/** 
     
    3847 * @subpackage WordPress PlugIn 
    3948 * @since 3.1.0 
    40  * @version 2012.0809.0554 
     49 * @version 2012.1130.0733 
    4150 * @author sLa 
    42  * @license GPLv2 
     51 * @license GPLv2 or later 
    4352 * 
    4453 * Completely Disable Admin Bar Node, Frontend, Backend, free memory and speedup dasboard. 
     
    217226        $wp_admin_bar->remove_menu( 'help' ); 
    218227 
     228        // WP Memory Load db size Indicator 
     229        $wp_admin_bar->remove_menu('wp_memory_db_indicator'); 
     230 
    219231        //$wp_admin_bar->remove_menu( '' ); 
    220232 
     
    224236function wpabnr_nfo () { 
    225237 
    226         echo"\n<!--Plugin Admin Bar Node Removal 2012.0809.0554 Active-->"; 
     238        echo"\n<!--Plugin Admin Bar Node Removal 2012.1130.0733 Active-->"; 
    227239 
    228240    } 
  • wp-admin-bar-removal/tags/2012.0320.2012/wp-admin-bar-removal.php

    r560222 r632125  
    33Plugin Name: Admin Bar Removal 
    44Plugin URI: http://slangji.wordpress.com/wp-admin-bar-removal/ 
    5 Description: Completely <code>Disable</code> new WordPress 3.1+ / 3.2+ / 3.3+ (only) <code>Admin Bar</code> Frontend and Backend. Work under GPLv2 License. Completely <code>Remove Code</code> for minimal memory load. | <a href="http://slangji.wordpress.com/donate/" title="Free Donation">Donate</a> | <a href="http://wordpress.org/extend/plugins/wp-overview-lite/" title="Show Dashboard Overview and Footer Memory Load Usage">WP Overview?</a> | <a href="http://wordpress.org/extend/plugins/wp-missed-schedule/" title="Fix Missed Scheduled Future Posts Cron Job">WP Missed Schedule?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-removal/" title="Remove Admin Bar Frontend Backend User Profile and Code">Admin Bar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-node-removal/" title="Remove Admin Bar Frontend and Backend Node">Admin Bar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-removal/" title="Remove ToolBar Frontend Backend User Profile and Code">ToolBar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-node-removal/" title="Remove ToolBar Frontend and Backend Node">ToolBar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-login-deindexing/" title="Total DeIndexing WordPress LogIn from all Search Engines">LogIn DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-total-deindexing/" title="Total DeIndexing WordPress from all Search Engines">WP DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-ie-enhancer-and-modernizer/" title="Enhancer and Modernizer IE Surfing Expirience">Enhancer IE Surfing?</a> 
     5Description: Completely <code>Disable</code> new WordPress 3.1+ / 3.2+ / 3.3+ (only) <code>Admin Bar</code> Frontend and Backend. Work under GPLv2 License. Completely <code>Remove Code</code> for minimal memory load. | <a href="http://slangji.wordpress.com/donate/" title="Free Donation">Donate</a> | <a href="http://slangji.wordpress.com/contact/" title="Send Me Bug and Suggestions">Contact</a> | <a href="http://slangji.wordpress.com/themes/" title="sLaNGjI's Custom Themes">My Themes</a> | <a href="http://profiles.wordpress.org/slangji" title="sLaNGjI's Profile @ WordPress.org">My Profile</a> | <a href="http://slangji.wordpress.com/" title="sLaNGjI's WebSite @ WordPress.com">My WordPress</a> | <a href="https://github.com/slangji" title="sLaNGjI's Repositories @ GitHub.com">My GitHub</a> | <a href="http://webscripts.softpedia.com/author/sLa-1869786722.html" title="sLa Developer Page @ SoftPedia.com">My SoftPedia</a> | <a href="http://wordpress.org/extend/plugins/wp-overview-lite/" title="Show Dashboard Overview and Footer Memory Load Usage">WP Overview?</a> | <a href="http://wordpress.org/extend/plugins/wp-missed-schedule/" title="Fix Missed Scheduled Future Posts Cron Job">WP Missed Schedule?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-removal/" title="Remove Admin Bar Frontend Backend User Profile and Code">Admin Bar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-node-removal/" title="Remove Admin Bar Frontend and Backend Node">Admin Bar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-removal/" title="Remove ToolBar Frontend Backend User Profile and Code">ToolBar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-node-removal/" title="Remove ToolBar Frontend and Backend Node">ToolBar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-login-deindexing/" title="Total DeIndexing WordPress LogIn from all Search Engines">LogIn DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-total-deindexing/" title="Total DeIndexing WordPress from all Search Engines">WP DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-ie-enhancer-and-modernizer/" title="Enhancer and Modernizer IE Surfing Expirience">Enhancer IE Surfing?</a> | <a href="http://wordpress.org/extend/plugins/wp-wp-memory-db-indicator/" title="Memory Load Consumption db size Usage Indicator">Memory and db Indicator?</a> 
    66Version: 2012.0320.2012 
    77Author: sLa 
     
    99Requires at least: 3.1 
    1010Tested up to: 3.3.3 
    11 License: GPLv2 
     11License: GPLv2 or later 
     12License URI: http://www.gnu.org/licenses/gpl-2.0.html 
    1213 * 
    1314 * Development Release: Version 2012 Build 0321-BUGFIX Revision 0000-DEVELOPMENTAL 
    1415 * 
    1516 * [Admin Bar Removal](http://wordpress.org/extend/plugins/wp-admin-bar-removal/) WordPress PlugIn 
     17 * 
     18 * [Contact](http://slangji.wordpress.com/contact/) - [Donate](http://slangji.wordpress.com/donate/) 
     19 * 
     20 * [My Plugins](http://slangji.wordpress.com/plugins/) - [My Themes](http://slangji.wordpress.com/themes/) 
     21 *  
     22 * [My GitHub.com](https://github.com/slangji) - [My SoftPedia.com](http://webscripts.softpedia.com/author/sLa-1869786722.html 
    1623 * 
    1724 *  This program is free software; you can redistribute it and/or 
     
    3542 * according to the terms of the GNU General Public License version 2 (or later) 
    3643 * 
    37  * Copyright © 2010-2012 [sLa](http://wordpress.org/extend/plugins/profile/slangji) (slangji[at]gmail[dot]com) 
     44 * Copyright © 2009-2013 [sLaNGjI's](http://profiles.wordpress.org/slangji) (slangji[at]gmail[dot]com) 
     45 * 
     46 * Disclaimer: Part of Copyright belongs to [sLa](http://profiles.wordpress.org/sla) and a portion to their respective owners. 
    3847 */ 
    3948/** 
     
    4352 * @version 2012.0320.2012 
    4453 * @author sLa 
    45  * @license GPLv2 
     54 * @license GPLv2 or later 
    4655 * 
    4756 * Completely Disable Admin Bar Frontend, Backend, and Remove Code for minimal memory load. 
    4857 */ 
    49 if(!function_exists('add_action')){header('Status 403 Forbidden');header('HTTP/1.0 403 Forbidden');header('HTTP/1.1 403 Forbidden');exit();};function wpabr_rac(){echo'<style type="text/css">body.admin-bar #wpcontent,body.admin-bar #adminmenu{padding-top:0px}</style>';};add_action('admin_print_styles','wpabr_rac',21);function wpabr_ruppoabpc(){echo'<style type="text/css">.show-admin-bar{display:none}</style>';};add_action('admin_print_styles-profile.php','wpabr_ruppoabpc');add_filter('init','wpabr_init');function wpabr_init(){add_filter('show_admin_bar','__return_false' );}wp_deregister_script('admin-bar');wp_deregister_style('admin-bar');remove_filter('wp_head','wp_admin_bar');remove_filter('wp_footer','wp_admin_bar');remove_filter('admin_head','wp_admin_bar');remove_filter('admin_footer','wp_admin_bar');remove_filter('wp_head','wp_admin_bar_class');remove_filter('wp_footer','wp_admin_bar_class');remove_filter('admin_head','wp_admin_bar_class');remove_filter('admin_footer','wp_admin_bar_class');remove_action('wp_head','wp_admin_bar_render',1000);remove_filter('wp_head','wp_admin_bar_render',1000);remove_action('wp_footer','wp_admin_bar_render',1000);remove_filter('wp_footer','wp_admin_bar_render',1000);remove_action('admin_head','wp_admin_bar_render',1000);remove_filter('admin_head','wp_admin_bar_render',1000);remove_action('admin_footer','wp_admin_bar_render',1000);remove_filter('admin_footer','wp_admin_bar_render',1000);remove_action('init','wp_admin_bar_init');remove_filter('init','wp_admin_bar_init');remove_action('wp_head','wp_admin_bar_css');remove_action('wp_head','wp_admin_bar_dev_css');remove_action('wp_head','wp_admin_bar_rtl_css');remove_action('wp_head','wp_admin_bar_rtl_dev_css');remove_action('admin_head','wp_admin_bar_css');remove_action('admin_head','wp_admin_bar_dev_css');remove_action('admin_head','wp_admin_bar_rtl_css');remove_action('admin_head','wp_admin_bar_rtl_dev_css');remove_action('wp_footer','wp_admin_bar_js');remove_action('wp_footer','wp_admin_bar_dev_js');remove_action('admin_footer','wp_admin_bar_js');remove_action('admin_footer','wp_admin_bar_dev_js');remove_action('wp_ajax_adminbar_render','wp_admin_bar_ajax_render');remove_filter('wp_ajax_adminbar_render','wp_admin_bar_ajax_render');remove_action('personal_options','_admin_bar_pref');remove_filter('personal_options','_admin_bar_pref');remove_action('personal_options','_get_admin_bar_pref');remove_filter('personal_options','_get_admin_bar_pref');remove_filter('locale','wp_admin_bar_lang');remove_filter('admin_footer','wp_admin_bar_render');if(!function_exists('hide_admin_bar_search')){function hide_admin_bar_search(){?><style type="text/css">#wpadminbar #adminbarsearch{display:none}</style><?php }add_action('admin_head', 'hide_admin_bar_search');add_action('wp_head', 'hide_admin_bar_search');}add_action('wp_before_admin_bar_render','wpabnr');function wpabnr(){global $wp_admin_bar;$wp_admin_bar->remove_menu('get-shortlink');$wp_admin_bar->remove_menu('dashboard');$wp_admin_bar->remove_menu('my-account-with-avatar');$wp_admin_bar->remove_menu('appearance');$wp_admin_bar->remove_menu('themes');$wp_admin_bar->remove_menu('widgets');$wp_admin_bar->remove_menu('menus');$wp_admin_bar->remove_menu('background');$wp_admin_bar->remove_menu('header');$wp_admin_bar->remove_menu('wrap');$wp_admin_bar->remove_menu('search');$wp_admin_bar->remove_menu('button');$wp_admin_bar->remove_menu('adminbarsearch');$wp_admin_bar->remove_menu('wp-logo');$wp_admin_bar->remove_menu('wp-logo-default');$wp_admin_bar->remove_menu('wp-logo-external');$wp_admin_bar->remove_menu('comments');$wp_admin_bar->remove_menu('about');$wp_admin_bar->remove_menu('wporg');$wp_admin_bar->remove_menu('documentation');$wp_admin_bar->remove_menu('support-forums');$wp_admin_bar->remove_menu('feedback');$wp_admin_bar->remove_menu('site-name');$wp_admin_bar->remove_menu('site-name-default');$wp_admin_bar->remove_menu('view-site');$wp_admin_bar->remove_menu('comments');$wp_admin_bar->remove_menu('new-content');$wp_admin_bar->remove_menu('new-content-default');$wp_admin_bar->remove_menu('new-post');$wp_admin_bar->remove_menu('new-media');$wp_admin_bar->remove_menu('new-link');$wp_admin_bar->remove_menu('new-page');$wp_admin_bar->remove_menu('new-user');$wp_admin_bar->remove_menu('updates');$wp_admin_bar->remove_menu('top-secondary');$wp_admin_bar->remove_menu('my-account');$wp_admin_bar->remove_menu('user-actions');$wp_admin_bar->remove_menu('user-info');$wp_admin_bar->remove_menu('edit-profile');$wp_admin_bar->remove_menu('logout');$wp_admin_bar->remove_menu('search');$wp_admin_bar->remove_menu('network-admin');$wp_admin_bar->remove_menu('w3tc');$wp_admin_bar->remove_menu('w3tc-default');$wp_admin_bar->remove_menu('w3tc-empty-caches');$wp_admin_bar->remove_menu('w3tc-faq');$wp_admin_bar->remove_menu('w3tc-support');$wp_admin_bar->remove_menu('cloudflare');$wp_admin_bar->remove_menu('cloudflare-default');$wp_admin_bar->remove_menu('cloudflare-my-websites');$wp_admin_bar->remove_menu('cloudflare-analytics');$wp_admin_bar->remove_menu('cloudflare-account');}function wpabr_footer_log(){echo"\n<!--Plugin Admin Bar Removal 2012.0320.2012 Active-->";};add_action('wp_head','wpabr_footer_log');add_action('wp_footer','wpabr_footer_log');?> 
     58if(!function_exists('add_action')){header('Status 403 Forbidden');header('HTTP/1.0 403 Forbidden');header('HTTP/1.1 403 Forbidden');exit();};function wpabr_rac(){echo'<style type="text/css">body.admin-bar #wpcontent,body.admin-bar #adminmenu{padding-top:0px}</style>';};add_action('admin_print_styles','wpabr_rac',21);function wpabr_ruppoabpc(){echo'<style type="text/css">.show-admin-bar{display:none}</style>';};add_action('admin_print_styles-profile.php','wpabr_ruppoabpc');add_filter('init','wpabr_init');function wpabr_init(){add_filter('show_admin_bar','__return_false' );}wp_deregister_script('admin-bar');wp_deregister_style('admin-bar');remove_filter('wp_head','wp_admin_bar');remove_filter('wp_footer','wp_admin_bar');remove_filter('admin_head','wp_admin_bar');remove_filter('admin_footer','wp_admin_bar');remove_filter('wp_head','wp_admin_bar_class');remove_filter('wp_footer','wp_admin_bar_class');remove_filter('admin_head','wp_admin_bar_class');remove_filter('admin_footer','wp_admin_bar_class');remove_action('wp_head','wp_admin_bar_render',1000);remove_filter('wp_head','wp_admin_bar_render',1000);remove_action('wp_footer','wp_admin_bar_render',1000);remove_filter('wp_footer','wp_admin_bar_render',1000);remove_action('admin_head','wp_admin_bar_render',1000);remove_filter('admin_head','wp_admin_bar_render',1000);remove_action('admin_footer','wp_admin_bar_render',1000);remove_filter('admin_footer','wp_admin_bar_render',1000);remove_action('init','wp_admin_bar_init');remove_filter('init','wp_admin_bar_init');remove_action('wp_head','wp_admin_bar_css');remove_action('wp_head','wp_admin_bar_dev_css');remove_action('wp_head','wp_admin_bar_rtl_css');remove_action('wp_head','wp_admin_bar_rtl_dev_css');remove_action('admin_head','wp_admin_bar_css');remove_action('admin_head','wp_admin_bar_dev_css');remove_action('admin_head','wp_admin_bar_rtl_css');remove_action('admin_head','wp_admin_bar_rtl_dev_css');remove_action('wp_footer','wp_admin_bar_js');remove_action('wp_footer','wp_admin_bar_dev_js');remove_action('admin_footer','wp_admin_bar_js');remove_action('admin_footer','wp_admin_bar_dev_js');remove_action('wp_ajax_adminbar_render','wp_admin_bar_ajax_render');remove_filter('wp_ajax_adminbar_render','wp_admin_bar_ajax_render');remove_action('personal_options','_admin_bar_pref');remove_filter('personal_options','_admin_bar_pref');remove_action('personal_options','_get_admin_bar_pref');remove_filter('personal_options','_get_admin_bar_pref');remove_filter('locale','wp_admin_bar_lang');remove_filter('admin_footer','wp_admin_bar_render');if(!function_exists('hide_admin_bar_search')){function hide_admin_bar_search(){?><style type="text/css">#wpadminbar #adminbarsearch{display:none}</style><?php }add_action('admin_head', 'hide_admin_bar_search');add_action('wp_head', 'hide_admin_bar_search');}add_action('wp_before_admin_bar_render','wpabnr');function wpabnr(){global $wp_admin_bar;$wp_admin_bar->remove_menu('get-shortlink');$wp_admin_bar->remove_menu('dashboard');$wp_admin_bar->remove_menu('my-account-with-avatar');$wp_admin_bar->remove_menu('appearance');$wp_admin_bar->remove_menu('themes');$wp_admin_bar->remove_menu('widgets');$wp_admin_bar->remove_menu('menus');$wp_admin_bar->remove_menu('background');$wp_admin_bar->remove_menu('header');$wp_admin_bar->remove_menu('wrap');$wp_admin_bar->remove_menu('search');$wp_admin_bar->remove_menu('button');$wp_admin_bar->remove_menu('adminbarsearch');$wp_admin_bar->remove_menu('wp-logo');$wp_admin_bar->remove_menu('wp-logo-default');$wp_admin_bar->remove_menu('wp-logo-external');$wp_admin_bar->remove_menu('comments');$wp_admin_bar->remove_menu('about');$wp_admin_bar->remove_menu('wporg');$wp_admin_bar->remove_menu('documentation');$wp_admin_bar->remove_menu('support-forums');$wp_admin_bar->remove_menu('feedback');$wp_admin_bar->remove_menu('site-name');$wp_admin_bar->remove_menu('site-name-default');$wp_admin_bar->remove_menu('view-site');$wp_admin_bar->remove_menu('comments');$wp_admin_bar->remove_menu('new-content');$wp_admin_bar->remove_menu('new-content-default');$wp_admin_bar->remove_menu('new-post');$wp_admin_bar->remove_menu('new-media');$wp_admin_bar->remove_menu('new-link');$wp_admin_bar->remove_menu('new-page');$wp_admin_bar->remove_menu('new-user');$wp_admin_bar->remove_menu('updates');$wp_admin_bar->remove_menu('top-secondary');$wp_admin_bar->remove_menu('my-account');$wp_admin_bar->remove_menu('user-actions');$wp_admin_bar->remove_menu('user-info');$wp_admin_bar->remove_menu('edit-profile');$wp_admin_bar->remove_menu('logout');$wp_admin_bar->remove_menu('search');$wp_admin_bar->remove_menu('network-admin');$wp_admin_bar->remove_menu('w3tc');$wp_admin_bar->remove_menu('w3tc-default');$wp_admin_bar->remove_menu('w3tc-empty-caches');$wp_admin_bar->remove_menu('w3tc-faq');$wp_admin_bar->remove_menu('w3tc-support');$wp_admin_bar->remove_menu('cloudflare');$wp_admin_bar->remove_menu('cloudflare-default');$wp_admin_bar->remove_menu('cloudflare-my-websites');$wp_admin_bar->remove_menu('cloudflare-analytics');$wp_admin_bar->remove_menu('cloudflare-account');$wp_admin_bar->remove_menu('wp_memory_db_indicator');}function wpabr_footer_log(){echo"\n<!--Plugin Admin Bar Removal 2012.0320.2012 Active-->";};add_action('wp_head','wpabr_footer_log');add_action('wp_footer','wpabr_footer_log');?> 
  • wp-admin-bar-removal/trunk/wp-admin-bar-removal.php

    r560222 r632125  
    33Plugin Name: Admin Bar Removal DEVELOPMENTAL 
    44Plugin URI: http://slangji.wordpress.com/wp-admin-bar-removal/ 
    5 Description: Completely <code>Disable</code> new WordPress 3.1+ / 3.2+ / 3.3+ (only) <code>Admin Bar</code> Frontend and Backend. Work under GPLv2 License. Completely <code>Remove Code</code> for minimal memory load. | <a href="http://slangji.wordpress.com/donate/" title="Free Donation">Donate</a> | <a href="http://wordpress.org/extend/plugins/wp-overview-lite/" title="Show Dashboard Overview and Footer Memory Load Usage">WP Overview?</a> | <a href="http://wordpress.org/extend/plugins/wp-missed-schedule/" title="Fix Missed Scheduled Future Posts Cron Job">WP Missed Schedule?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-removal/" title="Remove Admin Bar Frontend Backend User Profile and Code">Admin Bar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-node-removal/" title="Remove Admin Bar Frontend and Backend Node">Admin Bar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-removal/" title="Remove ToolBar Frontend Backend User Profile and Code">ToolBar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-node-removal/" title="Remove ToolBar Frontend and Backend Node">ToolBar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-login-deindexing/" title="Total DeIndexing WordPress LogIn from all Search Engines">LogIn DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-total-deindexing/" title="Total DeIndexing WordPress from all Search Engines">WP DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-ie-enhancer-and-modernizer/" title="Enhancer and Modernizer IE Surfing Expirience">Enhancer IE Surfing?</a> 
     5Description: Completely <code>Disable</code> new WordPress 3.1+ / 3.2+ / 3.3+ (only) <code>Admin Bar</code> Frontend and Backend. Work under GPLv2 License. Completely <code>Remove Code</code> for minimal memory load. | <a href="http://slangji.wordpress.com/donate/" title="Free Donation">Donate</a> | <a href="http://slangji.wordpress.com/contact/" title="Send Me Bug and Suggestions">Contact</a> | <a href="http://slangji.wordpress.com/themes/" title="sLaNGjI's Custom Themes">My Themes</a> | <a href="http://profiles.wordpress.org/slangji" title="sLaNGjI's Profile @ WordPress.org">My Profile</a> | <a href="http://slangji.wordpress.com/" title="sLaNGjI's WebSite @ WordPress.com">My WordPress</a> | <a href="https://github.com/slangji" title="sLaNGjI's Repositories @ GitHub.com">My GitHub</a> | <a href="http://webscripts.softpedia.com/author/sLa-1869786722.html" title="sLa Developer Page @ SoftPedia.com">My SoftPedia</a> | <a href="http://wordpress.org/extend/plugins/wp-overview-lite/" title="Show Dashboard Overview and Footer Memory Load Usage">WP Overview?</a> | <a href="http://wordpress.org/extend/plugins/wp-missed-schedule/" title="Fix Missed Scheduled Future Posts Cron Job">WP Missed Schedule?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-removal/" title="Remove Admin Bar Frontend Backend User Profile and Code">Admin Bar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-node-removal/" title="Remove Admin Bar Frontend and Backend Node">Admin Bar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-removal/" title="Remove ToolBar Frontend Backend User Profile and Code">ToolBar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-node-removal/" title="Remove ToolBar Frontend and Backend Node">ToolBar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-login-deindexing/" title="Total DeIndexing WordPress LogIn from all Search Engines">LogIn DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-total-deindexing/" title="Total DeIndexing WordPress from all Search Engines">WP DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-ie-enhancer-and-modernizer/" title="Enhancer and Modernizer IE Surfing Expirience">Enhancer IE Surfing?</a> | <a href="http://wordpress.org/extend/plugins/wp-wp-memory-db-indicator/" title="Memory Load Consumption db size Usage Indicator">Memory and db Indicator?</a> 
    66Version: 2012.0321-BUGFIX.0000-DEVELOPMENTAL 
    77Author: sLa 
     
    99Requires at least: 3.1 
    1010Tested up to: 3.3.3 
    11 License: GPLv2 
     11License: GPLv2 or later 
     12License URI: http://www.gnu.org/licenses/gpl-2.0.html 
    1213 * 
    1314 * Major Stable Release: Version 2012 Build 0320 Revision 2012 
    1415 * 
    1516 * [Admin Bar Removal](http://wordpress.org/extend/plugins/wp-admin-bar-removal/) WordPress PlugIn 
     17 * 
     18 * [Contact](http://slangji.wordpress.com/contact/) - [Donate](http://slangji.wordpress.com/donate/) 
     19 * 
     20 * [My Plugins](http://slangji.wordpress.com/plugins/) - [My Themes](http://slangji.wordpress.com/themes/) 
     21 *  
     22 * [My GitHub.com](https://github.com/slangji) - [My SoftPedia.com](http://webscripts.softpedia.com/author/sLa-1869786722.html 
    1623 * 
    1724 *  This program is free software; you can redistribute it and/or 
     
    3542 * according to the terms of the GNU General Public License version 2 (or later) 
    3643 * 
    37  * Copyright © 2010-2012 [sLa](http://wordpress.org/extend/plugins/profile/slangji) (slangji[at]gmail[dot]com) 
     44 * Copyright © 2009-2013 [sLaNGjI's](http://profiles.wordpress.org/slangji) (slangji[at]gmail[dot]com) 
     45 * 
     46 * Disclaimer: Part of Copyright belongs to [sLa](http://profiles.wordpress.org/sla) and a portion to their respective owners. 
    3847 */ 
    3948/** 
     
    4352 * @version 2012.0321-BUGFIX.0000-DEVELOPMENTAL 
    4453 * @author sLa 
    45  * @license GPLv2 
     54 * @license GPLv2 or later 
    4655 * 
    4756 * Completely Disable Admin Bar Frontend, Backend, and Remove Code for minimal memory load. 
     
    176185$wp_admin_bar->remove_menu('cloudflare-analytics'); 
    177186$wp_admin_bar->remove_menu('cloudflare-account'); 
     187$wp_admin_bar->remove_menu('wp_memory_db_indicator'); 
    178188}?> 
  • wp-memory-db-indicator/trunk/wp-memory-db-indicator.php

    r630437 r632125  
    33Plugin Name: Memory Load db size Indicator - DEV 
    44Plugin URI: http://slangji.wordpress.com/wp-memory-db-indicator/ 
    5 Description: Indicate Memory and db Usage on WordPress Backend. Show Memory Load and db size on Footer and Max Memory Consumption on Admin Bar or ToolBar. (DEVELOPMENTAL RELEASE) Work under GPLv2 License. | <a href="http://slangji.wordpress.com/donate/" title="Free Donation">Donate</a> | <a href="http://slangji.wordpress.com/contact/" title="Send Me Bug and Suggestions">Contact</a> | <a href="http://slangji.wordpress.com/themes/" title="sLaNGjI's Custom Themes">My Themes</a> | <a href="http://profiles.wordpress.org/slangji" title="sLaNGjI's Profile @ WordPress.org">My Profile</a> | <a href="http://slangji.wordpress.com/" title="sLaNGjI's WebSite @ WordPress.com">My WordPress</a> | <a href="https://github.com/slangji" title="sLaNGjI's Repositories @ GitHub.com">My GitHub</a> | <a href="http://webscripts.softpedia.com/author/sLa-1869786722.html" title="sLa Developer Page @ SoftPedia.com">My SoftPedia</a> | <a href="http://wordpress.org/extend/plugins/wp-overview-lite/" title="Show Dashboard Overview and Footer Memory Load Usage">WP Overview?</a> | <a href="http://wordpress.org/extend/plugins/wp-missed-schedule/" title="Fix Missed Scheduled Future Posts Cron Job">WP Missed Schedule?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-removal/" title="Remove Admin Bar Frontend Backend User Profile and Code">Admin Bar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-node-removal/" title="Remove Admin Bar Frontend and Backend Node">Admin Bar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-removal/" title="Remove ToolBar Frontend Backend User Profile and Code">ToolBar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-node-removal/" title="Remove ToolBar Frontend and Backend Node">ToolBar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-login-deindexing/" title="Total DeIndexing WordPress LogIn from all Search Engines">LogIn DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-total-deindexing/" title="Total DeIndexing WordPress from all Search Engines">WP DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-ie-enhancer-and-modernizer/" title="Enhancer and Modernizer IE Surfing Expirience">Enhancer IE Surfing?</a> | <a href="http://wordpress.org/extend/plugins/wp-wp-memory-db-indicator/" title="Memory Load Consumption db size Usage Indicator">Memory and db Indicator?</a> 
     5Description: Indicate Memory and db Usage on WordPress Backend. Show Memory Load and db size on Footer and Max Memory Consumption on Admin Bar or ToolBar. (DEVELOPMENTAL VERSION) Work under GPLv2 License. | <a href="http://slangji.wordpress.com/donate/" title="Free Donation">Donate</a> | <a href="http://slangji.wordpress.com/contact/" title="Send Me Bug and Suggestions">Contact</a> | <a href="http://slangji.wordpress.com/themes/" title="sLaNGjI's Custom Themes">My Themes</a> | <a href="http://profiles.wordpress.org/slangji" title="sLaNGjI's Profile @ WordPress.org">My Profile</a> | <a href="http://slangji.wordpress.com/" title="sLaNGjI's WebSite @ WordPress.com">My WordPress</a> | <a href="https://github.com/slangji" title="sLaNGjI's Repositories @ GitHub.com">My GitHub</a> | <a href="http://webscripts.softpedia.com/author/sLa-1869786722.html" title="sLa Developer Page @ SoftPedia.com">My SoftPedia</a> | <a href="http://wordpress.org/extend/plugins/wp-overview-lite/" title="Show Dashboard Overview and Footer Memory Load Usage">WP Overview?</a> | <a href="http://wordpress.org/extend/plugins/wp-missed-schedule/" title="Fix Missed Scheduled Future Posts Cron Job">WP Missed Schedule?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-removal/" title="Remove Admin Bar Frontend Backend User Profile and Code">Admin Bar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-node-removal/" title="Remove Admin Bar Frontend and Backend Node">Admin Bar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-removal/" title="Remove ToolBar Frontend Backend User Profile and Code">ToolBar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-node-removal/" title="Remove ToolBar Frontend and Backend Node">ToolBar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-login-deindexing/" title="Total DeIndexing WordPress LogIn from all Search Engines">LogIn DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-total-deindexing/" title="Total DeIndexing WordPress from all Search Engines">WP DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-ie-enhancer-and-modernizer/" title="Enhancer and Modernizer IE Surfing Expirience">Enhancer IE Surfing?</a> | <a href="http://wordpress.org/extend/plugins/wp-wp-memory-db-indicator/" title="Memory Load Consumption db size Usage Indicator">Memory and db Indicator?</a> 
    66Version: 2013.0000-BUGFIX.0000-DEVELOPMENT 
    7 Author: sLaNGjI 
     7Author: sLa 
    88Author URI: http://slangji.wordpress.com/ 
    99Requires at least: 3.1 
     
    5151 * @since 3.1.0 
    5252 * @version 2013.0000-BUGFIX.0000-DEVELOPMENT 
    53  * @author sLaNGjI 
     53 * @author sLa 
    5454 * @license GPLv2 or later 
    5555 * 
     
    5757 */ 
    5858if(!function_exists('add_action')){header('HTTP/1.0 403 Forbidden');header('HTTP/1.1 403 Forbidden');exit();}function wpmldbu_footer_log(){echo"\n<!--Plugin Memory Load db size Indicator 2013.0000-BUGFIX.0000-DEVELOPMENT Active-->";}add_action('wp_head','wpmldbu_footer_log');add_action('wp_footer','wpmldbu_footer_log');if(is_blog_admin()||is_network_admin()){class wp_memory_load_db_usage{var$memory=false;function wpo(){return$this->__construct();}function __construct(){add_action('init',array(&$this,'wpmldbu_limit'));add_action('wp_dashboard_setup',array(&$this,'wpmldbu_dashboard'));add_action('wp_network_dashboard_setup',array(&$this,'wpmldbu_network_dashboard'));add_filter('admin_footer_text',array(&$this,'wpmldbu_footer'));$this->memory=array();}function wpmldbu_limit(){$this->memory['wpmldbu-limit']=(int)ini_get('memory_limit');}function wpmldbu_load(){$this->memory['wpmldbu-load']=function_exists('memory_get_usage')?round(memory_get_usage()/1024/1024,2):0;}function wpmldbu_consumption(){$this->memory['wpmldbu-consumption']=round($this->memory['wpmldbu-load']/$this->memory['wpmldbu-limit']*100,0);}function wpmldbu_output(){$this->wpmldbu_load();$this->wpmldbu_consumption();$this->memory['wpmldbu-load']=empty($this->memory['wpmldbu-load'])?__('0'):$this->memory['wpmldbu-load'].__('M')?><?php 
    59 }function wpmldbu_dashboard(){if(!current_user_can('unfiltered_html'))return;}function wpmldbu_network_dashboard(){if(!current_user_can('unfiltered_html'))return;}function wpmldbu_footer($content){$this->wpmldbu_load();$content.=' ~ Memory Load '.$this->memory['wpmldbu-load'].' of '.$this->memory['wpmldbu-limit'].'M';return$content;}}add_action('plugins_loaded',create_function('','$memory=new wp_memory_load_db_usage();'));}if(is_blog_admin()||is_network_admin()){function wpmldbu_fs_info($filesize){$bytes=array('B','K','M','G','T');if($filesize<1024)$filesize=1;for($i=0;$filesize>1024;$i++)$filesize/=1024;$wpmldbu_fs_info['size']=round($filesize,3);$wpmldbu_fs_info['type']=$bytes[$i];return$wpmldbu_fs_info;}function wpmldbu_db_size(){$rows=mysql_query("SHOW table STATUS");$dbsize=0;while($row=mysql_fetch_array($rows)){$dbsize+=$row['Data_length']+$row['Index_length'];}$dbsize=wpmldbu_fs_info($dbsize);echo"db size {$dbsize['size']}{$dbsize['type']}";}add_filter('admin_footer_text','wpmldbu_db_size');}function wpmldbu_atb(){global$wp_admin_bar,$wpdb;if(!is_super_admin()||!is_admin_bar_showing())return;$useful_info=sprintf('Max Memory Load %.2fM',memory_get_peak_usage()/1024/1024,2);$wp_admin_bar->add_menu(array('id'=>'wp_memory_db_indicator','title'=>$useful_info));}add_action('admin_bar_menu','wpmldbu_atb',1000 )?> 
     59}function wpmldbu_dashboard(){if(!current_user_can('unfiltered_html'))return;}function wpmldbu_network_dashboard(){if(!current_user_can('unfiltered_html'))return;}function wpmldbu_footer($content){$this->wpmldbu_load();$content.=' ~ Memory Load Consumption '.$this->memory['wpmldbu-load'].' of '.$this->memory['wpmldbu-limit'].'M';return$content;}}add_action('plugins_loaded',create_function('','$memory=new wp_memory_load_db_usage();'));}if(is_blog_admin()||is_network_admin()){function wpmldbu_fs_info($filesize){$bytes=array('B','K','M','G','T');if($filesize<1024)$filesize=1;for($i=0;$filesize>1024;$i++)$filesize/=1024;$wpmldbu_fs_info['size']=round($filesize,3);$wpmldbu_fs_info['type']=$bytes[$i];return$wpmldbu_fs_info;}function wpmldbu_db_size(){$rows=mysql_query("SHOW table STATUS");$dbsize=0;while($row=mysql_fetch_array($rows)){$dbsize+=$row['Data_length']+$row['Index_length'];}$dbsize=wpmldbu_fs_info($dbsize);echo"db size Usage {$dbsize['size']}{$dbsize['type']}";}add_filter('admin_footer_text','wpmldbu_db_size');}function wpmldbu_atb(){global$wp_admin_bar,$wpdb;if(!is_super_admin()||!is_admin_bar_showing())return;$useful_info=sprintf('Max Peak Memory Load Consumption %.2fM',memory_get_peak_usage()/1024/1024,2);$wp_admin_bar->add_menu(array('id'=>'wp_memory_db_indicator','title'=>$useful_info));}add_action('admin_bar_menu','wpmldbu_atb',1000)?> 
  • wp-toolbar-node-removal/trunk/readme.txt

    r630952 r632125  
    33Donate link: http://slangji.wordpress.com/donate/ 
    44Tags: sLaNGjI 
    5 Stable tag: 2012.1122.1915 
     5Stable tag: 2012.1130.0733 
    66Requires at least: 3.3 
    7 Tested up to: 3.5 
    8 License: GPLv2 
     7Tested up to: 3.5.1 
     8License: GPLv2 or later 
     9License URI: http://www.gnu.org/licenses/gpl-2.0.html 
    910Completely Remove <code>ToolBar</code>, Node, Group, Link, Frontend and Backend Admin Bar for Third Party (free only) Plugins. Development Add-On Code in Becoming. 
    1011== Description == 
    1112Author Website: [slangji.wordpress.com](http://slangji.wordpress.com/) - Author Repositories: [github.com/sLaNGjI](https://github.com/sLaNGjI) 
    1213 
    13 [Find More on sLa Developer Page @ SoftPedia.com](http://webscripts.softpedia.com/author/sLa-1869786722.html) 
     14Find More on [sLa Developer Page @ SoftPedia.com](http://webscripts.softpedia.com/author/sLa-1869786722.html) 
    1415 
    1516Completely Remove <code>ToolBar</code>, Node, Group, Link, Frontend and Backend Admin Bar for Third Party (free only) Plugins. Development Add-On Code in Becoming. 
  • wp-toolbar-node-removal/trunk/wp-toolbar-node-removal.php

    r628777 r632125  
    33Plugin Name: ToolBar Node Removal Add-On 
    44Plugin URI: http://slangji.wordpress.com/wp-toolbar-node-removal/ 
    5 Description: Completely Remove <code>ToolBar</code>, Node, Group, Link, Frontend and Backend Admin Bar for Third Party (free only) Plugins. Development Add-On Code in Becoming. Work under GPLv2 License. | <a href="http://slangji.wordpress.com/donate/" title="Free Donation">Donate</a> | <a href="http://slangji.wordpress.com/contact/" title="Send Me Bug and Suggestions">Contact</a> | <a href="http://wordpress.org/extend/plugins/wp-overview-lite/" title="Show Dashboard Overview and Footer Memory Load Usage">WP Overview?</a> | <a href="http://wordpress.org/extend/plugins/wp-missed-schedule/" title="Fix Missed Scheduled Future Posts Cron Job">WP Missed Schedule?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-removal/" title="Remove Admin Bar Frontend Backend User Profile and Code">Admin Bar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-node-removal/" title="Remove Admin Bar Frontend and Backend Node">Admin Bar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-removal/" title="Remove ToolBar Frontend Backend User Profile and Code">ToolBar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-node-removal/" title="Remove ToolBar Frontend and Backend Node">ToolBar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-login-deindexing/" title="Total DeIndexing WordPress LogIn from all Search Engines">LogIn DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-total-deindexing/" title="Total DeIndexing WordPress from all Search Engines">WP DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-ie-enhancer-and-modernizer/" title="Enhancer and Modernizer IE Surfing Expirience">Enhancer IE Surfing?</a> 
    6 Version: 2012.1122.1915 
     5Description: Completely Remove <code>ToolBar</code>, Node, Group, Link, Frontend and Backend Admin Bar for Third Party (free only) Plugins. Development Add-On Code in Becoming. Work under GPLv2 License. | <a href="http://slangji.wordpress.com/donate/" title="Free Donation">Donate</a> | <a href="http://slangji.wordpress.com/contact/" title="Send Me Bug and Suggestions">Contact</a> | <a href="http://slangji.wordpress.com/themes/" title="sLaNGjI's Custom Themes">My Themes</a> | <a href="http://profiles.wordpress.org/slangji" title="sLaNGjI's Profile @ WordPress.org">My Profile</a> | <a href="http://slangji.wordpress.com/" title="sLaNGjI's WebSite @ WordPress.com">My WordPress</a> | <a href="https://github.com/slangji" title="sLaNGjI's Repositories @ GitHub.com">My GitHub</a> | <a href="http://webscripts.softpedia.com/author/sLa-1869786722.html" title="sLa Developer Page @ SoftPedia.com">My SoftPedia</a> | <a href="http://wordpress.org/extend/plugins/wp-overview-lite/" title="Show Dashboard Overview and Footer Memory Load Usage">WP Overview?</a> | <a href="http://wordpress.org/extend/plugins/wp-missed-schedule/" title="Fix Missed Scheduled Future Posts Cron Job">WP Missed Schedule?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-removal/" title="Remove Admin Bar Frontend Backend User Profile and Code">Admin Bar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-node-removal/" title="Remove Admin Bar Frontend and Backend Node">Admin Bar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-removal/" title="Remove ToolBar Frontend Backend User Profile and Code">ToolBar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-node-removal/" title="Remove ToolBar Frontend and Backend Node">ToolBar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-login-deindexing/" title="Total DeIndexing WordPress LogIn from all Search Engines">LogIn DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-total-deindexing/" title="Total DeIndexing WordPress from all Search Engines">WP DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-ie-enhancer-and-modernizer/" title="Enhancer and Modernizer IE Surfing Expirience">Enhancer IE Surfing?</a> | <a href="http://wordpress.org/extend/plugins/wp-wp-memory-db-indicator/" title="Memory Load Consumption db size Usage Indicator">Memory and db Indicator?</a> 
     6Version: 2012.1130.0733 
    77Author: sLa 
    88Author URI: http://slangji.wordpress.com/ 
    99Requires at least: 3.3 
    10 Tested up to: 3.5 
    11 License: GPLv2 
     10Tested up to: 3.5.1 
     11License: GPLv2 or later 
     12License URI: http://www.gnu.org/licenses/gpl-2.0.html 
    1213 * 
    1314 * [ToolBar Node Removal](http://wordpress.org/extend/plugins/wp-toolbar-node-removal/) WordPress PlugIn 
     15 * 
     16 * [Contact](http://slangji.wordpress.com/contact/) - [Donate](http://slangji.wordpress.com/donate/) 
     17 * 
     18 * [My Plugins](http://slangji.wordpress.com/plugins/) - [My Themes](http://slangji.wordpress.com/themes/) 
     19 *  
     20 * [My GitHub.com](https://github.com/slangji) - [My SoftPedia.com](http://webscripts.softpedia.com/author/sLa-1869786722.html 
    1421 * 
    1522 *  This program is free software; you can redistribute it and/or 
     
    3643 * according to the terms of the GNU General Public License version 2 (or later) 
    3744 * 
    38  * Copyright © 2012 [sLa](http://wordpress.org/extend/plugins/profile/slangji) (slangji[at]gmail[dot]com) 
     45 * Copyright © 2009-2013 [sLaNGjI's](http://profiles.wordpress.org/slangji) (slangji[at]gmail[dot]com) 
     46 * 
     47 * Disclaimer: Part of Copyright belongs to [sLa](http://profiles.wordpress.org/sla) and a portion to their respective owners. 
    3948 */ 
    4049/** 
     
    4251 * @subpackage WordPress PlugIn 
    4352 * @since 3.3.0 
    44  * @version 2012.1122.1915 
     53 * @version 2012.1130.0733 
    4554 * @author sLa 
    46  * @license GPLv2 
     55 * @license GPLv2 or later 
    4756 * 
    4857 * Completely Disable Admin ToolBar, Node Group Link, on WordPress Frontend and Backend. 
     
    221230        $wp_admin_bar->remove_menu( 'edit-the-templates' ); 
    222231        $wp_admin_bar->remove_menu( 'help' ); 
     232         
     233        // WP Memory Load db size Indicator 
     234        $wp_admin_bar->remove_menu('wp_memory_db_indicator'); 
    223235 
    224236        //$wp_admin_bar->remove_menu( '' ); 
     
    229241function wptbnr_nfo () { 
    230242 
    231         echo"\n<!--Plugin ToolBar Node Removal 2012.0809.0554 Active-->"; 
     243        echo"\n<!--Plugin ToolBar Node Removal 2012.1130.0733 Active-->"; 
    232244 
    233245    } 
  • wp-toolbar-removal/trunk/wp-toolbar-removal.php

    r628867 r632125  
    33Plugin Name: ToolBar Removal - DEV 
    44Plugin URI: http://slangji.wordpress.com/wp-toolbar-removal/ 
    5 Description: Completely <code>Disable</code> new WordPress 3.5+ / 3.4+ / 3.3+ (only) Admin <code>ToolBar</code> Frontend, Backend, Node, Pointer, Shadow, User Profile, without loosing Logout and Network functionality! Completely <code>Remove Code</code> for Minimal Memory Load, and Dasboard Speedup, with new approach. Work under GPLv2 License. (DEVELOPMENT VERSION) Thanks to olyma! | <a href="http://slangji.wordpress.com/donate/" title="Free Donation">Donate</a> | <a href="http://slangji.wordpress.com/contact/" title="Send Me Bug and Suggestions">Contact</a> | <a href="http://wordpress.org/extend/plugins/wp-overview-lite/" title="Show Dashboard Overview and Footer Memory Load Usage">WP Overview?</a> | <a href="http://wordpress.org/extend/plugins/wp-missed-schedule/" title="Fix Missed Scheduled Future Posts Cron Job">WP Missed Schedule?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-removal/" title="Remove Admin Bar Frontend Backend User Profile and Code">Admin Bar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-node-removal/" title="Remove Admin Bar Frontend and Backend Node">Admin Bar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-removal/" title="Remove ToolBar Frontend Backend User Profile and Code">ToolBar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-node-removal/" title="Remove ToolBar Frontend and Backend Node">ToolBar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-login-deindexing/" title="Total DeIndexing WordPress LogIn from all Search Engines">LogIn DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-total-deindexing/" title="Total DeIndexing WordPress from all Search Engines">WP DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-ie-enhancer-and-modernizer/" title="Enhancer and Modernizer IE Surfing Expirience">Enhancer IE Surfing?</a> 
    6 Version: 2012.1205.0350 
     5Description: Completely <code>Disable</code> new WordPress 3.5+ / 3.4+ / 3.3+ (only) Admin <code>ToolBar</code> Frontend, Backend, Node, Pointer, Shadow, User Profile, without loosing Logout and Network functionality! Completely <code>Remove Code</code> for Minimal Memory Load, and Dasboard Speedup, with new approach. (DEVELOPMENTAL VERSION) Work under GPLv2 License. Thanks to olyma! | <a href="http://slangji.wordpress.com/donate/" title="Free Donation">Donate</a> | <a href="http://slangji.wordpress.com/contact/" title="Send Me Bug and Suggestions">Contact</a> | <a href="http://slangji.wordpress.com/themes/" title="sLaNGjI's Custom Themes">My Themes</a> | <a href="http://profiles.wordpress.org/slangji" title="sLaNGjI's Profile @ WordPress.org">My Profile</a> | <a href="http://slangji.wordpress.com/" title="sLaNGjI's WebSite @ WordPress.com">My WordPress</a> | <a href="https://github.com/slangji" title="sLaNGjI's Repositories @ GitHub.com">My GitHub</a> | <a href="http://webscripts.softpedia.com/author/sLa-1869786722.html" title="sLa Developer Page @ SoftPedia.com">My SoftPedia</a> | <a href="http://wordpress.org/extend/plugins/wp-overview-lite/" title="Show Dashboard Overview and Footer Memory Load Usage">WP Overview?</a> | <a href="http://wordpress.org/extend/plugins/wp-missed-schedule/" title="Fix Missed Scheduled Future Posts Cron Job">WP Missed Schedule?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-removal/" title="Remove Admin Bar Frontend Backend User Profile and Code">Admin Bar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-node-removal/" title="Remove Admin Bar Frontend and Backend Node">Admin Bar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-removal/" title="Remove ToolBar Frontend Backend User Profile and Code">ToolBar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-node-removal/" title="Remove ToolBar Frontend and Backend Node">ToolBar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-login-deindexing/" title="Total DeIndexing WordPress LogIn from all Search Engines">LogIn DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-total-deindexing/" title="Total DeIndexing WordPress from all Search Engines">WP DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-ie-enhancer-and-modernizer/" title="Enhancer and Modernizer IE Surfing Expirience">Enhancer IE Surfing?</a> | <a href="http://wordpress.org/extend/plugins/wp-wp-memory-db-indicator/" title="Memory Load Consumption db size Usage Indicator">Memory and db Indicator?</a> 
     6Version: 2012.1130.0733 
    77Author: sLa 
    88Author URI: http://slangji.wordpress.com/ 
    99Requires at least: 3.3 
    10 Tested up to: 3.5 
     10Tested up to: 3.5.1 
    1111License: GPLv2 or later 
     12License URI: http://www.gnu.org/licenses/gpl-2.0.html 
    1213 * 
    1314 * Stable Release: Version 2012 Build 1121 Revision 0343 
    1415 * 
    1516 * [ToolBar Removal](http://wordpress.org/extend/plugins/wp-toolbar-removal/) WordPress PlugIn 
     17 * 
     18 * [Contact](http://slangji.wordpress.com/contact/) - [Donate](http://slangji.wordpress.com/donate/) 
     19 * 
     20 * [My Plugins](http://slangji.wordpress.com/plugins/) - [My Themes](http://slangji.wordpress.com/themes/) 
     21 *  
     22 * [My GitHub.com](https://github.com/slangji) - [My SoftPedia.com](http://webscripts.softpedia.com/author/sLa-1869786722.html 
    1623 * 
    1724 *  This program is free software; you can redistribute it and/or 
     
    3946 * 
    4047 * Copyright © 2011 olyma (rackofpower.com) 
    41  * Copyright © 2010-2012 [sLa](http://wordpress.org/extend/plugins/profile/slangji) (slangji[at]gmail[dot]com) 
     48 * Copyright © 2009-2013 [sLaNGjI's](http://profiles.wordpress.org/slangji) (slangji[at]gmail[dot]com) 
     49 * 
     50 * Disclaimer: Part of Copyright belongs to [sLa](http://profiles.wordpress.org/sla) and a portion to their respective owners. 
    4251 * 
    4352 * Thanks to [olyma](http://wordpress.org/extend/plugins/one-click-logout-barless/) 
     
    5564 * @subpackage WordPress PlugIn 
    5665 * @since 3.3.0 
    57  * @version 2012.1205.0350 
     66 * @version 2012.1130.0733 
    5867 * @author sLa 
    5968 * @license GPLv2 or later 
     
    6170 * Completely Disable Admin ToolBar, Frontend, Backend, Node Group, Bar Pointer, Menu Shadow, User Profile, without loosing Logout and Network functionality. Remove Code for Minimal Memory Load, and Dasboard Speedup, with new approach. 
    6271 */ 
    63 if(!function_exists('add_action')){header('HTTP/1.0 403 Forbidden');header('HTTP/1.1 403 Forbidden');exit();}function wptbr_rsb(){echo'<style type="text/css">html.wp-toolbar,html.wp-toolbar #wpcontent,html.wp-toolbar #adminmenu,html.wp-toolbar #wpadminbar,body.admin-bar,body.admin-bar #wpcontent,body.admin-bar #adminmenu,body.admin-bar #wpadminbar{padding-top:0px !important}</style>';}add_action('admin_print_styles','wptbr_rsb',21);function wptbr_rbcb(){if(has_filter('wp_head','_admin_bar_bump_cb')){remove_filter('wp_head','_admin_bar_bump_cb');}}add_filter('wp_head','wptbr_rbcb',1);function wptbr_ngr($wp_toolbar){$wp_toolbar->remove_node('root-default');$wp_toolbar->remove_node('wp-logo');$wp_toolbar->remove_node('wp-logo-default');$wp_toolbar->remove_node('about');$wp_toolbar->remove_node('wp-logo-external');$wp_toolbar->remove_node('wporg');$wp_toolbar->remove_node('documentation');$wp_toolbar->remove_node('support-forums');$wp_toolbar->remove_node('feedback');$wp_toolbar->remove_node('site-name');$wp_toolbar->remove_node('site-name-default');$wp_toolbar->remove_node('view-site');$wp_toolbar->remove_node('comments');$wp_toolbar->remove_node('updates');$wp_toolbar->remove_node('view');$wp_toolbar->remove_node('new-content');$wp_toolbar->remove_node('new-content-default');$wp_toolbar->remove_node('new-post');$wp_toolbar->remove_node('new-media');$wp_toolbar->remove_node('new-link');$wp_toolbar->remove_node('new-page');$wp_toolbar->remove_node('new-user');$wp_toolbar->remove_node('top-secondary');$wp_toolbar->remove_node('my-account');$wp_toolbar->remove_node('user-actions');$wp_toolbar->remove_node('user-info');$wp_toolbar->remove_node('edit-profile');$wp_toolbar->remove_node('logout');$wp_toolbar->remove_node('search');$wp_toolbar->remove_node('my-sites');$wp_toolbar->remove_node('my-sites-list');$wp_toolbar->remove_node('blog-1');$wp_toolbar->remove_node('blog-1-default');$wp_toolbar->remove_node('blog-1-d');$wp_toolbar->remove_node('blog-1-n');$wp_toolbar->remove_node('blog-1-c');$wp_toolbar->remove_node('blog-1-v');$wp_toolbar->remove_node('blog-2');$wp_toolbar->remove_node('blog-2-default');$wp_toolbar->remove_node('blog-2-d');$wp_toolbar->remove_node('blog-2-n');$wp_toolbar->remove_node('blog-2-c');$wp_toolbar->remove_node('blog-2-v');$wp_toolbar->remove_node('blog-3');$wp_toolbar->remove_node('blog-3-default');$wp_toolbar->remove_node('blog-3-d');$wp_toolbar->remove_node('blog-3-n');$wp_toolbar->remove_node('blog-3-c');$wp_toolbar->remove_node('blog-3-v');$wp_toolbar->remove_node('blog-4');$wp_toolbar->remove_node('blog-4-default');$wp_toolbar->remove_node('blog-4-d');$wp_toolbar->remove_node('blog-4-n');$wp_toolbar->remove_node('blog-4-c');$wp_toolbar->remove_node('blog-4-v');$wp_toolbar->remove_node('blog-5');$wp_toolbar->remove_node('blog-5-default');$wp_toolbar->remove_node('blog-5-d');$wp_toolbar->remove_node('blog-5-n');$wp_toolbar->remove_node('blog-5-c');$wp_toolbar->remove_node('blog-5-v');$wp_toolbar->remove_node('blog-6');$wp_toolbar->remove_node('blog-6-default');$wp_toolbar->remove_node('blog-6-d');$wp_toolbar->remove_node('blog-6-n');$wp_toolbar->remove_node('blog-6-c');$wp_toolbar->remove_node('blog-6-v');$wp_toolbar->remove_node('blog-7');$wp_toolbar->remove_node('blog-7-default');$wp_toolbar->remove_node('blog-7-d');$wp_toolbar->remove_node('blog-7-n');$wp_toolbar->remove_node('blog-7-c');$wp_toolbar->remove_node('blog-7-v');$wp_toolbar->remove_node('blog-8');$wp_toolbar->remove_node('blog-8-default');$wp_toolbar->remove_node('blog-8-d');$wp_toolbar->remove_node('blog-8-n');$wp_toolbar->remove_node('blog-8-c');$wp_toolbar->remove_node('blog-8-v');$wp_toolbar->remove_node('blog-9');$wp_toolbar->remove_node('blog-9-default');$wp_toolbar->remove_node('blog-9-d');$wp_toolbar->remove_node('blog-9-n');$wp_toolbar->remove_node('blog-9-c');$wp_toolbar->remove_node('blog-9-v');$wp_toolbar->remove_node('wpseo-menu');$wp_toolbar->remove_node('wpseo-menu-default');$wp_toolbar->remove_node('wpseo-kwresearch');$wp_toolbar->remove_node('wpseo-kwresearch-default');$wp_toolbar->remove_node('wpseo-adwordsexternal');$wp_toolbar->remove_node('wpseo-googleinsights');$wp_toolbar->remove_node('wpseo-wordtracker');$wp_toolbar->remove_node('wpseo-settings');$wp_toolbar->remove_node('wpseo-settings-default');$wp_toolbar->remove_node('wpseo-titles');$wp_toolbar->remove_node('wpseo-social');$wp_toolbar->remove_node('wpseo-xml');$wp_toolbar->remove_node('wpseo-permalinks');$wp_toolbar->remove_node('wpseo-internal-links');$wp_toolbar->remove_node('wpseo-rss');$wp_toolbar->remove_node('ngg-menu');$wp_toolbar->remove_node('ngg-menu-default');$wp_toolbar->remove_node('ngg-menu-overview');$wp_toolbar->remove_node('ngg-menu-add-gallery');$wp_toolbar->remove_node('ngg-menu-manage-gallery');$wp_toolbar->remove_node('ngg-menu-manage-album');$wp_toolbar->remove_node('ngg-menu-tags');$wp_toolbar->remove_node('ngg-menu-options');$wp_toolbar->remove_node('ngg-menu-style');$wp_toolbar->remove_node('ngg-menu-about');$wp_toolbar->remove_node('cloudflare');$wp_toolbar->remove_node('cloudflare-default');$wp_toolbar->remove_node('cloudflare-my-websites');$wp_toolbar->remove_node('cloudflare-analytics');$wp_toolbar->remove_node('cloudflare-account');$wp_toolbar->remove_node('w3tc');$wp_toolbar->remove_node('w3tc-default');$wp_toolbar->remove_node('w3tc-empty-caches');$wp_toolbar->remove_node('w3tc-faq');$wp_toolbar->remove_node('w3tc-support');}add_action('admin_bar_menu','wptbr_ngr',999);function wptbr_ab_ngr(){global$wp_admin_bar;$wp_admin_bar->remove_menu('root-default');$wp_admin_bar->remove_menu('delete-cache');$wp_admin_bar->remove_menu('network-admin');}add_action('wp_before_admin_bar_render','wptbr_ab_ngr',999);function wptbr_ras(){echo'<style type="text/css">#adminmenushadow,#adminmenuback{background-image:none}</style>';}add_action('admin_head','wptbr_ras');function wptbr_hdr(){?><style type="text/css">table#wptbr td#wptbr_ttl a:link,table#wptbr td#wptbr_ttl a:visited{text-decoration:none}table#wptbr td#wptbr_lgt,table#wptbr td#wptbr_lgt a{text-decoration:none}</style><table style="margin-left:6px;float:left;z-index:100;position:relative;left:0px;top:0px;background:none;padding:0px;border:0px;border-bottom:1px solid #DFDFDF" id="wptbr" border=0 cols=4 width="97%" height="33"><tr><td align=left valign=center id="wptbr_ttl"><?php echo'<a href="'.home_url().'">'.__(get_bloginfo()).'</a>'?></td><td align=right valign=center id="wptbr_lgt"><div style="padding-top:2px"><?php wp_get_current_user();$current_user=wp_get_current_user();if(!($current_user instanceof WP_User))return;echo''.$current_user->display_name.''?><?php if(is_multisite()&&is_super_admin()){if(!is_network_admin()){echo' | <a href="'.network_admin_url(). '">'. __('Network Admin'). '</a>';}else{echo' | <a href="' .get_dashboard_url(get_current_user_id()). '">'.__('Site Admin') . '</a>';}}?> | <?php echo'<a href="' .wp_logout_url(home_url()). '">'.__('Log Out'). '</a>'?></div></td><td width="8"></td></tr></table><?php }add_action('in_admin_header','wptbr_hdr');remove_action('init','wp_admin_bar_init');remove_filter('init','wp_admin_bar_init');$wp_scripts=new WP_Scripts();wp_deregister_script('admin-bar');$wp_styles=new WP_Styles();wp_deregister_style('admin-bar');remove_action('wp_footer','wp_admin_bar_render',1000);remove_filter('wp_footer','wp_admin_bar_render',1000);remove_action('admin_footer','wp_admin_bar_render',1000);remove_filter('admin_footer','wp_admin_bar_render',1000);remove_action('wp_head','wp_admin_bar_css');remove_action('admin_head','wp_admin_bar_css');remove_action('wp_footer','wp_admin_bar_js');remove_filter('wp_footer','wp_admin_bar_js');remove_action('admin_footer','wp_admin_bar_js');remove_filter('admin_footer','wp_admin_bar_js');remove_action('wp_ajax_adminbar_render','wp_admin_bar_ajax_render');remove_filter('wp_ajax_adminbar_render','wp_admin_bar_ajax_render');remove_filter('locale','wp_admin_bar_lang');remove_filter('wp_head','wp_admin_bar');remove_filter('wp_footer','wp_admin_bar');remove_filter('admin_head','wp_admin_bar');remove_filter('admin_footer','wp_admin_bar');remove_filter('wp_head','wp_admin_bar_class');remove_filter('wp_footer','wp_admin_bar_class');remove_filter('admin_head','wp_admin_bar_class');remove_filter('admin_footer','wp_admin_bar_class');remove_action('wp_head','wp_admin_bar_dev_css');remove_action('wp_head','wp_admin_bar_rtl_css');remove_action('wp_head','wp_admin_bar_rtl_dev_css');remove_action('admin_head','wp_admin_bar_dev_css');remove_action('admin_head','wp_admin_bar_rtl_css');remove_action('admin_head','wp_admin_bar_rtl_dev_css');remove_action('wp_footer','wp_admin_bar_dev_js');remove_filter('wp_footer','wp_admin_bar_dev_js');remove_action('admin_footer','wp_admin_bar_dev_js');remove_filter('admin_footer','wp_admin_bar_dev_js');remove_action('personal_options','_admin_bar_pref');remove_filter('personal_options','_admin_bar_pref');remove_action('personal_options','_get_admin_bar_pref');remove_filter('personal_options','_get_admin_bar_pref');function wptbr_init(){add_filter('show_admin_bar','__return_false');}add_filter('init','wptbr_init',9);show_admin_bar(false);function wptbr_spab_init(){add_filter('show_wp_pointer_admin_bar','__return_false');}add_filter('init','wptbr_spab_init');function wptbr_rsf(){echo'<style type="text/css">*{margin-top:0px !important}html{margin-top:0px !important}body{margin-top:0px !important}</style>';}add_filter('admin_head','wptbr_rsf',99);function wptbr_nfo(){echo"\n<!--Plugin ToolBar Removal 2012.1205.0350 Active-->\n";}add_action('wp_head','wptbr_nfo');add_action('wp_footer','wptbr_nfo');add_action('admin_head','wptbr_nfo');add_action('admin_footer','wptbr_nfo')?> 
     72if(!function_exists('add_action')){header('HTTP/1.0 403 Forbidden');header('HTTP/1.1 403 Forbidden');exit();}function wptbr_rsb(){echo'<style type="text/css">html.wp-toolbar,html.wp-toolbar #wpcontent,html.wp-toolbar #adminmenu,html.wp-toolbar #wpadminbar,body.admin-bar,body.admin-bar #wpcontent,body.admin-bar #adminmenu,body.admin-bar #wpadminbar{padding-top:0px !important}</style>';}add_action('admin_print_styles','wptbr_rsb',21);function wptbr_rbcb(){if(has_filter('wp_head','_admin_bar_bump_cb')){remove_filter('wp_head','_admin_bar_bump_cb');}}add_filter('wp_head','wptbr_rbcb',1);function wptbr_ngr($wp_toolbar){$wp_toolbar->remove_node('root-default');$wp_toolbar->remove_node('wp-logo');$wp_toolbar->remove_node('wp-logo-default');$wp_toolbar->remove_node('about');$wp_toolbar->remove_node('wp-logo-external');$wp_toolbar->remove_node('wporg');$wp_toolbar->remove_node('documentation');$wp_toolbar->remove_node('support-forums');$wp_toolbar->remove_node('feedback');$wp_toolbar->remove_node('site-name');$wp_toolbar->remove_node('site-name-default');$wp_toolbar->remove_node('view-site');$wp_toolbar->remove_node('comments');$wp_toolbar->remove_node('updates');$wp_toolbar->remove_node('view');$wp_toolbar->remove_node('new-content');$wp_toolbar->remove_node('new-content-default');$wp_toolbar->remove_node('new-post');$wp_toolbar->remove_node('new-media');$wp_toolbar->remove_node('new-link');$wp_toolbar->remove_node('new-page');$wp_toolbar->remove_node('new-user');$wp_toolbar->remove_node('top-secondary');$wp_toolbar->remove_node('my-account');$wp_toolbar->remove_node('user-actions');$wp_toolbar->remove_node('user-info');$wp_toolbar->remove_node('edit-profile');$wp_toolbar->remove_node('logout');$wp_toolbar->remove_node('search');$wp_toolbar->remove_node('my-sites');$wp_toolbar->remove_node('my-sites-list');$wp_toolbar->remove_node('blog-1');$wp_toolbar->remove_node('blog-1-default');$wp_toolbar->remove_node('blog-1-d');$wp_toolbar->remove_node('blog-1-n');$wp_toolbar->remove_node('blog-1-c');$wp_toolbar->remove_node('blog-1-v');$wp_toolbar->remove_node('blog-2');$wp_toolbar->remove_node('blog-2-default');$wp_toolbar->remove_node('blog-2-d');$wp_toolbar->remove_node('blog-2-n');$wp_toolbar->remove_node('blog-2-c');$wp_toolbar->remove_node('blog-2-v');$wp_toolbar->remove_node('blog-3');$wp_toolbar->remove_node('blog-3-default');$wp_toolbar->remove_node('blog-3-d');$wp_toolbar->remove_node('blog-3-n');$wp_toolbar->remove_node('blog-3-c');$wp_toolbar->remove_node('blog-3-v');$wp_toolbar->remove_node('blog-4');$wp_toolbar->remove_node('blog-4-default');$wp_toolbar->remove_node('blog-4-d');$wp_toolbar->remove_node('blog-4-n');$wp_toolbar->remove_node('blog-4-c');$wp_toolbar->remove_node('blog-4-v');$wp_toolbar->remove_node('blog-5');$wp_toolbar->remove_node('blog-5-default');$wp_toolbar->remove_node('blog-5-d');$wp_toolbar->remove_node('blog-5-n');$wp_toolbar->remove_node('blog-5-c');$wp_toolbar->remove_node('blog-5-v');$wp_toolbar->remove_node('blog-6');$wp_toolbar->remove_node('blog-6-default');$wp_toolbar->remove_node('blog-6-d');$wp_toolbar->remove_node('blog-6-n');$wp_toolbar->remove_node('blog-6-c');$wp_toolbar->remove_node('blog-6-v');$wp_toolbar->remove_node('blog-7');$wp_toolbar->remove_node('blog-7-default');$wp_toolbar->remove_node('blog-7-d');$wp_toolbar->remove_node('blog-7-n');$wp_toolbar->remove_node('blog-7-c');$wp_toolbar->remove_node('blog-7-v');$wp_toolbar->remove_node('blog-8');$wp_toolbar->remove_node('blog-8-default');$wp_toolbar->remove_node('blog-8-d');$wp_toolbar->remove_node('blog-8-n');$wp_toolbar->remove_node('blog-8-c');$wp_toolbar->remove_node('blog-8-v');$wp_toolbar->remove_node('blog-9');$wp_toolbar->remove_node('blog-9-default');$wp_toolbar->remove_node('blog-9-d');$wp_toolbar->remove_node('blog-9-n');$wp_toolbar->remove_node('blog-9-c');$wp_toolbar->remove_node('blog-9-v');$wp_toolbar->remove_node('wpseo-menu');$wp_toolbar->remove_node('wpseo-menu-default');$wp_toolbar->remove_node('wpseo-kwresearch');$wp_toolbar->remove_node('wpseo-kwresearch-default');$wp_toolbar->remove_node('wpseo-adwordsexternal');$wp_toolbar->remove_node('wpseo-googleinsights');$wp_toolbar->remove_node('wpseo-wordtracker');$wp_toolbar->remove_node('wpseo-settings');$wp_toolbar->remove_node('wpseo-settings-default');$wp_toolbar->remove_node('wpseo-titles');$wp_toolbar->remove_node('wpseo-social');$wp_toolbar->remove_node('wpseo-xml');$wp_toolbar->remove_node('wpseo-permalinks');$wp_toolbar->remove_node('wpseo-internal-links');$wp_toolbar->remove_node('wpseo-rss');$wp_toolbar->remove_node('ngg-menu');$wp_toolbar->remove_node('ngg-menu-default');$wp_toolbar->remove_node('ngg-menu-overview');$wp_toolbar->remove_node('ngg-menu-add-gallery');$wp_toolbar->remove_node('ngg-menu-manage-gallery');$wp_toolbar->remove_node('ngg-menu-manage-album');$wp_toolbar->remove_node('ngg-menu-tags');$wp_toolbar->remove_node('ngg-menu-options');$wp_toolbar->remove_node('ngg-menu-style');$wp_toolbar->remove_node('ngg-menu-about');$wp_toolbar->remove_node('cloudflare');$wp_toolbar->remove_node('cloudflare-default');$wp_toolbar->remove_node('cloudflare-my-websites');$wp_toolbar->remove_node('cloudflare-analytics');$wp_toolbar->remove_node('cloudflare-account');$wp_toolbar->remove_node('w3tc');$wp_toolbar->remove_node('w3tc-default');$wp_toolbar->remove_node('w3tc-empty-caches');$wp_toolbar->remove_node('w3tc-faq');$wp_toolbar->remove_node('w3tc-support');}add_action('admin_bar_menu','wptbr_ngr',999);function wptbr_ab_ngr(){global$wp_admin_bar;$wp_admin_bar->remove_menu('root-default');$wp_admin_bar->remove_menu('delete-cache');$wp_admin_bar->remove_menu('network-admin');$wp_admin_bar->remove_menu('wp_memory_db_indicator');}add_action('wp_before_admin_bar_render','wptbr_ab_ngr',999);function wptbr_ras(){echo'<style type="text/css">#adminmenushadow,#adminmenuback{background-image:none}</style>';}add_action('admin_head','wptbr_ras');function wptbr_hdr(){?><style type="text/css">table#wptbr td#wptbr_ttl a:link,table#wptbr td#wptbr_ttl a:visited{text-decoration:none}table#wptbr td#wptbr_lgt,table#wptbr td#wptbr_lgt a{text-decoration:none}</style><table style="margin-left:6px;float:left;z-index:100;position:relative;left:0px;top:0px;background:none;padding:0px;border:0px;border-bottom:1px solid #DFDFDF" id="wptbr" border=0 cols=4 width="97%" height="33"><tr><td align=left valign=center id="wptbr_ttl"><?php echo'<a href="'.home_url().'">'.__(get_bloginfo()).'</a>'?></td><td align=right valign=center id="wptbr_lgt"><div style="padding-top:2px"><?php wp_get_current_user();$current_user=wp_get_current_user();if(!($current_user instanceof WP_User))return;echo''.$current_user->display_name.''?><?php if(is_multisite()&&is_super_admin()){if(!is_network_admin()){echo' | <a href="'.network_admin_url(). '">'. __('Network Admin'). '</a>';}else{echo' | <a href="' .get_dashboard_url(get_current_user_id()). '">'.__('Site Admin') . '</a>';}}?> | <?php echo'<a href="' .wp_logout_url(home_url()). '">'.__('Log Out'). '</a>'?></div></td><td width="8"></td></tr></table><?php }add_action('in_admin_header','wptbr_hdr');remove_action('init','wp_admin_bar_init');remove_filter('init','wp_admin_bar_init');$wp_scripts=new WP_Scripts();wp_deregister_script('admin-bar');$wp_styles=new WP_Styles();wp_deregister_style('admin-bar');remove_action('wp_footer','wp_admin_bar_render',1000);remove_filter('wp_footer','wp_admin_bar_render',1000);remove_action('admin_footer','wp_admin_bar_render',1000);remove_filter('admin_footer','wp_admin_bar_render',1000);remove_action('wp_head','wp_admin_bar_css');remove_action('admin_head','wp_admin_bar_css');remove_action('wp_footer','wp_admin_bar_js');remove_filter('wp_footer','wp_admin_bar_js');remove_action('admin_footer','wp_admin_bar_js');remove_filter('admin_footer','wp_admin_bar_js');remove_action('wp_ajax_adminbar_render','wp_admin_bar_ajax_render');remove_filter('wp_ajax_adminbar_render','wp_admin_bar_ajax_render');remove_filter('locale','wp_admin_bar_lang');remove_filter('wp_head','wp_admin_bar');remove_filter('wp_footer','wp_admin_bar');remove_filter('admin_head','wp_admin_bar');remove_filter('admin_footer','wp_admin_bar');remove_filter('wp_head','wp_admin_bar_class');remove_filter('wp_footer','wp_admin_bar_class');remove_filter('admin_head','wp_admin_bar_class');remove_filter('admin_footer','wp_admin_bar_class');remove_action('wp_head','wp_admin_bar_dev_css');remove_action('wp_head','wp_admin_bar_rtl_css');remove_action('wp_head','wp_admin_bar_rtl_dev_css');remove_action('admin_head','wp_admin_bar_dev_css');remove_action('admin_head','wp_admin_bar_rtl_css');remove_action('admin_head','wp_admin_bar_rtl_dev_css');remove_action('wp_footer','wp_admin_bar_dev_js');remove_filter('wp_footer','wp_admin_bar_dev_js');remove_action('admin_footer','wp_admin_bar_dev_js');remove_filter('admin_footer','wp_admin_bar_dev_js');remove_action('personal_options','_admin_bar_pref');remove_filter('personal_options','_admin_bar_pref');remove_action('personal_options','_get_admin_bar_pref');remove_filter('personal_options','_get_admin_bar_pref');function wptbr_init(){add_filter('show_admin_bar','__return_false');}add_filter('init','wptbr_init',9);show_admin_bar(false);function wptbr_spab_init(){add_filter('show_wp_pointer_admin_bar','__return_false');}add_filter('init','wptbr_spab_init');function wptbr_rsf(){echo'<style type="text/css">*{margin-top:0px !important}html{margin-top:0px !important}body{margin-top:0px !important}</style>';}add_filter('admin_head','wptbr_rsf',99);function wptbr_nfo(){echo"\n<!--Plugin ToolBar Removal 2012.1130.0733 Active-->\n";}add_action('wp_head','wptbr_nfo');add_action('wp_footer','wptbr_nfo');add_action('admin_head','wptbr_nfo');add_action('admin_footer','wptbr_nfo')?> 
Note: See TracChangeset for help on using the changeset viewer.