#50428 closed defect (bug) (fixed)
Rename 'wp_sitemaps_is_enabled' filter
| Reported by: | SergeyBiryukov | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.5 |
| Component: | Sitemaps | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
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_enabledthemes_auto_update_enabledrest_enabledrest_jsonp_enabledxmlrpc_enabledwp_fatal_error_handler_enabledwp_lazy_loading_enabledglobal_terms_enabledlink_manager_enabled
Change History (4)
This ticket was mentioned in PR #342 on WordPress/wordpress-develop by helloarpitgshah.
6 years ago
#2
- Keywords has-patch added
This ticket was mentioned in Slack in #core by xhtmlpoint. View the logs.
6 years ago
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Trac ticket:
https://core.trac.wordpress.org/ticket/50428