Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#10740 closed enhancement (fixed)

Filter the cookie scheme in auth_redirect()

Reported by: nbachiyski Owned by:
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.9
Component: General Keywords: has-patch
Focuses: Cc:


Currently every admin URL requires an auth cookie. While trying to integrate upload on the front-end side I found I needed to be able to run admin code with logged_in cookie, only.

The patch adds a filter for the scheme inside auth_redirect(), the function which makes the actual log-in check.

Attachments (1)

filter-scheme-in-auth-redirect.diff (478 bytes) - added by nbachiyski 9 years ago.

Download all attachments as: .zip

Change History (3)

#1 @ryan
9 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [11905]) Filter the cookie scheme in auth_redirect(). Props nbachiyski. fixes #10740

#2 @Denis-de-Bernardy
9 years ago

  • Milestone changed from Unassigned to 2.9
Note: See TracTickets for help on using tickets.