Index: wp-includes/general-template.php
===================================================================
--- wp-includes/general-template.php	(revision 18627)
+++ wp-includes/general-template.php	(working copy)
@@ -111,7 +111,7 @@
  *
  * @uses locate_template()
  * @since 3.0.0
- * @uses do_action() Calls 'get_template_part{$slug}' action.
+ * @uses do_action() Calls 'get_template_part_{$slug}' and "get_template_part_{$slug}_after" actions.
  *
  * @param string $slug The slug name for the generic template.
  * @param string $name The name of the specialised template.
@@ -126,9 +126,34 @@
 	$templates[] = "{$slug}.php";
 
 	locate_template($templates, true, false);
+
+	do_action( "get_template_part_{$slug}_after", $slug, $name );
 }
 
 /**
+ * Determine the actual template part slug used by current theme
+ *
+ * Makes it easy for a plugin to hook into "get_template_part_{$slug}" or
+ * "get_template_part_{$slug}_after".
+ *
+ * @since 3.3.0
+ * @uses get_theme_support()
+ *
+ * @param string $slug The slug name for the generic template.
+ */
+function get_template_part_slug( $slug ) {
+	if ( ! current_theme_supports( 'template-parts' ) )
+		return false;
+
+	$template_parts = get_theme_support( 'template-parts' );
+
+	if ( isset( $template_parts[0][$slug] ) )
+		return $template_parts[0][$slug];
+
+	return false;
+}
+ 
+/**
  * Display search form.
  *
  * Will first attempt to locate the searchform.php file in either the child or

