From b4d8b0cbb762bf1dc324d69c234d93eac8561728 Mon Sep 17 00:00:00 2001 From: nacin Date: Sat, 10 Apr 2010 10:40:47 +0000 Subject: [PATCH] Tweaks to the action in get_template_part(). fixes #12248, fixes #12941. git-svn-id: http://svn.automattic.com/wordpress/trunk@14047 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/general-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 57759d7ba7..7d92e29378 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -114,7 +114,7 @@ function get_sidebar( $name = null ) { * @param string $name The name of the specialised template. */ function get_template_part( $slug, $name = null ) { - do_action( "get_template_part{$slug}", $name ); + do_action( "get_template_part_{$slug}", $slug, $name ); $templates = array(); if ( isset($name) )