Changeset 38164 for trunk/src/wp-includes/class-wp-http-cookie.php
- Timestamp:
- 07/27/2016 03:31:48 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-http-cookie.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-http-cookie.php
r37492 r38164 217 217 return 'Cookie: ' . $this->getHeaderValue(); 218 218 } 219 220 /** 221 * Retrieves cookie attributes. 222 * 223 * @since 4.6.0 224 * @access public 225 * 226 * @return array { 227 * List of attributes. 228 * 229 * @type string $expires When the cookie expires. 230 * @type string $path Cookie URL path. 231 * @type string $domain Cookie domain. 232 * } 233 */ 234 public function get_attributes() { 235 return array( 236 'expires' => $this->expires, 237 'path' => $this->path, 238 'domain' => $this->domain, 239 ); 240 } 219 241 }
Note: See TracChangeset
for help on using the changeset viewer.