Opened 16 years ago
Closed 13 years ago
#12657 closed defect (bug) (invalid)
wp_signon() adds one filter per call
| Reported by: | hakre | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 3.0 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
If wp_signon() is called multiple times, the filter will be added multiple times. Next to this a lot of the function seems to be just typed in in the wish that it does work instead of doing things properly. See quote: "ugly hack to pass this to wp_authenticate_cookie" or leftover TODO markings and the like.
Should be put in order prior to next release.
Attachments (1)
Change History (7)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Maybe some code example from that function (too much paranthesis and instructions):
( 0 !== strpos($redirect_to, 'https') ) && ( 0 === strpos($redirect_to, 'http') )(taken from an if clause therein)