Steps to reproduce the issue
Run the latest version of Jetpack and WP on a multi site withe the sub site setup.
- have the following constants
define( 'WP_SITEURL', 'https://example.com' );
define( 'WP_HOMEURL', 'https://example.com' );
What I expected
That the sites would work as expected when interactiing with the API.
What happened instead
The sites returned the error jsonAPI not found.
the siteurl for the subsites was being synced as the main sites url.
cc @ebinnion.
Note that
define( 'JETPACK_SYNC_USE_RAW_URL', false );
fixed the issue for me.
Steps to reproduce the issue
Run the latest version of Jetpack and WP on a multi site withe the sub site setup.
What I expected
That the sites would work as expected when interactiing with the API.
What happened instead
The sites returned the error jsonAPI not found.
the siteurl for the subsites was being synced as the main sites url.
cc @ebinnion.
Note that
define( 'JETPACK_SYNC_USE_RAW_URL', false );fixed the issue for me.