Making WordPress.org

Changeset 5750


Ignore:
Timestamp:
08/04/2017 09:21:08 PM (8 years ago)
Author:
SergeyBiryukov
Message:

Support Theme: Replace _n() with __() for a string with a fixed number.

_n() is meant for strings with dynamic numbers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php

    r5676 r5750  
    472472            );
    473473        } else {
    474             $notices[] = sprintf(
    475                 /* translators: %d: number of hours */
    476                 _n( 'This post has been held for moderation by our automated system. It will be reviewed within %d hour.', 'This post has been held for moderation by our automated system. It will be reviewed within %d hours.', 72, 'wporg-forums' ),
    477                 72
    478             );
     474            $notices[] = __( 'This post has been held for moderation by our automated system. It will be reviewed within 72 hours.', 'wporg-forums' );
    479475        }
    480476
Note: See TracChangeset for help on using the changeset viewer.