Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#10929 closed enhancement (fixed)

Allow plugins to specify redirect location after publishing

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

Description

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 15 years ago.
10929.patch (387 bytes) - added by johnbillion 15 years ago.

Download all attachments as: .zip

Change History (5)

#1 @scribu
15 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.

@johnbillion
15 years ago

#2 @johnbillion
15 years ago

Fixed and improved current patch.

#3 @westi
15 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.