[wp-trac] [WordPress Trac] #22280: Correcting class-http.php to use WordPress naming conventions
WordPress Trac
noreply at wordpress.org
Thu Oct 25 21:46:59 UTC 2012
#22280: Correcting class-http.php to use WordPress naming conventions
-------------------------+----------------------
Reporter: danhgilmore | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Formatting | Version: trunk
Severity: minor | Resolution: wontfix
Keywords: has-patch |
-------------------------+----------------------
Changes (by nacin):
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
While this is our convention, it is too late for these to change, as these
are all publicly accessible methods that plugins may be referencing
directly. Note that renaming the methods themselves wouldn't be enough
either way, as we'd need to update where they are called as well.
We *could* solve this with `__call()` but some of these are static
methods, which means we'd need `callStatic()` in PHP 5.3. Ultimately,
using magic methods to rename a few methods for standards reasons is a bit
overkill anyway.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22280#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list