Skip to content

Instantly share code, notes, and snippets.

@alexkingorg
Created April 23, 2014 15:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexkingorg/11220299 to your computer and use it in GitHub Desktop.
Save alexkingorg/11220299 to your computer and use it in GitHub Desktop.
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