Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#10022 closed defect (bug) (fixed)

Pass $name variable to hooks for get_header(), get_sidebar() & get_footer()

Reported by: scribu's profile scribu Owned by: westi's profile westi
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.8
Component: Template Keywords: has-patch commit dev-reviewed
Focuses: Cc:

Description

WP 2.8 added the $name parameter to the get_header(), get_sidebar() & get_footer() template tags, so the hooks should also send this parameter.

Attachments (1)

general-template.patch (983 bytes) - added by scribu 16 years ago.
Adds the name param to get_header(), get_sidebar() & get_footer()

Download all attachments as: .zip

Change History (4)

@scribu
16 years ago

Adds the name param to get_header(), get_sidebar() & get_footer()

#1 @westi
16 years ago

  • Keywords dev-reviewed added
  • Owner set to westi
  • Status changed from new to accepted

+1 makes perfect sense

#2 @jorbin
16 years ago

  • Component changed from General to Template

Tested and works. Thanks.

#3 @ryan
16 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

(In [11521]) Pass name to sidebar, footer, and header get actions. Props scribu. fixes #10022

Note: See TracTickets for help on using tickets.