Changeset 11402
- Timestamp:
- 12/22/2021 06:22:00 PM (3 years ago)
- Location:
- sites/trunk
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/footer.php
r1608 r11402 4 4 __('Code is Poetry.', 'rosetta'); 5 5 6 require WPORGPATH . 'footer.php'; 6 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 7 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); 8 } else { 9 require WPORGPATH . 'footer.php'; 10 } -
sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/header.php
r4939 r11402 16 16 } 17 17 18 require WPORGPATH . 'header.php'; 18 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 19 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 20 } else { 21 require WPORGPATH . 'header.php'; 22 } -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/footer.php
r8751 r11402 1 1 </div><!-- gp-content --> 2 2 3 <?php require WPORGPATH . 'footer.php';3 <?php 4 4 5 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 6 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); 7 } else { 8 require WPORGPATH . 'footer.php'; 9 } -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/header.php
r4924 r11402 1 1 <?php 2 global $pagetitle; 3 $pagetitle = gp_title(); 4 require WPORGPATH . 'header.php'; 2 3 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 4 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 5 } else { 6 global $pagetitle; 7 $pagetitle = gp_title(); 8 require WPORGPATH . 'header.php'; 9 } 10 5 11 ?> 6 12 <script type="text/javascript">document.body.className = document.body.className.replace('no-js','js');</script> … … 54 60 55 61 do_action( 'gp_after_notices' ); 56 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/footer.php
r3533 r11402 13 13 14 14 <?php 15 require WPORGPATH . 'footer.php'; 15 16 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 17 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); 18 } else { 19 require WPORGPATH . 'footer.php'; 20 } -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/header.php
r8258 r11402 1 1 <?php 2 $GLOBALS['pagetitle'] = wp_get_document_title(); 3 global $wporg_global_header_options; 4 if ( !isset( $wporg_global_header_options['in_wrapper'] ) ) 5 $wporg_global_header_options['in_wrapper'] = ''; 6 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#content">' . esc_html__( 'Skip to content', 'wporg' ) . '</a>'; 7 require WPORGPATH . 'header.php'; 2 3 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 4 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 5 } else { 6 $GLOBALS['pagetitle'] = wp_get_document_title(); 7 global $wporg_global_header_options; 8 if ( !isset( $wporg_global_header_options['in_wrapper'] ) ) 9 $wporg_global_header_options['in_wrapper'] = ''; 10 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#content">' . esc_html__( 'Skip to content', 'wporg' ) . '</a>'; 11 require WPORGPATH . 'header.php'; 12 } 13 8 14 ?> 9 15 <header id="masthead" class="site-header" role="banner"> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/footer.php
r591 r11402 14 14 <?php 15 15 16 require WPORGPATH . 'footer.php'; 16 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 17 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); 18 } else { 19 require WPORGPATH . 'footer.php'; 20 } -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/header.php
r10263 r11402 8 8 */ 9 9 10 $GLOBALS['pagetitle'] = wp_get_document_title(); 10 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 11 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 12 } else { 13 $GLOBALS['pagetitle'] = wp_get_document_title(); 14 require WPORGPATH . 'header.php'; 15 } 11 16 12 require WPORGPATH . 'header.php';13 17 ?> 14 18 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/footer.php
r80 r11402 1 1 <?php 2 2 3 require( WPORGPATH . 'footer.php' ); 3 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 4 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); 5 } else { 6 require WPORGPATH . 'footer.php'; 7 } -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/header.php
r9927 r11402 1 1 <?php 2 $GLOBALS['pagetitle'] = wp_get_document_title(); 3 global $wporg_global_header_options; 4 if ( !isset( $wporg_global_header_options['in_wrapper'] ) ) { 5 $wporg_global_header_options['in_wrapper'] = ''; 2 3 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 4 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 5 } else { 6 $GLOBALS['pagetitle'] = wp_get_document_title(); 7 global $wporg_global_header_options; 8 if ( !isset( $wporg_global_header_options['in_wrapper'] ) ) { 9 $wporg_global_header_options['in_wrapper'] = ''; 10 } 11 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#headline">' . esc_html( 'Skip to content', 'make-wporg' ) . '</a>'; 12 require( WPORGPATH . 'header.php' ); 6 13 } 7 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#headline">' . esc_html( 'Skip to content', 'make-wporg' ) . '</a>'; 8 require( WPORGPATH . 'header.php' ); 14 9 15 ?> 10 16 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-openverse/header.php
r11060 r11402 12 12 namespace WordPressdotorg\Openverse\Theme; 13 13 14 $GLOBALS['pagetitle'] = wp_get_document_title(); 15 global $wporg_global_header_options; 16 if ( ! isset( $wporg_global_header_options['in_wrapper'] ) ) { 17 $wporg_global_header_options['in_wrapper'] = ''; 14 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 15 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 16 } else { 17 $GLOBALS['pagetitle'] = wp_get_document_title(); 18 global $wporg_global_header_options; 19 if ( ! isset( $wporg_global_header_options['in_wrapper'] ) ) { 20 $wporg_global_header_options['in_wrapper'] = ''; 21 } 22 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#content">' . esc_html__( 'Skip to content', 'wporg' ) . '</a>'; 23 24 get_template_part( 'header', 'wporg' ); 18 25 } 19 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#content">' . esc_html__( 'Skip to content', 'wporg' ) . '</a>';20 26 21 get_template_part( 'header', 'wporg' );22 27 ?> 23 28 <div id="page" class="site"> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/footer.php
r9231 r11402 18 18 <?php 19 19 20 require WPORGPATH . 'footer.php'; 20 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 21 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); 22 } else { 23 require WPORGPATH . 'footer.php'; 24 } -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/header.php
r11126 r11402 18 18 ); 19 19 20 $GLOBALS['pagetitle'] = wp_get_document_title(); 21 global $wporg_global_header_options; 22 if ( !isset( $wporg_global_header_options['in_wrapper'] ) ) 23 $wporg_global_header_options['in_wrapper'] = ''; 24 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#main">' . esc_html__( 'Skip to content', 'wporg-plugins' ) . '</a>'; 25 require WPORGPATH . 'header.php'; 20 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 21 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 22 } else { 23 $GLOBALS['pagetitle'] = wp_get_document_title(); 24 global $wporg_global_header_options; 25 if ( !isset( $wporg_global_header_options['in_wrapper'] ) ) 26 $wporg_global_header_options['in_wrapper'] = ''; 27 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#main">' . esc_html__( 'Skip to content', 'wporg-plugins' ) . '</a>'; 28 require WPORGPATH . 'header.php'; 29 } 30 26 31 ?> 27 32 <div id="page" class="site"> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/footer.php
r1474 r11402 1 1 <?php 2 require WPORGPATH . 'footer.php'; 2 3 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 4 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); 5 } else { 6 require WPORGPATH . 'footer.php'; 7 } -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/header.php
r10337 r11402 1 1 <?php 2 $GLOBALS['pagetitle'] = wp_get_document_title(); 3 global $wporg_global_header_options; 4 if ( !isset( $wporg_global_header_options['in_wrapper'] ) ) 5 $wporg_global_header_options['in_wrapper'] = ''; 6 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#pagebody">' . esc_html__( 'Skip to content', 'wporg-showcase' ) . '</a>'; 2 3 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 4 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 5 } else { 6 $GLOBALS['pagetitle'] = wp_get_document_title(); 7 global $wporg_global_header_options; 8 if ( !isset( $wporg_global_header_options['in_wrapper'] ) ) 9 $wporg_global_header_options['in_wrapper'] = ''; 10 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#pagebody">' . esc_html__( 'Skip to content', 'wporg-showcase' ) . '</a>'; 11 require WPORGPATH . 'header.php'; 12 } 7 13 8 14 $prefix = is_ssl() ? 'https://' : 'http://s.'; 9 15 wp_enqueue_style( 'blog-wp4', $prefix.'wordpress.org/style/blog-wp4.css', array(), 4 ); 10 16 wp_enqueue_style( 'showcase', get_stylesheet_uri(), array(), 20 ); 11 require WPORGPATH . 'header.php'; 17 12 18 ?> 19 13 20 <div id="headline"> 14 21 <div class="wrapper"> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/footer.php
r7134 r11402 10 10 </div><!-- #page --> 11 11 12 <?php require WPORGPATH . 'footer.php'; 12 <?php 13 14 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 15 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); 16 } else { 17 require WPORGPATH . 'footer.php'; 18 } -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/header.php
r10285 r11402 20 20 ); 21 21 22 global $wporg_global_header_options; 23 if ( !isset( $wporg_global_header_options['in_wrapper'] ) ) 24 $wporg_global_header_options['in_wrapper'] = ''; 25 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#content">' . esc_html__( 'Skip to content', 'wporg-forums' ) . '</a>'; 26 wporg_get_global_header(); 22 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 23 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 24 } else { 25 global $wporg_global_header_options; 26 if ( !isset( $wporg_global_header_options['in_wrapper'] ) ) 27 $wporg_global_header_options['in_wrapper'] = ''; 28 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#content">' . esc_html__( 'Skip to content', 'wporg-forums' ) . '</a>'; 29 wporg_get_global_header(); 30 } 31 27 32 ?> 28 33 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/footer.php
r1084 r11402 6 6 */ 7 7 8 require WPORGPATH . 'footer.php'; 8 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 9 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); 10 } else { 11 require WPORGPATH . 'footer.php'; 12 } -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/header.php
r11129 r11402 6 6 */ 7 7 8 $GLOBALS['pagetitle'] = wp_get_document_title(); 9 global $wporg_global_header_options; 10 if ( !isset( $wporg_global_header_options['in_wrapper'] ) ) 11 $wporg_global_header_options['in_wrapper'] = ''; 12 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#themes">' . esc_html__( 'Skip to content', 'wporg-themes' ) . '</a>'; 8 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 9 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 10 } else { 11 $GLOBALS['pagetitle'] = wp_get_document_title(); 12 global $wporg_global_header_options; 13 if ( !isset( $wporg_global_header_options['in_wrapper'] ) ) 14 $wporg_global_header_options['in_wrapper'] = ''; 15 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#themes">' . esc_html__( 'Skip to content', 'wporg-themes' ) . '</a>'; 16 require WPORGPATH . 'header.php'; 17 } 13 18 14 require WPORGPATH . 'header.php';15 19 ?> 16 20 <header id="masthead" class="site-header <?php echo is_home() ? 'home' : ''; ?>" role="banner"> … … 42 46 </nav> 43 47 <?php endif; ?> 44
Note: See TracChangeset
for help on using the changeset viewer.