WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#9241 closed enhancement (fixed)

wp_loginout() should have a redirect parameter

Reported by: Denis-de-Bernardy Owned by:
Milestone: 2.8 Priority: normal
Severity: minor Version: 2.7
Component: General Keywords: has-patch tested commit
Focuses: Cc:

Description

Currently, the login and logout url functions allow to have a redirect, but, strangely, not the loginout url function.

The function should at least support a redirect parameter. Better yet, should it not set it automatically to the current url?

Attachments (1)

9241.diff (788 bytes) - added by Denis-de-Bernardy 5 years ago.

Download all attachments as: .zip

Change History (4)

Denis-de-Bernardy5 years ago

comment:1 Denis-de-Bernardy5 years ago

  • Keywords has-patch tested commit added

comment:3 ryan5 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.