The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Why IS this working? Re: Why IS this working?


Did you by chance add the Thanks page as a custom page in the WordPress admin? I’m not positive on the inner workings of WordPress but it seems to me the server (WordPress) might be replacing the location of the php file with an existing page that uses that template page.

It’s not Javascript because the form action sources stay the same even if it’s disabled and still exhibit the peculiar behavior Bob talks about. Chris’s offline demo doesn’t show this happening (with MAMP enabled) so it must be something one of your plugins is doing or WordPress is doing it for you to attempt to mask the PHP location. As long as your original code says the right thing then I wouldn’t worry about it.