Skip to content

when loading the block under a non standard domain name, the drop down fields in member directory/iframe block settings fail #47

@asirota

Description

@asirota

If you load the site under a non standard "home page" like https://mydomain.com/~homepage, the wawp JSON api calls fail

The block calls these JSON calls when trying to load one of the drop downs:

https://920.cvdhosting.com/wp-json/wawp/v1/contacts/fields/

rather than

https://920.cvdhosting.com/~mississaugapotte/wp-json/wawp/v1/contacts/fields/

The block plugin is probably retrieving the host name but not the full "home directory" of the website

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions