'wfPluginUpgrade',
'displayType' => __('Plugin Upgrade', 'wordfence'),
'iconSVG' => '',
'summaryControls' => array(wfView::create('scanner/issue-control-ignore', array('ignoreC' => __('Ignore Update', 'wordfence'))), wfView::create('scanner/issue-control-show-details')),
'detailPairs' => array(
__('Plugin Name', 'wordfence') => '${data.Name}',
__('Current Plugin Version', 'wordfence') => '${data.Version}',
__('New Plugin Version', 'wordfence') => '${data.newVersion}',
null,
__('Details', 'wordfence') => '{{if data.vulnerable}}' . esc_html__('Update includes security-related fixes.', 'wordfence') . '
{{/if}}{{html longMsg}}
' . esc_html__('Click here to update now', 'wordfence') . '.',
null,
__('Plugin URL', 'wordfence') => array('data.PluginURI', '${data.PluginURI}' . __('View', 'wordfence') . ' (' . esc_html__('opens in new tab', 'wordfence') . ')'),
__('Changelog', 'wordfence') => array('data.wpURL', '${data.wpURL}/#developers' . __('View', 'wordfence') . ' (' . esc_html__('opens in new tab', 'wordfence') . ')'),
__('Vulnerability Information', 'wordfence') => array('data.vulnerabilityLink', '${data.vulnerabilityLink}' . __('View', 'wordfence') . ' (' . esc_html__('opens in new tab', 'wordfence') . ')'),
),
'detailControls' => array(
'' . __('Mark as Fixed', 'wordfence') . '',
'' . __('View Updates', 'wordfence') . '',
),
'textOutput' => (isset($textOutput) ? $textOutput : null),
'textOutputDetailPairs' => array(
__('Plugin Name', 'wordfence') => '$data.Name',
__('Current Plugin Version', 'wordfence') => '$data.Version',
__('New Plugin Version', 'wordfence') => '$data.newVersion',
null,
__('Details', 'wordfence') => '$longMsg',
__('Vulnerability Status', 'wordfence') => array('$data.vulnerable', __('Update includes security-related fixes.', 'wordfence')),
null,
__('Plugin URL', 'wordfence') => '$data.PluginURI',
__('Repository URL', 'wordfence') => '$data.wpURL',
__('Vulnerability Information', 'wordfence') => '$data.vulnerabilityLink',
),
))->render();