Added DOMDocument item in system status
This commit is contained in:
parent
e778d26764
commit
7714901fd5
|
@ -185,6 +185,17 @@ If enabled on your server, Suhosin may need to be configured to increase its dat
|
|||
$posting['soap_client']['note'] = sprintf( __( 'Your server does not have the <a href="%s">SOAP Client</a> class enabled - some gateway plugins which use SOAP may not work as expected.', 'woocommerce' ), 'http://php.net/manual/en/class.soapclient.php' ) . '</mark>';
|
||||
}
|
||||
|
||||
// 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>';
|
||||
|
||||
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 Muntipart 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>';
|
||||
}
|
||||
|
||||
// WP Remote Post Check
|
||||
$posting['wp_remote_post']['name'] = __( 'Remote Post', 'woocommerce');
|
||||
$posting['wp_remote_post']['help'] = '<a href="#" class="help_tip" data-tip="' . esc_attr__( 'PayPal uses this method of communicating when sending back transaction information.', 'woocommerce' ) . '">[?]</a>';
|
||||
|
|
Loading…
Reference in New Issue