diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php
index 8c86ed7f92..67c8fa0710 100644
|
a
|
b
|
function get_header( $name = null ) { |
| 38 | 38 | |
| 39 | 39 | $templates[] = 'header.php'; |
| 40 | 40 | |
| | 41 | $templates = (array) apply_filters( 'update_header_template' , $templates ); |
| | 42 | |
| 41 | 43 | locate_template( $templates, true ); |
| 42 | 44 | } |
| 43 | 45 | |
| … |
… |
function get_footer( $name = null ) { |
| 73 | 75 | |
| 74 | 76 | $templates[] = 'footer.php'; |
| 75 | 77 | |
| | 78 | $templates = (array) apply_filters( 'update_footer_template' , $templates ); |
| | 79 | |
| 76 | 80 | locate_template( $templates, true ); |
| 77 | 81 | } |
| 78 | 82 | |