From fcb2f9db91c40444abef94d5647e002812c5b930 Mon Sep 17 00:00:00 2001 From: rob1n Date: Thu, 29 Mar 2007 01:45:29 +0000 Subject: [PATCH] Add get_sidebar action to get_sidebar(). fixes #1445 git-svn-id: https://develop.svn.wordpress.org/trunk@5136 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/general-template.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index a50f479493..b5c71d7ad1 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -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