Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#9320 closed defect (bug) (fixed)

always call wp_authenticate from AtomPub

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

Description

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

Download all attachments as: .zip

Change History (4)

#1 @wnorris
18 years ago

  • Cc wnorris added

#2 @westi
18 years ago

  • Cc westi added

#3 @ryan
18 years ago

  • Resolution → fixed
  • Status new → closed

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

Note: See TracTickets for help on using tickets.