[wp-trac] [WordPress Trac] #33161: Create a standard for defining and identifying site environment
WordPress Trac
noreply at wordpress.org
Tue Jun 9 12:05:01 UTC 2020
#33161: Create a standard for defining and identifying site environment
--------------------------------------+-----------------------------
Reporter: krogsgard | Owner: SergeyBiryukov
Type: enhancement | Status: reopened
Priority: normal | Milestone: 5.5
Component: Options, Meta APIs | Version: 4.2
Severity: normal | Resolution:
Keywords: needs-dev-note has-patch | Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* keywords: needs-dev-note => needs-dev-note has-patch
Comment:
In [attachment:33161.diff]:
* Rename `wp_approved_environment_types` to just `wp_environment_types`.
* Introduce `WP_ENVIRONMENT_TYPES` system variable and constant to
complement the filter.
* Correct the argument type for the `wp_environment_types` filter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33161#comment:42>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list