diff --git a/sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/footer.php b/sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/footer.php
a
|
b
|
|
9 | 9 | </div><!-- #content --> |
10 | 10 | </div><!-- #page --> |
11 | 11 | |
12 | | <?php require WPORGPATH . 'footer.php'; |
| 12 | <?php wporg_get_global_footer(); |
| 13 | |
diff --git a/sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php b/sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php
a
|
b
|
|
279 | 279 | } |
280 | 280 | |
281 | 281 | require WPORGPATH . 'header.php'; |
| 282 | |
| 283 | // Conditionally run `wp_head()` to get enqueued styles and scripts when using a remote header. |
| 284 | if ( ! did_action( 'wp_head' ) ) { |
| 285 | wp_head(); |
| 286 | } |
282 | 287 | } |
283 | 288 | |
284 | 289 | function wporg_support_bbp_raw_title( $title ) { |
… |
… |
|
297 | 302 | */ |
298 | 303 | function wporg_get_global_footer() { |
299 | 304 | require WPORGPATH . 'footer.php'; |
| 305 | |
| 306 | // Conditionally run `wp_footer()` to get enqueued styles and scripts when using a remote header. |
| 307 | if ( ! did_action( 'wp_footer' ) ) { |
| 308 | wp_footer(); |
| 309 | } |
300 | 310 | } |
301 | 311 | |
302 | 312 | /** |