Use some single quotes in the administrator/language/en-GB/en-GB.plg_quickicon_privacycheck.ini
administrator/language/en-GB/en-GB.plg_quickicon_privacycheck.ini
Singlequotes should not be escaped, as done correctly for extensionupdate strings.
By changing true to false in
true
false
$options = array( 'plg_quickicon_privacycheck_url' => Uri::base() . $privacy . '&view=requests&filter[status]=1&list[fullordering]=a.requested_at ASC', 'plg_quickicon_privacycheck_ajax_url' => Uri::base() . $privacy . '&task=getNumberUrgentRequests&' . $token, 'plg_quickicon_privacycheck_text' => array( "NOREQUEST" => Text::_('PLG_QUICKICON_PRIVACYCHECK_NOREQUEST', true), "REQUESTFOUND" => Text::_('PLG_QUICKICON_PRIVACYCHECK_REQUESTFOUND', true), "REQUESTFOUND_MESSAGE" => Text::_('PLG_QUICKICON_PRIVACYCHECK_REQUESTFOUND_MESSAGE', true), "REQUESTFOUND_BUTTON" => Text::_('PLG_QUICKICON_PRIVACYCHECK_REQUESTFOUND_BUTTON', true), "ERROR" => Text::_('PLG_QUICKICON_PRIVACYCHECK_ERROR', true), ) );
It solves the issue. (taking off true would also work as $jsSafe is false by default)). Looks weird to me as it is not used this way for extension update.
$jsSafe
@mbabker ?
will make pr
closing as we have patch #22557
By changing
truetofalseinIt solves the issue. (taking off
truewould also work as$jsSafeis false by default)).Looks weird to me as it is not used this way for extension update.
@mbabker ?