Changeset 12831 for trunk/wp-admin/includes/misc.php
- Timestamp:
- 01/26/2010 06:06:14 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/misc.php
r12752 r12831 246 246 global $$var; 247 247 248 if (!isset( $$var ) ) { 249 if ( empty( $_POST[$var] ) ) { 250 if ( empty( $_GET[$var] ) ) 251 $$var = ''; 252 else 253 $$var = $_GET[$var]; 254 } else { 255 $$var = $_POST[$var]; 256 } 248 if ( empty( $_POST[$var] ) ) { 249 if ( empty( $_GET[$var] ) ) 250 $$var = ''; 251 else 252 $$var = $_GET[$var]; 253 } else { 254 $$var = $_POST[$var]; 257 255 } 258 256 }
Note: See TracChangeset
for help on using the changeset viewer.