WordPress.org

Making WordPress.org

Changeset 8244


Ignore:
Timestamp:
02/14/2019 04:26:12 AM (4 months ago)
Author:
tellyworth
Message:

Themes: fix rosetta headers broken by earlier skip-to-content commit r8238

See #4174, #4109

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/header.php

    r8238 r8244  
    77
    88$GLOBALS['pagetitle'] = wp_get_document_title();
    9 $GLOBALS['wporg_global_header_options'] = array(
    10     'in_wrapper' => '<a class="skip-link screen-reader-text" href="#themes">' . esc_html( 'Skip to content', 'wporg-themes' ) . '</a>',
    11 );
     9global $wporg_global_header_options;
     10if ( !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>';
    1213
    1314require WPORGPATH . 'header.php';
Note: See TracChangeset for help on using the changeset viewer.