Make WordPress Core


Ignore:
Timestamp:
04/18/2013 09:33:45 PM (13 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: remove toolbar callback in functions.php -- and add an !important in its place in the stylesheet. Props obenland, fixes #24129.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentythirteen/functions.php

    r24032 r24036  
    5050 * @uses add_editor_style() To add a Visual Editor stylesheet.
    5151 * @uses add_theme_support() To add support for automatic feed links, post
    52  * formats, admin bar, and post thumbnails.
     52 * formats, and post thumbnails.
    5353 * @uses register_nav_menu() To add support for a navigation menu.
    5454 * @uses set_post_thumbnail_size() To set a custom post thumbnail size.
     
    9090    add_theme_support( 'post-formats', array(
    9191        'aside', 'audio', 'chat', 'gallery', 'image', 'quote', 'status'
    92     ) );
    93 
    94     /*
    95      * Custom callback to make it easier for our fixed navbar to coexist with
    96      * the WordPress toolbar. See `.wp-toolbar` in style.css.
    97      *
    98      * @see WP_Admin_Bar::initialize()
    99      */
    100     add_theme_support( 'admin-bar', array(
    101         'callback' => '__return_false'
    10292    ) );
    10393
Note: See TracChangeset for help on using the changeset viewer.