Make WordPress Core

Changeset 45337 for branches/5.2


Ignore:
Timestamp:
05/17/2019 01:00:59 AM (7 years ago)
Author:
SergeyBiryukov
Message:

Site Health: Use correct singular string for plugin and theme version tests.

Props edocev, Presskopp.
Merges [45336] to the 5.2 branch.
Fixes #47264.

Location:
branches/5.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.2

  • branches/5.2/src/wp-admin/includes/class-wp-site-health.php

    r45332 r45337  
    356356                                                /* translators: %d: The number of active plugins. */
    357357                                                _n(
    358                                                         'Your site has %d active plugin, and they are all up to date.',
     358                                                        'Your site has %d active plugin, and it is up to date.',
    359359                                                        'Your site has %d active plugins, and they are all up to date.',
    360360                                                        $plugins_active
    … …  
    512512                                                /* translators: %d: The number of themes. */
    513513                                                _n(
    514                                                         'Your site has %d installed theme, and they are all up to date.',
     514                                                        'Your site has %d installed theme, and it is up to date.',
    515515                                                        'Your site has %d installed themes, and they are all up to date.',
    516516                                                        $themes_total
Note: See TracChangeset for help on using the changeset viewer.