dbc0c5ab85
Some sites don't have permalinks enabled (e.g. local dev environments) and can't use the WC site API functionality. The `rest_get_url_prefix` elsewhere is only used in permalink context (e.g. `get_rest_url` uses it conditionally), while `$wp->query_vars` are always populated, even in rewrite condition, thus making them more accessible. |
||
---|---|---|
.. | ||
rest-api/endpoints | ||
class-wc-wccom-site-installer-requirements-check.php | ||
class-wc-wccom-site-installer.php | ||
class-wc-wccom-site.php |