URL generation problem with redirect url & site_url

Created on 19 April 2024, 5 months ago
Updated 8 August 2024, about 2 months 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