URL generation problem with redirect url & site_url

Created on 19 April 2024, over 1 year ago

Problem/Motivation

We have a multisitesetup with urls like:

www.example.com/site1/
www.example.com/site2/

inside of "FacebookPostSettingsForm.php" we have: "$current_request->getSchemeAndHttpHost()"
This returns "www.example.com" but not the full base URL of the website.

"$GLOBALS['base_url']" as in the Twitter plugin should/could be used.

Steps to reproduce

Have a multisite setup with urls like tha above.

Proposed resolution

Get the Base url from the Globals var.

Remaining tasks

Review merge request

πŸ› Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium mschudders

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024