Save on edit icon set goes wrong
-
I’m using the plugin in a local dockerized setup, and when saving the “Edit icon set” form, I got redirected (after a successful POST) to “https://_/wp-admin/admin….”. It seems that the local domain could not be fetched correctly.
Some debugging got me to the curPageURL function in accesspress-social-icons.php where I replaced $_SERVER[‘SERVER_NAME’] by $_SERVER[‘HTTP_HOST’]. After this change submission flow was working perfectly.
On production everything went OK with the default code, so it has something to do with Docker, but I thought it wouldn’t harm anyone to share this ??
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Save on edit icon set goes wrong’ is closed to new replies.