[wp-trac] [WordPress Trac] #27130: wp_signon() wrong PHPDoc
WordPress Trac
noreply at wordpress.org
Fri Feb 14 23:24:14 UTC 2014
#27130: wp_signon() wrong PHPDoc
--------------------------+-------------------
Reporter: tivnet | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.9
Component: Users | Version:
Severity: normal | Resolution:
Keywords: | Focuses: docs
--------------------------+-------------------
Comment (by SergeyBiryukov):
Seems like the default value of `$credentials` should be an array.
We use strict comparison for `$secure_cookie` though:
https://core.trac.wordpress.org/browser/tags/3.8.1/src/wp-
includes/user.php#L43
Could probably use `null` instead, but need to be careful with backwards
compatibility, so I guess it's safer to keep it a string. The `@param`
description is correct, it's treated as a boolean value.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27130#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list