how to edit wpmu nelo functions for 3.1 admin bar hacks

This post about How to Add or Remove Links From the WordPress 3.1 Admin Bar seemed simple enough. All attempts to edit nelo's functions.php using either a parent or child file, however, result in the blank white page madness.

Any suggestions for getting this hack to work? Specifically, we're looking to remove the Updates menu with the big glaring number next to it. Perhaps the Update Notifications plugin could be massaged to do this sitewide, but for now any advice is appreciated.

Thanks again for everything.

  • Mason

    Hiya jcnjr,

    My guess would be that the code was put in the middle of another function or some other place incorrect?

    I just tested with Nelo by adding the code to line 15 (or directly below this):
    load_theme_textdomain( TEMPLATE_DOMAIN, TEMPLATEPATH . '/languages/' );

    This is what I added to remove the udpates

    function mjnelo_admin_bar_render() {
    	global $wp_admin_bar;
    add_action( 'wp_before_admin_bar_render', 'mjnelo_admin_bar_render' );

    On my install this worked. Let us know if this continues to be an issue for you.