Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
RAMP Session Token Debugging
In classes/deploy.class.php find this code on or around line 426:
<p>'.__('The batch session token does not match.', 'cf-deploy').'</p>
Replace that with:
<p>'.sprintf(__('The batch session token does not match. Expected "%s", received "%s"', 'cf-deploy'), esc_html($session_token), esc_html($args['batch_session_token'])).'</p>
This will show you the expected and received tokens.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment