Make WordPress Core

Opened 16 years ago

Closed 11 years ago

#13605 closed enhancement (wontfix)

Add filter for admin-ajax get-tagcloud's arguments for wp_generate_tag_cloud

Reported by: mitchoyoshitaka Owned by:
Priority: normal Milestone:
Component: Plugins Version: 3.0
Severity: normal Keywords: has-patch
Cc: Focuses: administration

Description

Patch attached.

Attachments (1)

13605.diff​ (496 bytes ) - added by mitchoyoshitaka 16 years ago.
Corrected diff

Download all attachments as: .zip

Change History (9)

@mitchoyoshitaka
16 years ago

Corrected diff

#1 @mitchoyoshitaka
16 years ago

  • Keywords has-patch added

#2 follow-up: @nacin
16 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 @mitchoyoshitaka
16 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. :)

#4 @nacin
16 years ago

  • Milestone Awaiting Review → Future Release

#5 @jeremyfelt
13 years ago

  • Component Administration → 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.

#6 @nacin
13 years ago

  • Component Admin APIs → Plugins

Sorry for the noise.

#7 @chriscct7
11 years ago

  • Keywords close added
  • Priority low → normal
  • Severity minor → normal

There doesn't seem to be any demand for this

#8 @DrewAPicture
11 years ago

  • Keywords close removed
  • Milestone Future Release
  • Resolution → wontfix
  • Status new → closed
Note: See TracTickets for help on using tickets.