[wp-trac] [WordPress Trac] #56751: Add wp_get_environment_type() to update.php checks (core, plugins, themes)
WordPress Trac
noreply at wordpress.org
Fri Oct 7 00:54:39 UTC 2022
#56751: Add wp_get_environment_type() to update.php checks (core, plugins, themes)
------------------------------------------------+--------------------------
Reporter: johnjamesjacoby | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Upgrade/Install | Version: 5.5
Severity: normal | Resolution:
Keywords: 2nd-opinion needs-patch needs-docs | Focuses:
------------------------------------------------+--------------------------
Comment (by dd32):
Strictly speaking, generally, local development sites should already be
excluded through some heuristics in the pre-filter for the stat
aggregations.
Sending the environment type with update API requests would however make
that easier, as it could discard any non-production sites much earlier in
the filtering.
I would be shocked if non-production environment type values account for
more than a tiny fraction of a percentage point of sites in the aggregated
stats though.
No meta ticket required at this point in time, if the environment type
gets added to the payload that's sent, open a meta ticket at that point in
time for API implementation.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56751#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list