Skip to content

Conversation

@ocean90
Copy link
Member

@ocean90 ocean90 commented Jun 11, 2022

$domain should be a string and not null to avoid the PHP 8.2 deprecation: setcookie():
Passing null to parameter #5 ($domain) of type string is deprecated

Introduced in b343d48 / https://core.trac.wordpress.org/changeset/29478.

Trac ticket: https://core.trac.wordpress.org/ticket/54914


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

@SergeyBiryukov
Copy link
Member

Thanks for the PR! Merged in https://core.trac.wordpress.org/changeset/53490.

@ocean90 ocean90 deleted the fix/54914 branch June 12, 2022 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants