1 | Index: wp-includes/general-template.php |
---|
2 | =================================================================== |
---|
3 | --- wp-includes/general-template.php (revision 14044) |
---|
4 | +++ wp-includes/general-template.php (working copy) |
---|
5 | @@ -114,7 +114,7 @@ |
---|
6 | * @param string $name The name of the specialised template. |
---|
7 | */ |
---|
8 | function get_template_part( $slug, $name = null ) { |
---|
9 | - do_action( "get_template_part{$slug}", $name ); |
---|
10 | + do_action( "get_template_part_{$slug}", $name ); |
---|
11 | |
---|
12 | $templates = array(); |
---|
13 | if ( isset($name) ) |
---|