Changeset 11402 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/header.php
- Timestamp:
- 12/22/2021 06:22:00 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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">
Note: See TracChangeset
for help on using the changeset viewer.