Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 5 years ago

#9172 closed enhancement (fixed)

Filter action links for posts, pages, categories, link categories, tags and users screens

Reported by: jamescollins's profile jamescollins Owned by:
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.8
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

In #7212, a simple filter was added to filter the action links for comments.

This should also be done for posts, pages, categories, link categories, tags and users.

Attachments (3)

9172.diff (3.1 KB) - added by jamescollins 14 years ago.
Patch against r10593
9172.2.diff (726 bytes) - added by johnbillion 14 years ago.
diff (595 bytes) - added by holizz 14 years ago.
Add media_row_actions filter to all media items (against r12207)

Download all attachments as: .zip

Change History (13)

@jamescollins
14 years ago

Patch against r10593

#1 @jamescollins
14 years ago

  • Keywords has-patch added

Simple patch attached.

#2 @jamescollins
14 years ago

  • Summary changed from Filter action links for posts, pages, categories, link categories, tags and users to Filter action links for posts, pages, categories, link categories, tags and users screens

To clarify, this will allow plugins to override the list of quick links displayed in the dashboard.

For example, I am trying to write a plugin that in certain circumstances removes the "Quick Edit" link on the Pages -> Edit screen (/wp-admin/edit-pages.php).

This is currently possible on the Comments screen, but not on any of the other screens.

As far as I can tell, the attached patch doesn't change any existing behaviour(s), so I'd like to see this patch included in WP 2.8.

Thanks.

#3 @ryan
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [10629]) Filter row actions. Props jamescollins. fixes #9172

#4 @johnbillion
14 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

This is a great patch, in fact I was writing the exact same patch until I remembered to update my working copy of trunk and realised jamescollins had beaten me to it by a week!

One action list has been missed though, the one on the 'Media' page.

@johnbillion
14 years ago

#5 @johnbillion
14 years ago

Patch for the above

#6 @ryan
14 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [10686]) Add media_row_actions filter. Props johnbillion. fixes #9172

#7 @holizz
14 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

The patch provided above only provides a 'media_row_actions' filter for the "Unattached" view of the media library. Here's a patch that adds it to the other views too.

@holizz
14 years ago

Add media_row_actions filter to all media items (against r12207)

#8 @scribu
14 years ago

  • Milestone changed from 2.8 to 2.9
  • Version changed from 2.7 to 2.8

#9 @ryan
14 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [12221]) Add media_row_actions filter. Props holizz. fixes #9172

This ticket was mentioned in Slack in #community-team by remediosgraphic. View the logs.


5 years ago

Note: See TracTickets for help on using tickets.