Closed snarfed closed 6 years ago
hi! looks like the buttons that send people to bridgy to sign up hard code the wordpress admin URL path as /wp-admin/...:
/wp-admin/...
https://github.com/dshanske/bridgy-publish/blob/master/includes/class-bridgy-config.php#L322
...but many wordpress sites have it at a different path. eg. mine is at /w/wp-admin/... this makes the bridgy signup flow 404 when it gets redirected back to the wordpress site. (originally mentioned back in https://github.com/dshanske/bridgy-publish/issues/37#issuecomment-315799817.)
/w/wp-admin/...
i think you can fix it by using admin_url() instead of hard-coding /wp-admin/.
admin_url()
/wp-admin/
Funny you mention this, I found this bug last night and submitted a pull request :smile:
hi! looks like the buttons that send people to bridgy to sign up hard code the wordpress admin URL path as
/wp-admin/...
:https://github.com/dshanske/bridgy-publish/blob/master/includes/class-bridgy-config.php#L322
...but many wordpress sites have it at a different path. eg. mine is at
/w/wp-admin/...
this makes the bridgy signup flow 404 when it gets redirected back to the wordpress site. (originally mentioned back in https://github.com/dshanske/bridgy-publish/issues/37#issuecomment-315799817.)i think you can fix it by using
admin_url()
instead of hard-coding/wp-admin/
.