Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#10929 closed enhancement (fixed)

Allow plugins to specify redirect location after publishing

Reported by: johnjosephbachir Owned by: westi
Milestone: 2.9 Priority: normal
Severity: minor Version: 2.8.4
Component: Plugins Keywords: has-patch
Focuses: Cc:


I propose this filter, to allow a plugin to specify where a user gets directed after publishing/submitting a post.

Here are some forum discussions relevant to this issue:

The diff was done on trunk at r 12006, the last change on post.php was r 11986.

Attachments (2)

post.php.patch (360 bytes) - added by johnjosephbachir 11 years ago.
10929.patch (387 bytes) - added by johnbillion 11 years ago.

Download all attachments as: .zip

Change History (5)

#1 @scribu
11 years ago

  • Keywords has-patch added
  • Milestone changed from 2.8.5 to 2.9

You can already do this without the filter, but it's better to have an approved way.

11 years ago

#2 @johnbillion
11 years ago

Fixed and improved current patch.

#3 @westi
11 years ago

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

(In [12260]) Allow plugins to change the redirect on post/page publishing/submitting. Fixes #10929 props johnjosephbachir and johnbillion.

Note: See TracTickets for help on using tickets.