[wp-trac] [WordPress Trac] #48439: Wrong configuration parameter is taken as Rest Api root

WordPress Trac noreply at wordpress.org
Mon Apr 27 18:31:27 UTC 2020


#48439: Wrong configuration parameter is taken as Rest Api root
--------------------------+------------------------
 Reporter:  dlavrenuek    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  REST API      |     Version:  4.4
 Severity:  normal        |  Resolution:  duplicate
 Keywords:  has-patch     |     Focuses:  rest-api
--------------------------+------------------------
Changes (by TimothyBlynJacobs):

 * status:  reopened => closed
 * resolution:   => duplicate


Comment:

 Duplicate of #42869.

 @tbclark3 I would open a separate ticket for that. I think you'd have that
 problem any time WordPress core or a plugin attempts to make a loopback
 request.

 It should also be noted that in most cases "internal" rest requests should
 be done using `rest_do_request` which doesn't perform an actual HTTP
 request.

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


More information about the wp-trac mailing list