Add get_sidebar action to get_sidebar(). fixes #1445
git-svn-id: http://svn.automattic.com/wordpress/trunk@5136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4a6743b54c
commit
19649b35f7
|
@ -21,6 +21,7 @@ function get_footer() {
|
||||||
|
|
||||||
|
|
||||||
function get_sidebar() {
|
function get_sidebar() {
|
||||||
|
do_action( 'get_sidebar' );
|
||||||
if ( file_exists( TEMPLATEPATH . '/sidebar.php') )
|
if ( file_exists( TEMPLATEPATH . '/sidebar.php') )
|
||||||
load_template( TEMPLATEPATH . '/sidebar.php');
|
load_template( TEMPLATEPATH . '/sidebar.php');
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue