Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#10929 closed enhancement (fixed)

Allow plugins to specify redirect location after publishing

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

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

Download all attachments as: .zip

Change History (5)

#1 @scribu
17 years ago

  • Keywords has-patch added
  • Milestone 2.8.5 → 2.9

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

#2 @johnbillion
17 years ago

Fixed and improved current patch.

#3 @westi
17 years ago

  • Resolution → fixed
  • Status new → 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.