WordPress.org

Plugin Directory

Changeset 562815


Ignore:
Timestamp:
06/23/12 09:25:48 (22 months ago)
Author:
sLaNGjI
Message:
 
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-toolbar-node-removal/trunk/wp-toolbar-node-removal.php

    r561522 r562815  
    33Plugin Name: ToolBar Node Removal 
    44Plugin URI: http://slangji.wordpress.com/wp-toolbar-node-removal/ 
    5 Description: Completely Disable <code>ToolBar Node</code>, Frontend, Backend, free memory and speedup dasboard on WordPress 3.3+ / 3.4+ (only). Developmental Code in Becoming. Work under GPLv2 License.       | <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> 
    6 Version: 2012.0621.0029 
     5Description: Completely Disable <code>ToolBar Node</code>, Frontend, Backend, free memory and speedup dasboard on WordPress 3.3+ / 3.4+ (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> 
     6Version: 2012.0623.1124 
    77Author: sLa 
    88Author URI: http://slangji.wordpress.com/ 
     
    2828 * 
    2929 *  The license for this software can be found @ http://www.gnu.org/licenses/gpl-2.0.html 
     30 * 
     31 * Disclaimer: 
     32 * Development Code in Becoming. Always! 
     33 * 
     34 * This uses code derived from 
     35 * wp-admin-bar-node-removal.php by sLa <slangji[at]gmail[dot]com> 
     36 * according to the terms of the GNU General Public License version 2 (or later) 
     37 * 
     38 * Copyright © 2010-2012 [sLa](http://wordpress.org/extend/plugins/profile/slangji) (slangji[at]gmail[dot]com) 
    3039 * 
    3140 * Copyright © 2012 [sLa](http://wordpress.org/extend/plugins/profile/slangji) (slangji[at]gmail[dot]com) 
     
    3544 * @subpackage WordPress PlugIn 
    3645 * @since 3.3.0 
    37  * @version 2012.0621.0029 
     46 * @version 2012.0623.1124 
    3847 * @author sLa 
    3948 * @license GPLv2 
     
    4554function wptbnr( $wp_toolbar ) { 
    4655 
    47     //$wp_toolbar->remove_node( 'root-default' ); 
     56    //$wp_toolbar->remove_node( '' ); 
     57 
     58    $wp_toolbar->remove_node( 'root-default' ); 
    4859 
    4960    $wp_toolbar->remove_node( 'wp-logo' ); 
     
    6475    $wp_toolbar->remove_node( 'view' ); 
    6576 
    66     //$wp_toolbar->remove_node('delete-cache'); 
    67  
    6877    $wp_toolbar->remove_node( 'new-content' ); 
    6978    $wp_toolbar->remove_node( 'new-content-default' ); 
     
    8291 
    8392    $wp_toolbar->remove_node( 'search' ); 
    84     $wp_toolbar->remove_node( 'network-admin' ); 
     93    //$wp_toolbar->remove_node( 'network-admin' ); 
     94 
     95    // Network Multisite 
     96    $wp_toolbar->remove_node( 'my-sites' ); 
     97    $wp_toolbar->remove_node( 'my-sites-list' ); 
     98    $wp_toolbar->remove_node( 'blog-1' ); 
     99    $wp_toolbar->remove_node( 'blog-1-default' ); 
     100    $wp_toolbar->remove_node( 'blog-1-d' ); 
     101    $wp_toolbar->remove_node( 'blog-1-n' ); 
     102    $wp_toolbar->remove_node( 'blog-1-c' ); 
     103    $wp_toolbar->remove_node( 'blog-1-v' ); 
     104    $wp_toolbar->remove_node( 'blog-2' ); 
     105    $wp_toolbar->remove_node( 'blog-2-default' ); 
     106    $wp_toolbar->remove_node( 'blog-2-d' ); 
     107    $wp_toolbar->remove_node( 'blog-2-n' ); 
     108    $wp_toolbar->remove_node( 'blog-2-c' ); 
     109    $wp_toolbar->remove_node( 'blog-2-v' ); 
     110    $wp_toolbar->remove_node( 'blog-3' ); 
     111    $wp_toolbar->remove_node( 'blog-3-default' ); 
     112    $wp_toolbar->remove_node( 'blog-3-d' ); 
     113    $wp_toolbar->remove_node( 'blog-3-n' ); 
     114    $wp_toolbar->remove_node( 'blog-3-c' ); 
     115    $wp_toolbar->remove_node( 'blog-3-v' ); 
     116    $wp_toolbar->remove_node( 'blog-4' ); 
     117    $wp_toolbar->remove_node( 'blog-4-default' ); 
     118    $wp_toolbar->remove_node( 'blog-4-d' ); 
     119    $wp_toolbar->remove_node( 'blog-4-n' ); 
     120    $wp_toolbar->remove_node( 'blog-4-c' ); 
     121    $wp_toolbar->remove_node( 'blog-4-v' ); 
     122    $wp_toolbar->remove_node( 'blog-5' ); 
     123    $wp_toolbar->remove_node( 'blog-5-default' ); 
     124    $wp_toolbar->remove_node( 'blog-5-d' ); 
     125    $wp_toolbar->remove_node( 'blog-5-n' ); 
     126    $wp_toolbar->remove_node( 'blog-5-c' ); 
     127    $wp_toolbar->remove_node( 'blog-5-v' ); 
     128    $wp_toolbar->remove_node( 'blog-6' ); 
     129    $wp_toolbar->remove_node( 'blog-6-default' ); 
     130    $wp_toolbar->remove_node( 'blog-6-d' ); 
     131    $wp_toolbar->remove_node( 'blog-6-n' ); 
     132    $wp_toolbar->remove_node( 'blog-6-c' ); 
     133    $wp_toolbar->remove_node( 'blog-6-v' ); 
     134    $wp_toolbar->remove_node( 'blog-7' ); 
     135    $wp_toolbar->remove_node( 'blog-7-default' ); 
     136    $wp_toolbar->remove_node( 'blog-7-d' ); 
     137    $wp_toolbar->remove_node( 'blog-7-n' ); 
     138    $wp_toolbar->remove_node( 'blog-7-c' ); 
     139    $wp_toolbar->remove_node( 'blog-7-v' ); 
     140    $wp_toolbar->remove_node( 'blog-8' ); 
     141    $wp_toolbar->remove_node( 'blog-8-default' ); 
     142    $wp_toolbar->remove_node( 'blog-8-d' ); 
     143    $wp_toolbar->remove_node( 'blog-8-n' ); 
     144    $wp_toolbar->remove_node( 'blog-8-c' ); 
     145    $wp_toolbar->remove_node( 'blog-8-v' ); 
     146    $wp_toolbar->remove_node( 'blog-9' ); 
     147    $wp_toolbar->remove_node( 'blog-9-default' ); 
     148    $wp_toolbar->remove_node( 'blog-9-d' ); 
     149    $wp_toolbar->remove_node( 'blog-9-n' ); 
     150    $wp_toolbar->remove_node( 'blog-9-c' ); 
     151    $wp_toolbar->remove_node( 'blog-9-v' ); 
     152 
     153    // WP Super Cache 
     154    //$wp_toolbar->remove_node('delete-cache'); 
    85155 
    86156    // WordPress SEO by Yoast Node Removal 
     
    132202function wpabnr () { global $wp_admin_bar; 
    133203 
     204    //$wp_admin_bar->remove_menu( '' ); 
     205 
    134206    $wp_admin_bar->remove_menu( 'root-default' ); 
     207    //$wp_admin_bar->remove_menu( 'network-admin' ); 
    135208 
    136209    // WP Super Cache Node Removal 
     
    142215function wptbnr_nfo () { 
    143216 
    144     echo"\n<!--Plugin ToolBar Node Removal 2012.0621.0029 Active-->"; 
     217    echo"\n<!--Plugin ToolBar Node Removal 2012.0623.1124 Active-->"; 
    145218 
    146219    } 
  • wp-toolbar-removal/trunk/wp-toolbar-removal.php

    r562084 r562815  
    33Plugin Name: ToolBar Removal - DEV 
    44Plugin URI: http://slangji.wordpress.com/wp-toolbar-removal/ 
    5 Description: Completely <code>Disable</code> new WordPress 3.3+ and 3.4+ (only) <code>ToolBar</code> Frontend, Backend, related User Profile Settings, without loosing logout functionality! Completely <code>Remove Code</code> for minimal memory load, with new approach. Development Code in Becoming. Work under GPLv2 License. (DEVELOPMENT VERSION) Thanks to olyma! | <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> 
    6 Version: 2012-VERSION.0621-BUGFIX.0433-DEVELOPMENT 
     5Description: Completely <code>Disable</code> new WordPress 3.3+ and 3.4+ (only) <code>ToolBar</code> Frontend, Backend, related User Profile Settings, without loosing logout functionality! Completely <code>Remove Code</code> for minimal memory load, with new approach. Development Code in Becoming. 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> 
     6Version: 2012-VERSION.0623-BUGFIX.1124-DEVELOPMENT 
    77Author: sLa 
    88Author URI: http://slangji.wordpress.com/ 
     
    4747 * @subpackage WordPress PlugIn 
    4848 * @since 3.3.0 
    49  * @version 2012-VERSION.0621-BUGFIX.0433-DEVELOPMENT 
     49 * @version 2012-VERSION.0623-BUGFIX.1124-DEVELOPMENT 
    5050 * @author sLa 
    5151 * @license GPLv2 or later 
     
    5858function wptbr_ngr( $wp_toolbar ) { 
    5959 
    60     //$wp_toolbar->remove_node( 'root-default' ); 
     60    //$wp_toolbar->remove_node( '' ); 
     61 
     62    $wp_toolbar->remove_node( 'root-default' ); 
    6163 
    6264    $wp_toolbar->remove_node( 'wp-logo' ); 
     
    7779    $wp_toolbar->remove_node( 'view' ); 
    7880 
    79     //$wp_toolbar->remove_node('delete-cache'); 
    80  
    8181    $wp_toolbar->remove_node( 'new-content' ); 
    8282    $wp_toolbar->remove_node( 'new-content-default' ); 
     
    9595 
    9696    $wp_toolbar->remove_node( 'search' ); 
    97     $wp_toolbar->remove_node( 'network-admin' ); 
     97    //$wp_toolbar->remove_node( 'network-admin' ); 
     98 
     99    // Network Multisite 
     100    $wp_toolbar->remove_node( 'my-sites' ); 
     101    $wp_toolbar->remove_node( 'my-sites-list' ); 
     102    $wp_toolbar->remove_node( 'blog-1' ); 
     103    $wp_toolbar->remove_node( 'blog-1-default' ); 
     104    $wp_toolbar->remove_node( 'blog-1-d' ); 
     105    $wp_toolbar->remove_node( 'blog-1-n' ); 
     106    $wp_toolbar->remove_node( 'blog-1-c' ); 
     107    $wp_toolbar->remove_node( 'blog-1-v' ); 
     108    $wp_toolbar->remove_node( 'blog-2' ); 
     109    $wp_toolbar->remove_node( 'blog-2-default' ); 
     110    $wp_toolbar->remove_node( 'blog-2-d' ); 
     111    $wp_toolbar->remove_node( 'blog-2-n' ); 
     112    $wp_toolbar->remove_node( 'blog-2-c' ); 
     113    $wp_toolbar->remove_node( 'blog-2-v' ); 
     114    $wp_toolbar->remove_node( 'blog-3' ); 
     115    $wp_toolbar->remove_node( 'blog-3-default' ); 
     116    $wp_toolbar->remove_node( 'blog-3-d' ); 
     117    $wp_toolbar->remove_node( 'blog-3-n' ); 
     118    $wp_toolbar->remove_node( 'blog-3-c' ); 
     119    $wp_toolbar->remove_node( 'blog-3-v' ); 
     120    $wp_toolbar->remove_node( 'blog-4' ); 
     121    $wp_toolbar->remove_node( 'blog-4-default' ); 
     122    $wp_toolbar->remove_node( 'blog-4-d' ); 
     123    $wp_toolbar->remove_node( 'blog-4-n' ); 
     124    $wp_toolbar->remove_node( 'blog-4-c' ); 
     125    $wp_toolbar->remove_node( 'blog-4-v' ); 
     126    $wp_toolbar->remove_node( 'blog-5' ); 
     127    $wp_toolbar->remove_node( 'blog-5-default' ); 
     128    $wp_toolbar->remove_node( 'blog-5-d' ); 
     129    $wp_toolbar->remove_node( 'blog-5-n' ); 
     130    $wp_toolbar->remove_node( 'blog-5-c' ); 
     131    $wp_toolbar->remove_node( 'blog-5-v' ); 
     132    $wp_toolbar->remove_node( 'blog-6' ); 
     133    $wp_toolbar->remove_node( 'blog-6-default' ); 
     134    $wp_toolbar->remove_node( 'blog-6-d' ); 
     135    $wp_toolbar->remove_node( 'blog-6-n' ); 
     136    $wp_toolbar->remove_node( 'blog-6-c' ); 
     137    $wp_toolbar->remove_node( 'blog-6-v' ); 
     138    $wp_toolbar->remove_node( 'blog-7' ); 
     139    $wp_toolbar->remove_node( 'blog-7-default' ); 
     140    $wp_toolbar->remove_node( 'blog-7-d' ); 
     141    $wp_toolbar->remove_node( 'blog-7-n' ); 
     142    $wp_toolbar->remove_node( 'blog-7-c' ); 
     143    $wp_toolbar->remove_node( 'blog-7-v' ); 
     144    $wp_toolbar->remove_node( 'blog-8' ); 
     145    $wp_toolbar->remove_node( 'blog-8-default' ); 
     146    $wp_toolbar->remove_node( 'blog-8-d' ); 
     147    $wp_toolbar->remove_node( 'blog-8-n' ); 
     148    $wp_toolbar->remove_node( 'blog-8-c' ); 
     149    $wp_toolbar->remove_node( 'blog-8-v' ); 
     150    $wp_toolbar->remove_node( 'blog-9' ); 
     151    $wp_toolbar->remove_node( 'blog-9-default' ); 
     152    $wp_toolbar->remove_node( 'blog-9-d' ); 
     153    $wp_toolbar->remove_node( 'blog-9-n' ); 
     154    $wp_toolbar->remove_node( 'blog-9-c' ); 
     155    $wp_toolbar->remove_node( 'blog-9-v' ); 
     156 
     157    // WP Super Cache 
     158    //$wp_toolbar->remove_node('delete-cache'); 
    98159 
    99160    // WordPress SEO by Yoast Node Removal 
     
    145206function wptbr_ab_ngr () { global $wp_admin_bar; 
    146207 
     208    //$wp_admin_bar->remove_menu( '' ); 
     209 
    147210    $wp_admin_bar->remove_menu( 'root-default' ); 
     211    //$wp_admin_bar->remove_menu( 'network-admin' ); 
    148212 
    149213    // WP Super Cache Node Removal 
     
    235299function wptbr_rsf(){echo'<style type="text/css">html{margin-top:0px !important}* html body{margin-top:0px !important}</style>';}add_filter('wp_head','wptbr_rsf',99); 
    236300function wptbr_ruppoabpc(){echo'<style type="text/css">.show-admin-bar{display:none}</style>';}add_action('admin_print_styles-profile.php','wptbr_ruppoabpc'); 
    237 function wptbr_nfo(){echo"\n<!--Plugin ToolBar Removal 2012.0621.0341 RC Active-->";}add_action('wp_head','wptbr_nfo');add_action('wp_footer','wptbr_nfo'); 
     301function wptbr_nfo(){echo"\n<!--Plugin ToolBar Removal 2012-VERSION.0623-BUGFIX.1124-DEVELOPMENT Active-->";}add_action('wp_head','wptbr_nfo');add_action('wp_footer','wptbr_nfo'); 
    238302?> 
Note: See TracChangeset for help on using the changeset viewer.