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

WordPress Trac noreply at wordpress.org
Fri Dec 8 15:03:45 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):

 Thanks @adamsilverstein for the suggestions - I've tried modifying the
 versionString in numerous other spots and it only seems to work within
 Gutenberg when modified at the source so it is picked up on initial load.

 @rmccue @dd32 Agreed, if `sites/blodId` were a prefix instead of in the
 middle, it would be easier. I'm not sure about changing the WPCOM API.

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


More information about the wp-trac mailing list