Skip to content

Instantly share code, notes, and snippets.

@martijngastkemper martijngastkemper/ajax.php
Last active Aug 29, 2015

Embed
What would you like to do?
Fixes WordPress plugin "File Un-Attach" when WordPress is installed in "different-dir"
# Change
require_once '../../../wp-load.php';
# into
require_once '../../../different-dir/wp-load.php';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.