Changes between Version 2 and Version 3 of Ticket #7156, comment 8
- Timestamp:
- 06/23/2019 11:09:35 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7156, comment 8
v2 v3 11 11 - update the class autoloader for the REST Controllers. 12 12 - add a new method `rest_api_init()` to `BP_Component` and the components having REST controllers. 13 - make sure these methods are only used when the WordPress version of the site is > `4.7.0` and the BP REST plugin is not active.13 - make sure these methods are only used when the WordPress version of the site is >= `4.7.0` and the BP REST plugin is not active. 14 14 15 15 On a side note I had to edit a unit test that was deleting the `$_SERVER['SERVER_NAME']` global. Feedbacks welcome 😉