[wp-meta] [Making WordPress.org] #7860: Credits API: update sha256 hashing algorithm
Making WordPress.org
noreply at wordpress.org
Wed Dec 18 01:25:06 UTC 2024
#7860: Credits API: update sha256 hashing algorithm
-----------------------------+-----------------------
Reporter: haozi | Owner: dd32
Type: feature request | Status: accepted
Priority: high | Milestone:
Component: API | Resolution:
Keywords: has-patch |
-----------------------------+-----------------------
Changes (by dd32):
* owner: (none) => dd32
* status: new => accepted
Comment:
Replying to [comment:3 SergeyBiryukov]:
> At a glance, we might need to only return SHA-256 URLs for WordPress
6.8-alpha or later (as per [WP59532]), and still return MD5 URLs for older
WP versions.
Turns out we don't need this at all, we can just return a sha256 I believe
and core will treat it as an md5, which will pass straight through to
Gravatar.
[attachment:"7860.2.diff"] so it's much simpler, similar to the original
patch here, but a little cleaner.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/7860#comment:5>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list