[wp-trac] [WordPress Trac] #59363: wp_tag_cloud and apply_filters
WordPress Trac
noreply at wordpress.org
Fri Sep 15 09:59:24 UTC 2023
#59363: wp_tag_cloud and apply_filters
----------------------------+-----------------------------
Reporter: steffenkrueger | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.3.1
Severity: normal | Keywords:
Focuses: |
----------------------------+-----------------------------
Line https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-
includes/blocks/tag-cloud.php#L28
$tag_cloud = wp_tag_cloud( $args );
has to be changed to
$tag_cloud = wp_tag_cloud(
apply_filters(
'widget_tag_cloud_args',
$args
)
);
to be in line with documentation:
https://developer.wordpress.org/reference/hooks/widget_tag_cloud_args/
I will attach a patch as documented here:
https://make.wordpress.org/core/handbook/contribute/git/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59363>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list