[wp-trac] [WordPress Trac] #50428: Rename 'wp_sitemaps_is_enabled' filter
WordPress Trac
noreply at wordpress.org
Fri Jun 19 14:43:22 UTC 2020
#50428: Rename 'wp_sitemaps_is_enabled' filter
----------------------------+--------------------
Reporter: SergeyBiryukov | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.5
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
----------------------------+--------------------
Background: #50117
The current name of `wp_sitemaps_is_enabled` doesn't read like correct
English to me :)
I believe it should be `wp_sitemaps_enabled`, for consistency with other
similar filters in core.
For reference, here's the list of filters and options with a similar
purpose:
* `plugins_auto_update_enabled`
* `themes_auto_update_enabled`
* `rest_enabled`
* `rest_jsonp_enabled`
* `xmlrpc_enabled`
* `wp_fatal_error_handler_enabled`
* `wp_lazy_loading_enabled`
* `global_terms_enabled`
* `link_manager_enabled`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50428>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list