Making WordPress.org

Changeset 6583


Ignore:
Timestamp:
02/09/2018 08:49:21 PM (6 years ago)
Author:
obenland
Message:

Main: Add remaining about page templates.

Work in progress.

See #3046.

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

Legend:

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

    r6577 r6583  
    99
    1010namespace WordPressdotorg\MainTheme;
     11
     12function ___( $arg ) { return $arg; }
     13function _esc_html__( $arg ) { return $arg; }
     14function _esc_html_e( $arg ) { echo $arg; }
    1115
    1216/**
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-logos.php

    r6580 r6583  
    1818        <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    1919            <header class="entry-header">
    20                 <h1 class="entry-title"><?php esc_html_e( 'Logos and Graphics', 'wporg-dev' ); ?></h1>
     20                <h1 class="entry-title"><?php _esc_html_e( 'Logos and Graphics', 'wporg' ); ?></h1>
    2121            </header><!-- .entry-header -->
    2222
     
    210210            edit_post_link(
    211211                sprintf(
    212                 /* translators: %s: Name of current post */
     212                    /* translators: %s: Name of current post */
    213213                    esc_html__( 'Edit %s', 'wporg' ),
    214214                    the_title( '<span class="screen-reader-text">"', '"</span>', false )
     
    222222    </main><!-- #main -->
    223223
    224     <?php
     224<?php
    225225get_footer();
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-releases.php

    r6277 r6583  
    2424                if ( isset( $releases['latest'] ) ) :
    2525                    ?>
    26                     <h3 id="latest"><?php esc_html_e( 'Latest release', 'wporg' ); ?></h3>
     26                    <h3 id="latest"><?php _esc_html_e( 'Latest release', 'wporg' ); ?></h3>
    2727                    <table class="releases latest">
    2828                        <?php release_row( $releases['latest'] ); ?>
     
    5858                if ( ! empty( $releases['betas'] ) ) :
    5959                    ?>
    60                     <h3 id="betas"><?php esc_html_e( 'Beta &amp; RC releases', 'wporg' ); ?></h3>
     60                    <h3 id="betas"><?php _esc_html_e( 'Beta &amp; RC releases', 'wporg' ); ?></h3>
    6161                    <table id="beta" class="releases">
    6262                        <?php
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-txt-download.php

    r6277 r6583  
    2121                <aside class="col-3 alignright">
    2222                    <?php
    23                     the_widget( __NAMESPACE__ . '\WPORG_Widget_Download' );
     23                    the_widget( ___NAMESPACE__ . '\WPORG_Widget_Download' );
    2424
    2525                    the_widget( 'WP_Widget_Links', array(), array(
    2626                        'before_title' => '<h4>',
    27                         'after_title'  => '</h4><p>' . __( 'For help with installing or using WordPress, consult our documentation in your language.', 'wporg' ) . '</p>',
     27                        'after_title'  => '</h4><p>' . ___( 'For help with installing or using WordPress, consult our documentation in your language.', 'wporg' ) . '</p>',
    2828                    ) );
    2929                    ?>
Note: See TracChangeset for help on using the changeset viewer.