Make WordPress Core

Opened 16 years ago

Closed 13 years ago

#15929 closed enhancement (wontfix)

plugin_action_links filter does not include page & search context

Reported by: wpmuguru Owned by:
Priority: normal Milestone:
Component: Plugins Version:
Severity: normal Keywords:
Cc: Focuses:

Description

The default links in the plugin list tables return the user to the same context (search, page, etc.) that they clicked a link on. A plugin adding links via either of the plugin_action_links filter doesn't have access to either the page or search context.

Patch is attached.

Attachments (1)

15929.diff (1006 bytes ) - added by wpmuguru 16 years ago.

Download all attachments as: .zip

Change History (6)

@wpmuguru
16 years ago

#1 @scribu
16 years ago

  • Type defect (bug)enhancement

#2 @nacin
16 years ago

FYI, both variables are globals here.

#3 @westi
16 years ago

I think that we will find a lot of places where this is true or where actions/filters are missing.

Not sure this is 3.1 material

#4 @wpmuguru
16 years ago

  • Milestone 3.1Future Release

I'll punt since the variables are global.

#5 @johnbillion
13 years ago

  • Keywords has-patch removed
  • Milestone Future Release
  • Resolutionwontfix
  • Status newclosed

As noted above, the two contextual variables in question are global already.

Note: See TracTickets for help on using tickets.