WordPress.org

Make WordPress Core

Ticket #24040: 24040.patch

File 24040.patch, 1.0 KB (added by janhenckens, 5 years ago)
  • src/wp-includes/category-template.php

    diff --git src/wp-includes/category-template.php src/wp-includes/category-template.php
    index 8bba6b4..32cd3a6 100644
    function wp_generate_tag_cloud( $tags, $args = '' ) { 
    836836        } elseif ( ! empty( $args['topic_count_text_callback'] ) ) {
    837837                // Look for the alternative callback style. Ignore the previous default.
    838838                if ( $args['topic_count_text_callback'] === 'default_topic_count_text' ) {
    839                         $translate_nooped_plural = _n_noop( '%s topic', '%s topics' );
     839                        $translate_nooped_plural = _n_noop( '%s post', '%s posts' );
    840840                } else {
    841841                        $translate_nooped_plural = false;
    842842                }
    function wp_generate_tag_cloud( $tags, $args = '' ) { 
    845845                $translate_nooped_plural = _n_noop( $args['single_text'], $args['multiple_text'] );
    846846        } else {
    847847                // This is the default for when no callback, plural, or argument is passed in.
    848                 $translate_nooped_plural = _n_noop( '%s topic', '%s topics' );
     848                $translate_nooped_plural = _n_noop( '%s post', '%s posts' );
    849849        }
    850850
    851851        /**