Changeset 6583
- Timestamp:
- 02/09/2018 08:49:21 PM (7 years ago)
- 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 9 9 10 10 namespace WordPressdotorg\MainTheme; 11 12 function ___( $arg ) { return $arg; } 13 function _esc_html__( $arg ) { return $arg; } 14 function _esc_html_e( $arg ) { echo $arg; } 11 15 12 16 /** -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-logos.php
r6580 r6583 18 18 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 19 19 <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> 21 21 </header><!-- .entry-header --> 22 22 … … 210 210 edit_post_link( 211 211 sprintf( 212 /* translators: %s: Name of current post */212 /* translators: %s: Name of current post */ 213 213 esc_html__( 'Edit %s', 'wporg' ), 214 214 the_title( '<span class="screen-reader-text">"', '"</span>', false ) … … 222 222 </main><!-- #main --> 223 223 224 224 <?php 225 225 get_footer(); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-releases.php
r6277 r6583 24 24 if ( isset( $releases['latest'] ) ) : 25 25 ?> 26 <h3 id="latest"><?php esc_html_e( 'Latest release', 'wporg' ); ?></h3>26 <h3 id="latest"><?php _esc_html_e( 'Latest release', 'wporg' ); ?></h3> 27 27 <table class="releases latest"> 28 28 <?php release_row( $releases['latest'] ); ?> … … 58 58 if ( ! empty( $releases['betas'] ) ) : 59 59 ?> 60 <h3 id="betas"><?php esc_html_e( 'Beta & RC releases', 'wporg' ); ?></h3>60 <h3 id="betas"><?php _esc_html_e( 'Beta & RC releases', 'wporg' ); ?></h3> 61 61 <table id="beta" class="releases"> 62 62 <?php -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-txt-download.php
r6277 r6583 21 21 <aside class="col-3 alignright"> 22 22 <?php 23 the_widget( __ NAMESPACE__ . '\WPORG_Widget_Download' );23 the_widget( ___NAMESPACE__ . '\WPORG_Widget_Download' ); 24 24 25 25 the_widget( 'WP_Widget_Links', array(), array( 26 26 '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>', 28 28 ) ); 29 29 ?>
Note: See TracChangeset
for help on using the changeset viewer.