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:
rob1n 2007-03-29 01:45:29 +00:00
parent 4a6743b54c
commit 19649b35f7
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ function get_footer() {
function get_sidebar() {
do_action( 'get_sidebar' );
if ( file_exists( TEMPLATEPATH . '/sidebar.php') )
load_template( TEMPLATEPATH . '/sidebar.php');
else