WordPress.org

Making WordPress.org


Ignore:
Timestamp:
01/13/2017 11:46:55 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Support Theme: For strings without placeholders, switch to _e() instead of printf( __() ).

See #2151.

File:
1 edited

Legend:

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

    r4248 r4673  
    2828            <div class="site-branding">
    2929                <?php if ( is_front_page() ) : ?>
    30                     <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php _ex( 'Support','Site title', 'wporg-forums' ); ?></a></h1>
     30                    <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php _ex( 'Support', 'Site title', 'wporg-forums' ); ?></a></h1>
    3131
    3232                    <p class="site-description">
    3333                        <?php
    3434                        /* Translators: subhead */
    35                         printf( __( 'We\'ve got a variety of resources to help you get the most out of WordPress.', 'wporg-forums' ) );
     35                        _e( 'We\'ve got a variety of resources to help you get the most out of WordPress.', 'wporg-forums' );
    3636                        ?>
    3737                    </p>
    3838                    <?php get_search_form(); ?>
    3939                <?php else : ?>
    40                     <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php _ex( 'Support','Site title', 'wporg-forums' ); ?></a></p>
     40                    <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php _ex( 'Support', 'Site title', 'wporg-forums' ); ?></a></p>
    4141
    4242                    <nav id="site-navigation" class="main-navigation" role="navigation">
Note: See TracChangeset for help on using the changeset viewer.