WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Passing arguments when all plugin files are in one directory

[Resolved] Passing arguments when all plugin files are in one directory

  • I’ve put all my plugin files in one directory (e.g., “/wp-content/plugins/my-plugin”) and can have the files link to each other by doing something like


    <a href="post.php?page=/my-plugin/scriptA.php">link
    </a>

    That works fine, but if I want to attach some arguments like this


    <a href="post.php?page=/my-plugin/scriptA.php?id=38&action=delete">link
    </a>

    I get a blank page with the error: “Cannot load /my-plugin/scriptA.php?id=38.”

    I’ve tried using the HTML entities in the link instead of just a ? and &, but that didn’t change anything.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Passing arguments when all plugin files are in one directory’ is closed to new replies.
Skip to toolbar