Fixed Reference to invalid data attribute

TickTackk

Well-known member
Affected version
2.2.1
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
 
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 Bottom