[wp-trac] [WordPress Trac] #46550: Uncaught TypeError: setcookie() expects parameter 5 to be string, bool given in...
WordPress Trac
noreply at wordpress.org
Mon Mar 18 05:18:36 UTC 2019
#46550: Uncaught TypeError: setcookie() expects parameter 5 to be string, bool
given in...
----------------------------+-----------------------------
Reporter: kmvan | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bootstrap/Load | Version: trunk
Severity: critical | Keywords: needs-patch
Focuses: |
----------------------------+-----------------------------
https://github.com/WordPress/WordPress/blob/5e62e6b2034516c0bb366f808673752030d2d2b7
/wp-includes/default-constants.php#L303
{{{#!php
<?php
/**
* @since 2.0.0
*/
if ( ! defined( 'COOKIE_DOMAIN' ) ) {
define( 'COOKIE_DOMAIN', false ); // The value maybe '',
not boolean
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46550>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list