mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-15 07:05:37 +01:00
git-svn-id: http://svn.automattic.com/wordpress/trunk@14047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ae66313f01
commit
b4d8b0cbb7
@ -114,7 +114,7 @@ function get_sidebar( $name = null ) {
|
|||||||
* @param string $name The name of the specialised template.
|
* @param string $name The name of the specialised template.
|
||||||
*/
|
*/
|
||||||
function get_template_part( $slug, $name = null ) {
|
function get_template_part( $slug, $name = null ) {
|
||||||
do_action( "get_template_part{$slug}", $name );
|
do_action( "get_template_part_{$slug}", $slug, $name );
|
||||||
|
|
||||||
$templates = array();
|
$templates = array();
|
||||||
if ( isset($name) )
|
if ( isset($name) )
|
||||||
|
Loading…
Reference in New Issue
Block a user