[wp-trac] [WordPress Trac] #44052: Missing parameter type for `login_header()`
WordPress Trac
noreply at wordpress.org
Mon Jul 16 14:09:25 UTC 2018
#44052: Missing parameter type for `login_header()`
--------------------------------------+-----------------------------
Reporter: desrosj | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.9.8
Component: Login and Registration | Version:
Severity: normal | Resolution: fixed
Keywords: good-first-bug has-patch | Focuses: docs
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"43457" 43457]:
{{{
#!CommitTicketReference repository="" revision="43457"
Login and Registration: Set a better default value for `$wp_error`
parameter in `login_header()`.
To prevent someone from passing a string (which would not be added to a
new `WP_Error` instance), check for `is_wp_error()` explicitly.
Props desrosj, chetan200891, spyderbytes, lbenicio,
sebastien at thivinfo.com, abdullahramzan.
Fixes #44052.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44052#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list