Changeset 44562 for trunk/src/wp-includes/category-template.php
- Timestamp:
- 01/11/2019 06:03:46 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category-template.php
r43571 r44562 837 837 // Look for the alternative callback style. Ignore the previous default. 838 838 if ( $args['topic_count_text_callback'] === 'default_topic_count_text' ) { 839 // wpcs:ignore WordPress.WP.I18n.NonSingularStringLiteralSingle,WordPress.WP.I18n.NonSingularStringLiteralPlural 839 840 $translate_nooped_plural = _n_noop( '%s item', '%s items' ); 840 841 } else { … … 843 844 } elseif ( isset( $args['single_text'] ) && isset( $args['multiple_text'] ) ) { 844 845 // If no callback exists, look for the old-style single_text and multiple_text arguments. 846 // phpcs:ignore WordPress.WP.I18n.NonSingularStringLiteralSingle,WordPress.WP.I18n.NonSingularStringLiteralPlural 845 847 $translate_nooped_plural = _n_noop( $args['single_text'], $args['multiple_text'] ); 846 848 } else {
Note: See TracChangeset
for help on using the changeset viewer.