Make WordPress Core

Opened 13 years ago

Closed 10 years ago

#15929 closed enhancement (wontfix)

plugin_action_links filter does not include page & search context

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

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 13 years ago.

Download all attachments as: .zip

Change History (6)

@wpmuguru
13 years ago

#1 @scribu
13 years ago

  • Type changed from defect (bug) to enhancement

#2 @nacin
13 years ago

FYI, both variables are globals here.

#3 @westi
13 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
13 years ago

  • Milestone changed from 3.1 to Future Release

I'll punt since the variables are global.

#5 @johnbillion
10 years ago

  • Keywords has-patch removed
  • Milestone Future Release deleted
  • Resolution set to wontfix
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.