WordPress.org

Make WordPress Core

Changeset 25563


Ignore:
Timestamp:
09/22/2013 02:33:11 PM (8 years ago)
Author:
DrewAPicture
Message:

Improve inline comment for removing default padding styles for the Toolbar.

Props nofearinc.
Fixes #25373.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-admin-bar.php

    r25478 r25563  
    4747
    4848        if ( current_theme_supports( 'admin-bar' ) ) {
    49             $admin_bar_args = get_theme_support( 'admin-bar' ); // add_theme_support( 'admin-bar', array( 'callback' => '__return_false') );
     49            /**
     50             * To remove the default padding styles from WordPress for the Toolbar, use the following code:
     51             * add_theme_support( 'admin-bar', array( 'callback' => '__return_false' ) );
     52             */
     53            $admin_bar_args = get_theme_support( 'admin-bar' );
    5054            $header_callback = $admin_bar_args[0]['callback'];
    5155        }
Note: See TracChangeset for help on using the changeset viewer.