Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Feature/wp setcookie#687

Closed
jonshipman wants to merge 4 commits into
WordPress:masterfrom
jonshipman:feature/wp_setcookie
Closed

Feature/wp setcookie#687
jonshipman wants to merge 4 commits into
WordPress:masterfrom
jonshipman:feature/wp_setcookie

Conversation

@jonshipman

Copy link
Copy Markdown

Created a function for wp_setcookie acting as a wrapper for an action called wp_setcookie which is hooked to a default action function named... _wp_setcookie. Lays a foundation to implement 37000. Doesn't outright fix the issue, but should retain existing functionality with little fuss while letting devs implement their own solutions in the interim.

https://core.trac.wordpress.org/ticket/37000


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.

@johnbillion

Copy link
Copy Markdown
Member

Closing this in favour of #12444, the old wp_setcookie() function can't be reused because its parameters and purpose are different.

@johnbillion johnbillion closed this Jul 7, 2026
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