Skip to content

Instantly share code, notes, and snippets.

@martijngastkemper
Last active August 29, 2015 13:56
Show Gist options
  • Save martijngastkemper/9208729 to your computer and use it in GitHub Desktop.
Save martijngastkemper/9208729 to your computer and use it in GitHub Desktop.
Fixes WordPress plugin "PostMash Custom" when WordPress is installed in "different-dir"
new Ajax('../wp-content/plugins/postmash-custom/saveList.php', {
new Ajax('/wp-content/plugins/postmash-custom/saveList.php', {
$root = dirname(dirname(dirname(dirname(__FILE__))));
$root = '../../../installation-dir';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment