Changeset 6027 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php
- Timestamp:
- 10/13/2017 11:56:23 PM (7 years ago)
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.