Skip to content

Instantly share code, notes, and snippets.

@ryanhellyer
Created October 7, 2012 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanhellyer/3848488 to your computer and use it in GitHub Desktop.
Save ryanhellyer/3848488 to your computer and use it in GitHub Desktop.
Sanitized php_self form
<form action="<?php echo esc_url( $_SERVER['PHP_SELF'] ); ?>">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment