WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 32 hours ago

#16399 closed enhancement (wontfix)

Add a hook to the plugin editor page when the write is successful

Reported by: scottconnerly Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0.4
Component: Plugins Keywords: has-patch
Focuses: Cc:

Description (last modified by SergeyBiryukov)

Add an action or filter to the end of plugin-editor.php's processing when the write is successful.

The use case is for managing a Wordpress install on an SVN-controlled server. Whenever the CMS changes a file's contents (particularly in the wp-content folder) I need to be able to trigger an svn commit.

See also: Ticket #16396

Attachments (1)

ticket.16399.diff (485 bytes) - added by ptahdunbar 5 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 @scottconnerly5 years ago

  • Cc scottconnerly added
  • Keywords subversion added

comment:2 in reply to: ↑ description @mikeschinkel5 years ago

  • Cc mikeschinkel@… added

Replying to scottconnerly:

Add an action or filter to the end of plugin-editor.php's processing when the write is successful.

The use case is for managing a Wordpress install on an SVN-controlled server. Whenever the CMS changes a file's contents (particularly in the wp-content folder) I need to be able to trigger an svn commit.

See also: Ticket # 16396

+1

@ptahdunbar5 years ago

comment:3 @ptahdunbar5 years ago

  • Cc trac@… added
  • Keywords has-patch added
  • Summary changed from Add plugin-editor.php action/filter on successful save to Add a hook to the plugin editor page when the write is successful

ticket.16399.diff adds a new 'edited_plugin' action hook, passing the plugins main file, the file edited, and the new content of that file as parameters.

comment:4 @SergeyBiryukov2 years ago

  • Description modified (diff)
  • Keywords subversion removed

Related: #16396, #16398, #16400, #16401

comment:5 @chriscct732 hours ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

No further interest in 5 years. Closing as wontfix

Note: See TracTickets for help on using tickets.