Changeset 45748
- Timestamp:
- 08/05/2019 07:55:15 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-http-cookie.php
r45580 r45748 38 38 39 39 /** 40 * When the cookie expires. 41 * 42 * @since 2.8.0 43 * @var string 40 * When the cookie expires. Unix timestamp or formatted date. 41 * 42 * @since 2.8.0 43 * @var string|int|null 44 44 */ 45 45 public $expires; … … 81 81 * Raw cookie data as header string or data array. 82 82 * 83 * @type string $name Cookie name.84 * @type mixed $value Value. Should NOT already be urlencoded.85 * @type string|int $expires Optional. Unix timestamp or formatted date. Default null.86 * @type string $path Optional. Path. Default '/'.87 * @type string $domain Optional. Domain. Default host of parsed $requested_url.88 * @type int $port Optional. Port. Default null.89 * @type bool $host_only Optional. host-only storage flag. Default true.83 * @type string $name Cookie name. 84 * @type mixed $value Value. Should NOT already be urlencoded. 85 * @type string|int|null $expires Optional. Unix timestamp or formatted date. Default null. 86 * @type string $path Optional. Path. Default '/'. 87 * @type string $domain Optional. Domain. Default host of parsed $requested_url. 88 * @type int $port Optional. Port. Default null. 89 * @type bool $host_only Optional. host-only storage flag. Default true. 90 90 * } 91 91 * @param string $requested_url The URL which the cookie was set on, used for default $domain … … 247 247 * List of attributes. 248 248 * 249 * @type string $expires When the cookie expires.250 * @type string $path Cookie URL path.251 * @type string $domain Cookie domain.249 * @type string|int|null $expires When the cookie expires. Unix timestamp or formatted date. 250 * @type string $path Cookie URL path. 251 * @type string $domain Cookie domain. 252 252 * } 253 253 */
Note: See TracChangeset
for help on using the changeset viewer.