WordPress.org

Making WordPress.org

Changeset 4229


Ignore:
Timestamp:
10/12/2016 08:09:49 PM (5 years ago)
Author:
coffee2code
Message:

Support Forums: Use %s instead of %d as placeholder since markup and a potentially commaified value is being inserted rather than a simple number.

See #2035, r4228.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-ratings-compat.php

    r4228 r4229  
    138138            printf(
    139139                /* translators: %s: number of reviews */
    140                 _n( '%d review', '%d reviews', $this->reviews_count, 'wporg-forums' ),
     140                _n( '%s review', '%s reviews', $this->reviews_count, 'wporg-forums' ),
    141141                '<span itemprop="reviewCount">' . number_format_i18n( $this->reviews_count ) . '</span>'
    142142            );
Note: See TracChangeset for help on using the changeset viewer.