' .
__( 'The plugin has detected the following issues:. ', 'w3-total-cache' );
$message .= "
\n";
foreach ( $verify_running_result as $cause ) {
$message .= "- $cause
";
}
$message .= "
\n";
$message .= '
' . sprintf(
// Translators: 1 opening HTML link to General Settings page monitoring section, 2 closing HTML link.
__(
'Please review the %1$ssettings%2$s.',
'w3-total-cache'
),
'',
''
) . '
';
$message .= "
\n";
Util_Ui::error_box( $message );
}
}
/**
* Adds custom notes to the W3 Total Cache dashboard related to New Relic.
*
* @param array $notes Existing array of notes to be displayed.
*
* @return array Modified array of notes with New Relic notifications added.
*/
public function w3tc_notes( $notes ) {
$newrelic_notes = Dispatcher::component( 'Extension_NewRelic_AdminNotes' );
$notes = array_merge( $notes, $newrelic_notes->notifications( $this->_config ) );
return $notes;
}
/**
* Verifies the compatibility of the New Relic extension with the current environment.
*
* @param array $verified_list List of verified components and their statuses.
*
* @return array Modified list of verified components with New Relic verification results added.
*/
public function verify_compatibility( $verified_list ) {
$nerser = Dispatcher::component( 'Extension_NewRelic_Service' );
$nr_verified = $nerser->verify_compatibility();
$verified_list[] = '