Merged in feature/81-dev-dev01 (pull request #5)
auto-patch 81-dev-dev01-2023-12-05T22_45_26 * auto-patch 81-dev-dev01-2023-12-05T22_45_26
This commit is contained in:
@@ -568,7 +568,7 @@ function wp_list_categories( $args = '' ) {
|
||||
}
|
||||
|
||||
// Descendants of exclusions should be excluded too.
|
||||
if ( true == $parsed_args['hierarchical'] ) {
|
||||
if ( $parsed_args['hierarchical'] ) {
|
||||
$exclude_tree = array();
|
||||
|
||||
if ( $parsed_args['exclude_tree'] ) {
|
||||
@@ -881,7 +881,7 @@ function wp_generate_tag_cloud( $tags, $args = '' ) {
|
||||
}
|
||||
} elseif ( isset( $args['single_text'] ) && isset( $args['multiple_text'] ) ) {
|
||||
// If no callback exists, look for the old-style single_text and multiple_text arguments.
|
||||
// phpcs:ignore WordPress.WP.I18n.NonSingularStringLiteralSingle,WordPress.WP.I18n.NonSingularStringLiteralPlural
|
||||
// phpcs:ignore WordPress.WP.I18n.NonSingularStringLiteralSingular,WordPress.WP.I18n.NonSingularStringLiteralPlural
|
||||
$translate_nooped_plural = _n_noop( $args['single_text'], $args['multiple_text'] );
|
||||
} else {
|
||||
// This is the default for when no callback, plural, or argument is passed in.
|
||||
|
||||
Reference in New Issue
Block a user