Making WordPress.org

Changeset 6992


Ignore:
Timestamp:
03/30/2018 11:45:09 PM (9 years ago)
Author:
iandunn
Message:

WP15: Apply coding standards.

Location:
sites/trunk/wp15.wordpress.net/public_html/content/themes/twentyseventeen-wp15
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wp15.wordpress.net/public_html/content/themes/twentyseventeen-wp15/functions.php

    r6989 r6992  
    66
    77add_filter( 'template_include',   __NAMESPACE__ . '\get_front_page_template' );
    8 add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\enqueue_scripts' );
    9 add_filter( 'get_custom_logo',    __NAMESPACE__ . '\set_custom_logo' );
    10 add_filter( 'body_class',         __NAMESPACE__ . '\add_body_classes' );
     8add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\enqueue_scripts'         );
     9add_filter( 'get_custom_logo',    __NAMESPACE__ . '\set_custom_logo'         );
     10add_filter( 'body_class',         __NAMESPACE__ . '\add_body_classes'        );
    1111
    1212
  • sites/trunk/wp15.wordpress.net/public_html/content/themes/twentyseventeen-wp15/header.php

    r6986 r6992  
    1616        <div id="page" class="site">
    1717                <a class="skip-link screen-reader-text" href="#content">
    18                         <?php _e( 'Skip to content', 'twentyseventeen' ); ?>
     18                        <?php esc_html_e( 'Skip to content', 'twentyseventeen' ); ?>
    1919                </a>
    2020
  • sites/trunk/wp15.wordpress.net/public_html/content/themes/twentyseventeen-wp15/page-about.php

    r6991 r6992  
    1919                                <div class="entry-content">
    2020                                        <h1>
    21                                                 <?php _e( 'People all over the world are celebrating the WordPress 15th Anniversary on May 27, 2018. Join us!', 'wp15' ); ?>
     21                                                <?php esc_html_e( 'People all over the world are celebrating the WordPress 15th Anniversary on May 27, 2018. Join us!', 'wp15' ); ?>
    2222                                        </h1>
    2323
    … …  
    3030                                        <p>
    3131                                                <?php printf(
    32                                                         __( 'Check out <a href="%s">this post about the WordPress 10th anniversary</a>.', 'wp15' ),
     32                                                        wp_kses_data( __( 'Check out <a href="%s">this post about the WordPress 10th anniversary</a>.', 'wp15' ) ),
    3333                                                        'https://wordpress.org/news/2013/05/ten-good-years/'
    3434                                                ); ?>
  • sites/trunk/wp15.wordpress.net/public_html/content/themes/twentyseventeen-wp15/page-live.php

    r6991 r6992  
    1818
    1919                                <div class="entry-content">
    20                                         <?php _e( 'Join the conversation by using #WP15 on your favorite social networks.', 'wp15' ); ?>
     20                                        <?php esc_html_e( 'Join the conversation by using #WP15 on your favorite social networks.', 'wp15' ); ?>
    2121
    2222                                        <?php if ( current_user_can( 'manage_options' ) ) : ?>
Note: See TracChangeset for help on using the changeset viewer.