mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-16 05:03:33 +09:00
- WPCS for defined constants;
* um_url -> UM_URL * um_path -> UM_PATH * um_plugin -> UM_PLUGIN * ultimatemember_version -> UM_VERSION * ultimatemember_plugin_name -> UM_PLUGIN_NAME
This commit is contained in:
@@ -538,7 +538,7 @@ if ( ! class_exists( 'um\core\rest\API' ) ) {
|
||||
|
||||
case 'xml' :
|
||||
|
||||
require_once um_path . 'includes/lib/array2xml.php';
|
||||
require_once UM_PATH . 'includes/lib/array2xml.php';
|
||||
$xml = \Array2XML::createXML( 'um', $this->data );
|
||||
echo $xml->saveXML();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user