WordPress.org

Make WordPress Core

Changeset 11521


Ignore:
Timestamp:
06/04/2009 05:59:14 PM (12 years ago)
Author:
ryan
Message:

Pass name to sidebar, footer, and header get actions. Props scribu. fixes #10022

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r11506 r11521  
    2424 */
    2525function get_header( $name = null ) {
    26     do_action( 'get_header' );
     26    do_action( 'get_header', $name );
    2727
    2828    $templates = array();
     
    5353 */
    5454function get_footer( $name = null ) {
    55     do_action( 'get_footer' );
     55    do_action( 'get_footer', $name );
    5656
    5757    $templates = array();
     
    8282 */
    8383function get_sidebar( $name = null ) {
    84     do_action( 'get_sidebar' );
     84    do_action( 'get_sidebar', $name );
    8585
    8686    $templates = array();
Note: See TracChangeset for help on using the changeset viewer.