Opened 8 years ago

Closed 7 years ago

#1657 closed defect (bug) (fixed)

"Edit" link next to plugins

Reported by: markjaquith Owned by: markjaquith
Priority: normal Milestone: 2.1
Component: Administration Version: 2.0.4
Severity: normal Keywords: bg|has-patch bg|commit bg|squashed
Cc:

Description

Having an "Edit" link next to each plugin on the main plugin list would save time, and not take up much screen real estate. It should probably go right next to the activate/deactivate button, as it is also an "Action"

Attachments (4)

plugins-edit.diff (2.1 KB) - added by davidhouse 8 years ago.
1.6 diff
1657.diff (2.3 KB) - added by davidhouse 7 years ago.
edit_plugins_refresh.diff (2.6 KB) - added by markjaquith 7 years ago.
Fresh patch for /trunk/ ... old one had rotted
edit_plugins.diff (2.7 KB) - added by markjaquith 7 years ago.
Better patch

Download all attachments as: .zip

Change History (12)

1.6 diff

  • Keywords bg|has-patch bg|commit added
  • Milestone set to 1.6
  • Owner changed from anonymous to markjaquith
  • Status changed from new to assigned

Looks good, thanks!

  • Keywords bg|squashed added

Works for me!

comment:3   matt8 years ago

Can this check if the file is writable and if the user has edit plugin caps?

comment:4   matt8 years ago

  • Milestone changed from 1.6 to 2.1

Yes it can! Uses is_writable() so may cause safe_mode funkyness.

Fresh patch for /trunk/ ... old one had rotted

  • Version changed from 1.6 to 2.0.4

Fresh plugin updated. Still checks writability and permissions.

I still like this for 2.1

Better patch

Better patch doesn't show the second column if the user can't edit. Prevents $edit from leaking from one row to the next.

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

(In [4313]) edit link next to each plugin. Props David House. fixes #1657

Note: See TracTickets for help on using tickets.