Changeset 6027
- Timestamp:
- 10/13/2017 11:56:23 PM (7 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php
r6001 r6027 133 133 134 134 /** 135 * Returns a string representing the number of active install s for an item.136 * 137 * @static 138 * 139 * @param bool $full Optional. Whether to include "active install s" suffix. Default: true.135 * Returns a string representing the number of active installations for an item. 136 * 137 * @static 138 * 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 * @return string "1+ million" or "1+ million active install s" depending on $full.141 * @return string "1+ million" or "1+ million active installations" depending on $full. 142 142 */ 143 143 public static function active_installs( $full = true, $post = null ) { … … 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 -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-meta.php
r5928 r6027 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 ) ) : ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin.php
r5225 r6027 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">
Note: See TracChangeset
for help on using the changeset viewer.