Skip to:
Content

BuddyPress.org

Changes between Version 2 and Version 3 of Ticket #7156, comment 8


Ignore:
Timestamp:
06/23/2019 11:09:35 AM (5 years ago)
Author:
imath
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7156, comment 8

    v2 v3  
    1111- update the class autoloader for the REST Controllers.
    1212- 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.
    1414
    1515On a side note I had to edit a unit test that was deleting the `$_SERVER['SERVER_NAME']` global. Feedbacks welcome 😉