Take the 2-minute tour ×  I'm developing a plugin with the
latest version of WordPress (3.4.2) locally (XAMPP 1.7.7 [PHP:
5.3.8]) and for some reason the links are not working within the
plugin. I just have a simple delete link that links to a
'delete-gallery.php' file from within the plugin admin page.
This file (delete-gallery.php) only calls a function to delete
the record from the database and redirects back to the page that
called it (the plugin admin page). Simple enough. But, when the
link is clicked I get directed to XAMPP root
(localhost:8080/xampp) and not the requested destination
(delete-gallery.php) for some reason.  $url =
plugins_url('includes/delete-gallery.php', _FILE_); echo '<a hre
f="'.$url.'?gallery_id='.$gallery['gallery_id'].'">Delete</a>';
I know the hrefs' path is correct on the link because it shows
up in the status bar on hover, but for some reason it's not
locating the file locally on submission. If I set the
destination to somewhere external (ie. google.com, etc) it works
fine, bu