Skip to content

Instantly share code, notes, and snippets.

@alexkingorg
Created April 23, 2014 15:36
Show Gist options
  • Select an option

  • Save alexkingorg/11220299 to your computer and use it in GitHub Desktop.

Select an option

Save alexkingorg/11220299 to your computer and use it in GitHub Desktop.

Revisions

  1. alexkingorg created this gist Apr 23, 2014.
    9 changes: 9 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    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.