[wp-trac] [WordPress Trac] #56283: Add "Block Theme" filter under "Add themes"
WordPress Trac
noreply at wordpress.org
Fri Aug 19 13:09:26 UTC 2022
#56283: Add "Block Theme" filter under "Add themes"
-------------------------------------+-------------------------------------
Reporter: luminuu | Owner: audrasjb
Type: feature request | Status: closed
Priority: normal | Milestone: 6.1
Component: Themes | Version:
Severity: major | Resolution: fixed
Keywords: has-patch has- | Focuses: ui, accessibility,
screenshots needs-docs needs- | administration
user-docs needs-dev-note |
-------------------------------------+-------------------------------------
Changes (by SergeyBiryukov):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"53908" 53908]:
{{{
#!CommitTicketReference repository="" revision="53908"
Themes: Include a hyphen in the Block Themes tab key on Add Themes screen.
This better matches the tab name and changes the associated action hooks
to:
* `install_themes_pre_block-themes` (fires before the tab is rendered)
* `install_themes_block-themes` (fires at the top the tab)
While including a mix of underscores and hyphens in a hook name is not
quite typical for core, it does have a precedent and brings more
consistency with similar filters on Add Plugin screen:
* `install_plugins_pre_plugin-information`
* `install_plugins_plugin-information`
Follow-up to [53906], [53907].
Fixes #56283.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56283#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list