Make WordPress Core

Opened 19 years ago

Closed 19 years ago

#1147 closed defect (bug) (fixed)

calls to plugin hooks are inconsistent

Reported by: anonymousbugger's profile anonymousbugger Owned by: ryan's profile ryan
Milestone: Priority: normal
Severity: trivial Version: 1.5
Component: Template Keywords:
Focuses: Cc:

Description

Although the wp_head hook can be called with <?php wp_head(); ?>, the equivalent <?php wp_footer ();?> does not exist. A consistent method of inserting plugin hooks (EITHER with template functions OR with 'do_action') should be established, since mixing the two methods is unnecessarily confusing.

Attachments (1)

wp_footer.patch (1.2 KB) - added by anonymousbugger 19 years ago.

Download all attachments as: .zip

Change History (5)

#1 @anonymousbugger
19 years ago

  • Patch set to No

#2 @ringmaster
19 years ago

Added wp_footer() function to functions.php, updated Default and Classic themes to use new function. Patch attached.

#3 @ringmaster
19 years ago

  • Patch changed from No to Yes

#4 @ryan
19 years ago

  • fixed_in_version set to 1.5.1
  • Owner changed from anonymous to rboren
  • Resolution changed from 10 to 20
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.