Make WordPress Core

Opened 20 months ago

Closed 2 weeks ago

#59363 closed defect (bug) (reported-upstream)

wp_tag_cloud and apply_filters

Reported by: steffenkrueger's profile steffenkrueger Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.3.3
Component: Editor Keywords:
Focuses: Cc:

Description (last modified by SergeyBiryukov)

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)

tag_cloud_apply_filter.diff (660 bytes) - added by steffenkrueger 20 months ago.

Download all attachments as: .zip

Change History (4)

#1 @SergeyBiryukov
20 months ago

  • Component changed from General to Editor
  • Description modified (diff)

#2 @steffenkrueger
2 weeks ago

  • Version changed from 6.3.1 to 6.3.3

This issue still exists in Version 6.8.1.

All the time I receive a mail like:

"Howdy! Your site at https://xxx.xxx.com has been updated automatically to WordPress v.v.v "
I will fixt this manually.

Tickets related to the Gutenberg Editor should be filed on the Gutenberg GitHub Repository ... no migration?

Last edited 2 weeks ago by sabernhardt (previous) (diff)

#3 @sabernhardt
2 weeks ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

Thanks for opening GB70046!

Apparently GitHub had an older issue about it:
https://github.com/WordPress/gutenberg/issues/33990

Note: See TracTickets for help on using tickets.