/home/vianto5/cititower.mx/wp-content/plugins/sitepress-multilingual-cms/res/js
Edit: /home/vianto5/cititower.mx/wp-content/plugins/sitepress-multilingual-cms/res/js/ate-widget.php (1476B)
create();
$appData = $ateConsoleSection->getAppData();
$app = $appData['app'];
$constructor = $appData['constructor'];
$isJs = $appData['isJs'];
$errors = $appData['errors'];
$response = $appData['response'];
foreach ( $appData['headers'] as $header ) {
header( $header );
}
if ( WP_DEBUG ) {
if ( count( $errors ) > 0 ) {
$errors[] = ':: URL:' . PHP_EOL . PHP_EOL . $ateConsoleSection->getWidgetScriptUrl();
if ( is_wp_error( $response ) ) {
$errors[] = ':: Error:' . PHP_EOL . PHP_EOL . var_export( $response, true );
} else {
$errors[] = ':: Response:' . PHP_EOL . PHP_EOL . var_export( $response['response'], true );
}
}
if ( $errors ) {
if ( $isJs ) {
echo '/** ' . PHP_EOL;
}
echo join( PHP_EOL . PHP_EOL, $errors );
if ( $isJs ) {
echo '*/' . PHP_EOL;
}
}
}
if ( ! $errors ) {
echo <<