[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:26:57 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
--------------------------------------+-------------------------------
Changes (by peterwilsoncc):

 * status:  new => closed
 * focuses:   => coding-standards
 * resolution:   => wontfix
 * version:  trunk =>
 * milestone:  Awaiting Review =>


Comment:

 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:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list