mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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:
parent
4134133d53
commit
f419654041
@ -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
|
* @since unknown
|
||||||
*
|
*
|
||||||
* @param unknown_type $vars
|
* @param array $vars An array of globals to reset.
|
||||||
*/
|
*/
|
||||||
function wp_reset_vars( $vars ) {
|
function wp_reset_vars( $vars ) {
|
||||||
for ( $i=0; $i<count( $vars ); $i += 1 ) {
|
for ( $i=0; $i<count( $vars ); $i += 1 ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user