[wp-meta] [Making WordPress.org] #7900: Add `hash` as a required extension for 6.8
Making WordPress.org
noreply at wordpress.org
Tue Feb 4 01:24:22 UTC 2025
#7900: Add `hash` as a required extension for 6.8
--------------------------+---------------------
Reporter: johnbillion | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone:
Component: API | Resolution:
Keywords: |
--------------------------+---------------------
Comment (by dd32):
Definitely onboard with adding a `extensions_required` field, although
generally core only ends up requiring extensions that are installed on
near-100% of sites, with polyfills otherwise.
Technically `pcre` is an extension, although I'm not sure if it can be
disabled. It appears to be installed on 100% of sites though (Same as
JSON). `hash` is on something like 99.99997% of sites, and `mysqli` that's
on 99.998% of sites.
That does make me question if the maintenance burden / minute extra
bandwith / extra core logic is really worth it when it might ultimately
only ever affect only a handful of sites. The core bootstrap / upgrade-
prevention checks are probably enough.
That might change if we ever move to require an extension that's installed
on a smaller set of sites, for example, `zip` that's only on 92.5% of
sites.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/7900#comment:3>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list