Changeset 1481
- Timestamp:
- 04/16/2015 02:42:04 AM (10 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/content-single.php
r1479 r1481 22 22 <h3 class="theme-name entry-title" itemprop="name"><?php the_title(); ?></h3> 23 23 <h4 class="theme-author"> 24 <?php printf( _x( ' by %s', 'postauthor', 'wporg-themes' ), sprintf( '<a href="https://wordpress.org/themes/author/%s/"><span class="author" itemprop="author">%s</span></a>', get_the_author_meta( 'nicename' ), esc_html( get_the_author() ) ) ); ?>24 <?php printf( _x( 'By %s', 'theme author', 'wporg-themes' ), sprintf( '<a href="https://wordpress.org/themes/author/%s/"><span class="author" itemprop="author">%s</span></a>', get_the_author_meta( 'nicename' ), esc_html( get_the_author() ) ) ); ?> 25 25 </h4> 26 26 </div> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/content.php
r1477 r1481 10 10 <span class="more-details"><?php _ex( 'More Info', 'theme' ); ?></span> 11 11 <div class="theme-author"> 12 <?php printf( _x( 'By %s', ' postauthor', 'wporg-themes' ), '<span class="author vcard">' . esc_html( get_the_author() ) . '</span>' ); ?>12 <?php printf( _x( 'By %s', 'theme author', 'wporg-themes' ), '<span class="author vcard">' . esc_html( get_the_author() ) . '</span>' ); ?> 13 13 </div> 14 14 <h3 class="theme-name entry-title"><?php the_title(); ?></h3> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme-preview.php
r1477 r1481 10 10 <div class="install-theme-info"> 11 11 <h3 class="theme-name">{{ data.name }}</h3> 12 <span class="theme-by"><?php printf( _ _( 'By %s', 'wporg-themes' ), '{{ data.author.display_name }}' ); ?></span>12 <span class="theme-by"><?php printf( _x( 'By %s', 'theme author', 'wporg-themes' ), '{{ data.author.display_name }}' ); ?></span> 13 13 14 14 <img class="theme-screenshot" src="{{ data.screenshot_url }}?w=520&strip=all" alt="" /> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme-single.php
r1478 r1481 17 17 <div> 18 18 <h3 class="theme-name entry-title" itemprop="name">{{{ data.name }}}</h3> 19 <h4 class="theme-author"><?php printf( _ _( 'by %s', 'wporg-themes' ), '<a href="https://wordpress.org/themes/author/{{ data.author.user_nicename }}/"><span class="author" itemprop="author">{{{ data.author.display_name }}}</span></a>' ); ?></h4>19 <h4 class="theme-author"><?php printf( _x( 'By %s', 'theme author', 'wporg-themes' ), '<a href="https://wordpress.org/themes/author/{{ data.author.user_nicename }}/"><span class="author" itemprop="author">{{{ data.author.display_name }}}</span></a>' ); ?></h4> 20 20 </div> 21 21 … … 87 87 <?php foreach ( range( 5, 1 ) as $stars ) : ?> 88 88 <li class="counter-container"> 89 <a href="//wordpress.org/support/view/theme-reviews/{{ data.id }}?filter=<?php echo $stars; ?>" title="<?php echo esc_attr( sprintf( _ _( 'Click to see reviews that provided a rating of %d stars', 'wporg-themes' ), $stars ) ); ?>">89 <a href="//wordpress.org/support/view/theme-reviews/{{ data.id }}?filter=<?php echo $stars; ?>" title="<?php echo esc_attr( sprintf( _n( 'Click to see reviews that provided a rating of %d star', 'Click to see reviews that provided a rating of %d stars', $stars, 'wporg-themes' ), $stars ) ); ?>"> 90 90 <span class="counter-label"><?php printf( _n( '%d star', '%d stars', $stars, 'wporg-themes' ), $stars ); ?></span> 91 91 <span class="counter-back"> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme.php
r1477 r1481 9 9 <# } #> 10 10 <span class="more-details"><?php _ex( 'More Info', 'theme', 'wporg-themes' ); ?></span> 11 <div class="theme-author"><?php printf( _ _( 'By %s', 'wporg-themes' ), '<span class="author">{{ data.author.display_name }}</span>' ); ?></div>11 <div class="theme-author"><?php printf( _x( 'By %s', 'theme author', 'wporg-themes' ), '<span class="author">{{ data.author.display_name }}</span>' ); ?></div> 12 12 <h3 class="theme-name entry-title">{{{ data.name }}}</h3> 13 13 </a>
Note: See TracChangeset
for help on using the changeset viewer.