Ticket #10022: general-template.patch
File general-template.patch, 983 bytes (added by , 12 years ago) |
---|
-
home/cristi/svn/wp/wp-includes/general-template.php
23 23 * @param string $name The name of the specialised header. 24 24 */ 25 25 function get_header( $name = null ) { 26 do_action( 'get_header' );26 do_action( 'get_header', $name ); 27 27 28 28 $templates = array(); 29 29 if ( isset($name) ) … … 52 52 * @param string $name The name of the specialised footer. 53 53 */ 54 54 function get_footer( $name = null ) { 55 do_action( 'get_footer' );55 do_action( 'get_footer', $name ); 56 56 57 57 $templates = array(); 58 58 if ( isset($name) ) … … 81 81 * @param string $name The name of the specialised sidebar. 82 82 */ 83 83 function get_sidebar( $name = null ) { 84 do_action( 'get_sidebar' );84 do_action( 'get_sidebar', $name ); 85 85 86 86 $templates = array(); 87 87 if ( isset($name) )