mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-04 03:51:38 +00:00
git-svn-id: https://develop.svn.wordpress.org/trunk@14047 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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) )
|
||||
|
||||
Reference in New Issue
Block a user