[wp-trac] [WordPress Trac] #63665: Rename WP_Http_Cookie methods to snake_case to follow coding standards
WordPress Trac
noreply at wordpress.org
Thu Jul 3 22:30:43 UTC 2025
#63665: Rename WP_Http_Cookie methods to snake_case to follow coding standards
--------------------------------------+-------------------------------
Reporter: vxo2021 | Owner: (none)
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: HTTP API | Version:
Severity: normal | Resolution: wontfix
Keywords: good-first-bug has-patch | Focuses: coding-standards
--------------------------------------+-------------------------------
Comment (by vxo2021):
Replying to [comment:2 peterwilsoncc]:
> While you are correct that the coding standards require snake case
method names, this is not something we can modify in the code base for
existing code as it will break backwards compatibility for any developers
calling the methods directly.
>
> The WordPress project is more rigorous about enforcing the naming
convention for new callables than when these methods were introduced in
2.8.0. While the ideal would be for all code to follow the standards,
WordPress prioritizes backward compatibility over that ideal.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63665#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list