WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 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:

Description

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 6 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 @ryan6 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

comment:2 @Denis-de-Bernardy6 years ago

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