Fixed unfurls render in master style, not the visitor's style

Xon

Well-known member
Affected version
2.2.6
unfurl.php never sets up the templater to have a non-null style, which means the master template is used instead of the visitor's style (either default or explicitly set). Additionally the 'xf' default template argument is not present.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.7).

Change log:
When unfurling URLs using unfurl.php ensure we're using the correct style for the user and passing in the default template params.
There may be a delay before changes are rolled out to the XenForo Community.
 
I do not know if it is related to the above, but after upgrading to 2.2.7, unfurling on my XenForo forum has stopped working for links from some sites, while it still works for links from other sites. What could be the cause?
 
There’s an unfurl testing tool in the Tools section of the Admin control panel.

That should shed some light and if help is still required after that post in a new troubleshooting thread as it probably isn’t related to this bug.
 
Back
Top Bottom