[wp-trac] [WordPress Trac] #54504: Update Requests library to version 2.0.0
WordPress Trac
noreply at wordpress.org
Tue Nov 29 22:45:13 UTC 2022
#54504: Update Requests library to version 2.0.0
-------------------------------------------------+-------------------------
Reporter: jrf | Owner:
| hellofromTonya
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: Future
| Release
Component: External Libraries | Version:
Severity: normal | Resolution:
Keywords: php80 php81 has-patch has-unit- | Focuses:
tests early early-like-actually-early |
-------------------------------------------------+-------------------------
Comment (by SergeyBiryukov):
The approach from comment:85 sounds good 👍
Replying to [comment:85 hellofromTonya]:
> Retaining the original files with redirect code (i.e. the strategy
@SergeyBiryukov did with other files, such as renaming `wp-db.php` to
`class-wpdb.php` #56268 / [53749], [53750], [53755], [53756]).
See comment:33:ticket:47632 for a general procedure with these renamings.
I think the last two commits are specific to the `wpdb` class, as it can
be loaded outside of WordPress core, where `ABSPATH`, `INC`, and
`deprecated_file()` may not be defined, so those commits addressed that.
Generally, these are all safe to use, see [45678] for example.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54504#comment:86>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list