WordPress.org

Make WordPress Core

Ticket #37392: 37392.placeholders.diff

File 37392.placeholders.diff, 1.7 KB (added by garrett-eclipse, 6 weeks ago)

Patch to address the _n_noop placeholders

  • src/wp-admin/includes/class-wp-ms-sites-list-table.php

     
    219219                $counts = wp_count_sites();
    220220
    221221                $statuses = array(
    222                         'all'      => _n_noop( 'All <span class="count">(%s)</span>', 'All <span class="count">(%1$s)</span>' ),
    223                         'public'   => _n_noop( 'Public <span class="count">(%s)</span>', 'Public <span class="count">(%1$s)</span>' ),
    224                         'archived' => _n_noop( 'Archived <span class="count">(%1$s)</span>', 'Archived <span class="count">(%1$s)</span>' ),
    225                         'mature'   => _n_noop( 'Mature <span class="count">(%1$s)</span>', 'Mature <span class="count">(%1$s)</span>' ),
    226                         'spam'     => _n_noop( 'Spam <span class="count">(%1$s)</span>', 'Spam <span class="count">(%1$s)</span>' ),
    227                         'deleted'  => _n_noop( 'Deleted <span class="count">(%1$s)</span>', 'Deleted <span class="count">(%1$s)</span>' ),
     222                        'all'      => _n_noop( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>' ),
     223                        'public'   => _n_noop( 'Public <span class="count">(%s)</span>', 'Public <span class="count">(%s)</span>' ),
     224                        'archived' => _n_noop( 'Archived <span class="count">(%s)</span>', 'Archived <span class="count">(%s)</span>' ),
     225                        'mature'   => _n_noop( 'Mature <span class="count">(%s)</span>', 'Mature <span class="count">(%s)</span>' ),
     226                        'spam'     => _n_noop( 'Spam <span class="count">(%s)</span>', 'Spam <span class="count">(%s)</span>' ),
     227                        'deleted'  => _n_noop( 'Deleted <span class="count">(%s)</span>', 'Deleted <span class="count">(%s)</span>' ),
    228228                );
    229229
    230230                $view_links       = array();