[wp-trac] [WordPress Trac] #42807: Add filter to modfiy wp.api versionString

WordPress Trac noreply at wordpress.org
Fri Dec 8 19:06:07 UTC 2017


#42807: Add filter to modfiy wp.api versionString
--------------------------+------------------------------
 Reporter:  mkaz          |       Owner:  adamsilverstein
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  javascript
--------------------------+------------------------------

Comment (by mkaz):

 @adamsilverstein I tried that, but unfortunately changing the schema
 wasn't successful.

 The call to our schema at `wp/v2/sites/{blogId}` requires to be an
 authenticated request, typically handled by Javascript/Cookies but in
 Gutenberg it is being made server-side thus it is unauthenticated.

 Another potential change we would need to do on WPCOM API.

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


More information about the wp-trac mailing list