Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#9320 closed defect (bug) (fixed)

always call wp_authenticate from AtomPub

Reported by: wnorris Owned by: josephscott
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.8
Component: AtomPub Keywords: has-patch
Focuses: Cc:


The included patch makes a small change to the AtomPub code which causes it to always attempt user authentication via wp_authenticate(). Previously, it was only making this call if the BasicAuth server parameters were set. In order for OAuth (or any alternate authentication mechanism) to work wp_authenticate() must always be called in order to give them a chance to authenticate the request.

Attachments (1)

wp-app.diff (840 bytes) - added by wnorris 5 years ago.

Download all attachments as: .zip

Change History (4)

wnorris5 years ago

comment:1 wnorris5 years ago

  • Cc wnorris added

comment:2 westi5 years ago

  • Cc westi added

comment:3 ryan5 years ago

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

(In [10771]) Always wp_authenticate in wp-app. Props wnorris. fixes #9320

Note: See TracTickets for help on using tickets.