Ticket #3062: 3062.diff
File 3062.diff, 2.9 KB (added by , 7 years ago) |
---|
-
trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php
136 136 * 137 137 * @static 138 138 * 139 * @param bool $full Optional. Whether to include "active install s" suffix. Default: true.139 * @param bool $full Optional. Whether to include "active installations" suffix. Default: true. 140 140 * @param int|\WP_Post|null $post Optional. Post ID or post object. Defaults to global $post. 141 141 * @return string "1+ million" or "1+ million active installs" depending on $full. 142 142 */ … … 154 154 $text = number_format_i18n( $count ) . '+'; 155 155 } 156 156 157 return $full ? sprintf( __( '%s active install s', 'wporg-plugins' ), $text ) : $text;157 return $full ? sprintf( __( '%s active installations', 'wporg-plugins' ), $text ) : $text; 158 158 } 159 159 160 160 /** -
trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-meta.php
48 48 ); 49 49 ?> 50 50 </li> 51 <li><?php printf( __( 'Active install s: %s', 'wporg-plugins' ), '<strong>' . Template::active_installs( false ) . '</strong>' ); ?></li>51 <li><?php printf( __( 'Active installations: %s', 'wporg-plugins' ), '<strong>' . Template::active_installs( false ) . '</strong>' ); ?></li> 52 52 53 53 <?php if ( $requires = (string) get_post_meta( $post->ID, 'requires', true ) ) : ?> 54 54 <li><?php -
trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin.php
33 33 <i class="dashicons dashicons-admin-users"></i> <?php echo esc_html( strip_tags( get_post_meta( get_the_ID(), 'header_author', true ) ) ?: get_the_author() ); ?> 34 34 </span> 35 35 <span class="active-installs"> 36 <i class="dashicons dashicons-chart-area"></i> <?php printf( __( '%s active install s', 'wporg-plugins' ), Template::active_installs(false) ); ?>36 <i class="dashicons dashicons-chart-area"></i> <?php printf( __( '%s active installations', 'wporg-plugins' ), Template::active_installs(false) ); ?> 37 37 </span> 38 38 <span class="tested-with"> 39 39 <?php if ( $tested_up_to = (string) get_post_meta( $post->ID, 'tested', true ) ) { ?>