Changeset 10565 for trunk/wp-includes/http.php
- Timestamp:
- 02/12/2009 08:44:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/http.php
r10563 r10565 1376 1376 $this->name = $name; 1377 1377 $this->value = urldecode( $value ); 1378 array_shift( $pairs ); 1378 array_shift( $pairs ); //Removes name=value from items. 1379 1379 1380 1380 // Set everything else as a property 1381 1381 foreach ( $pairs as $pair ) { 1382 if ( empty($pair) ) //Handles the cookie ending in ; which results in a empty final pair 1383 continue; 1382 1384 list( $key, $val ) = explode( '=', $pair ); 1383 1385 $key = strtolower( trim( $key ) );
Note: See TracChangeset
for help on using the changeset viewer.