WordPress.org

Make WordPress Core

Changeset 14047


Ignore:
Timestamp:
04/10/10 10:40:47 (4 years ago)
Author:
nacin
Message:

Tweaks to the action in get_template_part(). fixes #12248, fixes #12941.

File:
1 edited

Legend:

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

    r13978 r14047  
    115115 */ 
    116116function get_template_part( $slug, $name = null ) { 
    117     do_action( "get_template_part{$slug}", $name ); 
     117    do_action( "get_template_part_{$slug}", $slug, $name ); 
    118118 
    119119    $templates = array(); 
Note: See TracChangeset for help on using the changeset viewer.