WordPress.org

Making WordPress.org

Changeset 8257


Ignore:
Timestamp:
02/15/2019 08:11:47 AM (4 months ago)
Author:
tellyworth
Message:

Header: should be esc_html() not esc_html().

Thanks @ocean90

See #4109

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub
Files:
4 edited

Legend:

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

    r8248 r8257  
    2222if ( !isset( $wporg_global_header_options['in_wrapper'] ) )
    2323    $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>';
     24$wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#main">' . esc_html__( 'Skip to content', 'wporg-plugins' ) . '</a>';
    2525require WPORGPATH . 'header.php';
    2626?>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/header.php

    r8247 r8257  
    44if ( !isset( $wporg_global_header_options['in_wrapper'] ) )
    55    $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>';
     6$wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#pagebody">' . esc_html__( 'Skip to content', 'wporg-showcase' ) . '</a>';
    77
    88$prefix = is_ssl() ? 'https://' : 'http://s.';
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/header.php

    r8246 r8257  
    2222if ( !isset( $wporg_global_header_options['in_wrapper'] ) )
    2323    $wporg_global_header_options['in_wrapper'] = '';
    24 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#content">' . esc_html( 'Skip to content', 'wporg-forums' ) . '</a>';
     24$wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#content">' . esc_html__( 'Skip to content', 'wporg-forums' ) . '</a>';
    2525wporg_get_global_header();
    2626?>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/header.php

    r8245 r8257  
    1515if ( !isset( $wporg_global_header_options['in_wrapper'] ) )
    1616    $wporg_global_header_options['in_wrapper'] = '';
    17 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#content">' . esc_html( 'Skip to content', 'wporg' ) . '</a>';
     17$wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#content">' . esc_html__( 'Skip to content', 'wporg' ) . '</a>';
    1818
    1919get_template_part( 'header', 'wporg' );
Note: See TracChangeset for help on using the changeset viewer.