Changeset 11496
- Timestamp:
- 01/31/2022 09:57:40 PM (3 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/footer.php
r11402 r11496 14 14 <?php 15 15 16 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 17 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); 18 } else { 19 require WPORGPATH . 'footer.php'; 20 } 16 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/header.php
r11448 r11496 3 3 \WordPressdotorg\skip_to( '#content' ); 4 4 5 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 6 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 7 } else { 8 require WPORGPATH . 'header.php'; 9 } 5 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 10 6 11 7 ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/footer.php
r11402 r11496 14 14 <?php 15 15 16 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 17 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); 18 } else { 19 require WPORGPATH . 'footer.php'; 20 } 16 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/header.php
r11431 r11496 8 8 */ 9 9 10 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 11 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 12 } else { 13 require WPORGPATH . 'header.php'; 14 } 10 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 15 11 16 12 ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/footer.php
r11402 r11496 1 1 <?php 2 2 3 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 4 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); 5 } else { 6 require WPORGPATH . 'footer.php'; 7 } 3 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/header.php
r11448 r11496 3 3 \WordPressdotorg\skip_to( '#headline' ); 4 4 5 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 6 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 7 } else { 8 require( WPORGPATH . 'header.php' ); 9 } 5 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 10 6 11 7 ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-openverse/header.php
r11466 r11496 14 14 \WordPressdotorg\skip_to( '#content' ); 15 15 16 get_template_part( 'header', 'wporg' ); 16 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 17 17 18 ?> 18 19 19 <div id="page" class="site"> 20 20 <div id="content" class="site-content"> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/header.php
r11431 r11496 28 28 29 29 <div id="wrapper"> 30 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/footer.php
r11402 r11496 18 18 <?php 19 19 20 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 21 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); 22 } else { 23 require WPORGPATH . 'footer.php'; 24 } 20 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/header.php
r11448 r11496 20 20 ); 21 21 22 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 23 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 24 } else { 25 require WPORGPATH . 'header.php'; 26 } 22 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 27 23 28 24 ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/footer.php
r11402 r11496 1 1 <?php 2 2 3 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 4 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); 5 } else { 6 require WPORGPATH . 'footer.php'; 7 } 3 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/header.php
r11448 r11496 3 3 \WordPressdotorg\skip_to( '#pagebody' ); 4 4 5 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 6 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 7 } else { 8 require WPORGPATH . 'header.php'; 9 } 5 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 10 6 11 7 $prefix = is_ssl() ? 'https://' : 'http://s.'; -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/footer.php
r11402 r11496 12 12 <?php 13 13 14 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 15 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); 16 } else { 17 require WPORGPATH . 'footer.php'; 18 } 14 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php
r11454 r11496 275 275 add_filter( 'excerpt_length', 'wporg_support_excerpt_length' ); 276 276 277 /**278 * The Header for our theme.279 *280 * @package WPBBP281 */282 function wporg_get_global_header() {283 require WPORGPATH . 'header.php';284 }285 286 277 function wporg_support_bbp_raw_title( $title ) { 287 278 if ( get_query_var( 'paged' ) && ! is_404() ) { … … 295 286 /** 296 287 * Add bbPress titles to the document title. 297 * 288 * 298 289 * bbPress doesn't support `title-tag` theme support, instead relying upon `wp_title` filters instead. 299 290 */ -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/header.php
r11448 r11496 22 22 \WordPressdotorg\skip_to( '#content' ); 23 23 24 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 25 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 26 } else { 27 wporg_get_global_header(); 28 } 24 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 29 25 30 26 ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/footer.php
r11402 r11496 6 6 */ 7 7 8 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 9 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); 10 } else { 11 require WPORGPATH . 'footer.php'; 12 } 8 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/header.php
r11448 r11496 8 8 \WordPressdotorg\skip_to( '#themes' ); 9 9 10 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 11 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 12 } else { 13 require WPORGPATH . 'header.php'; 14 } 10 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 15 11 16 12 ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/footer-wporg.php
r11388 r11496 12 12 namespace WordPressdotorg\Theme; 13 13 14 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 15 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); 16 } else { 17 require WPORGPATH . 'footer.php'; 18 } 14 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/footer.php
r11388 r11496 19 19 <?php 20 20 21 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 22 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); 23 } else { 24 require WPORGPATH . 'footer.php'; 25 } 21 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); 26 22 27 23 return; -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/header-wporg.php
r11388 r11496 12 12 namespace WordPressdotorg\Theme; 13 13 14 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 15 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 16 } else { 17 require WPORGPATH . 'header.php'; 18 } 14 echo do_blocks( '<!-- wp:wporg/global-header /-->' );
Note: See TracChangeset
for help on using the changeset viewer.