WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 10 months ago

#12333 closed enhancement (invalid)

Get "message" and "error" params in wp-login.php

Reported by: FiloSottile Owned by: westi
Milestone: Priority: normal
Severity: minor Version: 2.9.2
Component: General Keywords: reporter-feedback
Focuses: Cc:

Description

It might be useful a parameter like "redirect_to" to set $message and $error of login_headers() from the url of wp-login.php.

Change History (4)

comment:1 FiloSottile4 years ago

  • Component changed from General to Warnings/Notices
  • Milestone changed from Unassigned to Future Release
  • Owner set to westi
  • Version set to 2.9.2

comment:2 FiloSottile4 years ago

  • Keywords dev-feedback added

comment:3 westi2 years ago

  • Component changed from Warnings/Notices to General
  • Keywords reporter-feedback added; login dev-feedback removed

I'm not sure I understand the request here.

  • What exactly are you trying to achieve?
  • What change to login_header() are you suggesting
    • extra arguments to the function?
    • taking error messages from the url?
    • ... ?

comment:4 SergeyBiryukov10 months ago

  • Milestone Future Release deleted
  • Resolution set to invalid
  • Status changed from new to closed

Login messages are filterable since [4339] and [10634]: tags/3.5.2/wp-login.php#L104.

Login errors are filterable since [24179]: trunk/wp-login.php?rev=24179#L687.

Note: See TracTickets for help on using tickets.