Opened 15 years ago
Closed 10 years ago
#13605 closed enhancement (wontfix)
Add filter for admin-ajax get-tagcloud's arguments for wp_generate_tag_cloud
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0 |
Component: | Plugins | Keywords: | has-patch |
Focuses: | administration | Cc: |
Description
Patch attached.
Attachments (1)
Change History (9)
#2
follow-up:
↓ 3
@
15 years ago
Just a thought, thinking a wider use case, could we add a filter to the args directly in wp_generate_tag_cloud instead, then one could use DOING_AJAX for context?
#3
in reply to:
↑ 2
@
15 years ago
Replying to nacin:
Just a thought, thinking a wider use case, could we add a filter to the args directly in wp_generate_tag_cloud instead, then one could use DOING_AJAX for context?
Well, that would work too, but the only places wp_generate_tag_cloud is used, aside from this use, is in wp_tag_cloud and in the plugin popular tags display. wp_tag_cloud already takes an args argument which overrides this.
Either would work for me fine. :)
#5
@
11 years ago
- Component changed from Administration to Admin APIs
- Focuses administration added
Not sure if there's much demand for this anymore. That said, the filter on wp_generate_tag_cloud()
does make more sense than the filter before it is called. Especially because the admin ajax architecture has changed so much since this ticket.
Corrected diff