Opened 12 months ago
Last modified 12 months ago
#59363 new defect (bug)
wp_tag_cloud and apply_filters
Reported by: | steffenkrueger | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.3.1 |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description (last modified by )
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/
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.