Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#10022 closed defect (bug) (fixed)

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

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

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 17 years ago.
Adds the name param to get_header(), get_sidebar() & get_footer()

Download all attachments as: .zip

Change History (4)

@scribu
17 years ago

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

#1 @westi
17 years ago

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

+1 makes perfect sense

#2 @jorbin
17 years ago

  • Component General → Template

Tested and works. Thanks.

#3 @ryan
17 years ago

  • Resolution → fixed
  • Status accepted → closed

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

Note: See TracTickets for help on using tickets.