WordPress.org

Making WordPress.org


Ignore:
Timestamp:
10/13/2017 11:56:23 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Plugin Directory: Improve terminology used when referring to active installations of a plugin.

"Install" is not a noun, and while it might be acceptable to use the verb as a noun, it is not correct. Using the correct noun, "installation", increases clarity, especially for non-native English speakers.

Props Ipstenu, presskopp.
Fixes #3062.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php

    r6001 r6027  
    133133
    134134    /**
    135      * Returns a string representing the number of active installs for an item.
    136      *
    137      * @static
    138      *
    139      * @param bool              $full Optional. Whether to include "active installs" 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.
    140140     * @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 installs" depending on $full.
     141     * @return string "1+ million" or "1+ million active installations" depending on $full.
    142142     */
    143143    public static function active_installs( $full = true, $post = null ) {
     
    155155        }
    156156
    157         return $full ? sprintf( __( '%s active installs', 'wporg-plugins' ), $text ) : $text;
     157        return $full ? sprintf( __( '%s active installations', 'wporg-plugins' ), $text ) : $text;
    158158    }
    159159
Note: See TracChangeset for help on using the changeset viewer.