Improved the description for DOMDocument in system status
This commit is contained in:
parent
3a85b8cf95
commit
4065f56376
|
@ -187,13 +187,13 @@ If enabled on your server, Suhosin may need to be configured to increase its dat
|
|||
|
||||
// DOMDocument
|
||||
$posting['dom_document']['name'] = 'DOMDocument';
|
||||
$posting['dom_document']['help'] = '<a href="#" class="help_tip" data-tip="' . esc_attr__( 'HTML email use it to generate the inline CSS in templates, some shipping methods can also need DOMDocument to work.', 'woocommerce' ) . '">[?]</a>';
|
||||
$posting['dom_document']['help'] = '<a href="#" class="help_tip" data-tip="' . esc_attr__( 'HTML/Multipart emails use DOMDocument to generate inline CSS in templates.', 'woocommerce' ) . '">[?]</a>';
|
||||
|
||||
if ( class_exists( 'DOMDocument' ) ) {
|
||||
$posting['dom_document']['success'] = true;
|
||||
} else {
|
||||
$posting['dom_document']['success'] = false;
|
||||
$posting['dom_document']['note'] = sprintf( __( 'Your server does not have the <a href="%s">DOMDocument</a> class enabled - HTML and Multipart emails will not work and some shipping plugins which use DOMDocument may not work as expected.', 'woocommerce' ), 'http://php.net/manual/en/class.domdocument.php' ) . '</mark>';
|
||||
$posting['dom_document']['note'] = sprintf( __( 'Your server does not have the <a href="%s">DOMDocument</a> class enabled - HTML/Multipart emails, and also some extensions, will not work without DOMDocument.', 'woocommerce' ), 'http://php.net/manual/en/class.domdocument.php' ) . '</mark>';
|
||||
}
|
||||
|
||||
// WP Remote Post Check
|
||||
|
|
Loading…
Reference in New Issue