[wp-trac] [WordPress Trac] #49991: PHP Warnings on invalid requests to wp-json/oembed/1.0/embed

WordPress Trac noreply at wordpress.org
Thu Apr 30 01:19:08 UTC 2020


#49991: PHP Warnings on invalid requests to wp-json/oembed/1.0/embed
--------------------------+------------------------------
 Reporter:  dd32          |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Embeds        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  rest-api
--------------------------+------------------------------

Comment (by dd32):

 ahah! that explains it, thanks @TimothyBlynJacobs

 I've updated the PR and tested it locally, it seems to do the trick :)

 (I'll throw this over to you to commit if you want)

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


More information about the wp-trac mailing list