[wp-trac] [WordPress Trac] #50219: Change in Create Comment JSON API Endpoint Behavior (?)

WordPress Trac noreply at wordpress.org
Thu May 21 18:15:16 UTC 2020


#50219: Change in Create Comment JSON API Endpoint Behavior (?)
-------------------------------+------------------------------
 Reporter:  adamfortuna        |       Owner:  (none)
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  REST API           |     Version:  5.4.1
 Severity:  normal             |  Resolution:  invalid
 Keywords:  reporter-feedback  |     Focuses:  rest-api
-------------------------------+------------------------------
Changes (by adamfortuna):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Hey Timothy! Thanks for the fast response. Since it works for you I went
 down a rabbit hole to figure out what was up - deactivating everything,
 installing from scratch with the Twenty Twenty theme, trying from Postman
 rather than Ruby.

 Eventually I figured it out: at some point my .htaccess file was
 overwritten and with that the rule to pass through authentication was
 removed. Adding this back in there fixed everything:

 {{{
 SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
 }}}

 I probably manually added this when debugging things in the past, and it
 was overwritten during the 5.4, or maybe when I was updating some other
 plugins this week.

 So anyways, thanks for reproducing so I knew it was on my side!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50219#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list