[wp-hackers] how about <form action="">?

Viper007Bond viper at viper007bond.com
Wed Feb 4 08:17:27 GMT 2009

What if you're at script.php?foo=bar   ? You don't want the form coming back
to that URL after submitting it if it was saying like "X number of comments
deleted" for example.

On Tue, Feb 3, 2009 at 6:31 PM, <jidanni at jidanni.org> wrote:

> Gentlemen, I notice several places where the code makes <form
> action="..."> URIs where the result would just be the default URI anyway.
> Perhaps one could just get away with <form action=""> in those cases?
> http://www.thefutureoftheweb.com/blog/use-empty-form-action-submit-to-current
> http://www.google.com/search?q=HTML+form+action+empty
> http://www.carehart.org/blog/client/index.cfm/2007/1/2/form_self_post
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

Viper007Bond | http://www.viper007bond.com/ | http://www.finalgear.com/

More information about the wp-hackers mailing list