phpDoc for wp_reset_vars().

git-svn-id: http://svn.automattic.com/wordpress/trunk@12547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2009-12-26 16:48:24 +00:00
parent 4134133d53
commit f419654041
1 changed files with 6 additions and 2 deletions

View File

@ -227,11 +227,15 @@ function url_shorten( $url ) {
}
/**
* {@internal Missing Short Description}}
* Resets global variables based on $_GET and $_POST
*
* This function resets global variables based on the names passed
* in the $vars array to the value of $_POST[$var] or $_GET[$var] or ''
* if neither is defined.
*
* @since unknown
*
* @param unknown_type $vars
* @param array $vars An array of globals to reset.
*/
function wp_reset_vars( $vars ) {
for ( $i=0; $i<count( $vars ); $i += 1 ) {