Fixed Reference to invalid data attribute

Affected version
2.2.1

TickTackk

Well-known member
Not 100% sure but shouldn't this:
PHP:
    protected $overlayClickOptions = [
        'data-cache',
        'data-overlay-config',
        'data-force-flash-messages',
        'data-follow-redirects'
    ];
be
PHP:
    protected $overlayClickOptions = [
        'data-cache',
        'data-overlay-config',
        'data-force-flash-message',
        'data-follow-redirects'
    ];
In src/XF/Template/Templater.php because I see data-force-flash-message being used in a lot of places but nowhere do I see data-force-flash-messages
 

XF Bug Bot

XenForo bug fixer bot
Staff member
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.2).

Change log:
Fix typo in overlay click options list.
There may be a delay before changes are rolled out to the XenForo Community.
 
Top