Make WordPress Core


Ignore:
Timestamp:
11/07/2021 01:35:52 AM (3 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Move wp-includes/class-http.php to wp-includes/class-wp-http.php.

This renames the file containing the WP_Http class to conform to the coding standards.

This commit also includes:

  • A new class-http.php that includes the new file, for anyone that may've been including the file directly.
  • Replaces references to the old filename with the new filename.

Follow-up to [8516], [13274], [33748].

Fixes #54389. See #53359.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-xmlrpc-server.php

    r51590 r52026  
    69246924        $remote_ip = preg_replace( '/[^0-9a-fA-F:., ]/', '', $_SERVER['REMOTE_ADDR'] );
    69256925
    6926         /** This filter is documented in wp-includes/class-http.php */
     6926        /** This filter is documented in wp-includes/class-wp-http.php */
    69276927        $user_agent = apply_filters( 'http_headers_useragent', 'WordPress/' . get_bloginfo( 'version' ) . '; ' . get_bloginfo( 'url' ), $pagelinkedfrom );
    69286928
Note: See TracChangeset for help on using the changeset viewer.