Opened 5 years ago
Closed 5 years ago
#54389 closed enhancement (fixed)
Rename class-http.php to class-wp-http.php
| Reported by: | SergeyBiryukov | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.9 |
| Component: | HTTP API | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | coding-standards |
Description
Background: #33413, #34432, #36335, #36618, #47632, #47775.
This follows up on the work that started in #33413 and continued in the subsequent tickets to make sure WP core PHP classes are located in separate files and conform to the naming conventions per WordPress coding standards:
- [45654] renamed
wp-admin/custom-header.phptowp-admin/includes/class-custom-image-header.php. - [45662] renamed
wp-admin/custom-background.phptowp-admin/includes/class-custom-background.php. - [45663] renamed
wp-includes/class-oembed.phptowp-includes/class-wp-oembed.php. - [45678] renamed
wp-includes/date.phptowp-includes/class-wp-date-query.php.
See comment:33:ticket:47632 for a general procedure with these renamings.
The same should be done for the WP_Http class, which currently resides in wp-includes/class-http.php and should be moved to wp-includes/class-wp-http.php.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 52026: