[wp-trac] [WordPress Trac] #33413: most PHP classes should be in their own file
WordPress Trac
noreply at wordpress.org
Thu Aug 27 15:32:30 UTC 2015
#33413: most PHP classes should be in their own file
----------------------------+-----------------------------
Reporter: wonderboymusic | Owner: wonderboymusic
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.4
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: dev-feedback | Focuses:
----------------------------+-----------------------------
Comment (by wonderboymusic):
`WP_Http` is the only class loading that was "moved". Everything else
loads from the exact same place. The internals of classes in the `class-
http.php` pre-4.4 require some functions from `http.php`, like
`wp_http_validate_url()` - so loading just the class in a strange
environment where someone thought these files are sandboxed modules would
have broken in the right scenario anyway, once it reached one of those
functions that wasn't loaded.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33413#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list