Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #57341, comment 6


Ignore:
Timestamp:
12/16/2022 05:08:42 PM (2 years ago)
Author:
bjorsch
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57341, comment 6

    initial v1  
    18183. Add a file at `wp-includes/Requests/library/Requests.php` where the existing Autoload code looks for it, which does the `require ABSPATH . WPINC . '/class-requests.php'` bit to load the file from where WordPress has it.
    1919
     20(EDIT: Ah, I see that was already suggested in later replies. That's what I get for replying before reading everything.)
     21
    2022> To be honest, I'm not even sure this _should_ be solved in Core. Plugins which want to continue to use the old class names can do so (and can manually include the `wp-includes/class-requests.php` file), but should expect deprecation notices (which can be silenced).
    2123