WordPress.org

Make WordPress Core

Changes between Version 1 and Version 7 of Ticket #50896


Ignore:
Timestamp:
08/11/2020 05:55:42 PM (10 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #50896

    • Property Component changed from General to Bootstrap/Load
  • Ticket #50896 – Description

    v1 v7  
    1 When first introduced and described on [https://make.wordpress.org/core/2020/07/24/new-wp_get_environment_type-function-in-wordpress-5-5/ the Make blog] by Yoast, the function contained filters. These filters were removed in [https://core.trac.wordpress.org/changeset/48662 48662] because "the function is called too early for any plugins to properly hook into these filters".
     1When first introduced and described on [https://make.wordpress.org/core/2020/07/24/new-wp_get_environment_type-function-in-wordpress-5-5/ the Make blog] by Yoast, the function contained filters. These filters were removed in [48662] because "the function is called too early for any plugins to properly hook into these filters".
    22
    33The only _current_ use of `wp_get_environment_type()` by core is for setting the `WP_DEBUG` constant when in a development environment. While it's true that filters won't work in that scenario, the filters would be useful for themes and plugins.