mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 01:24:27 +00:00
Coding Standards: Remove a one-time variable in themes.view.Installer.browse.
Alphabetize the list of possible hook name in `install_themes_pre_*` and `install_themes_*` filters. Follow-up to [53906]. See #56283. git-svn-id: https://develop.svn.wordpress.org/trunk@53907 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -90,16 +90,16 @@ if ( $tab ) {
|
||||
*
|
||||
* Possible hook names include:
|
||||
*
|
||||
* - `install_themes_pre_blockthemes`
|
||||
* - `install_themes_pre_dashboard`
|
||||
* - `install_themes_pre_featured`
|
||||
* - `install_themes_pre_new`
|
||||
* - `install_themes_pre_search`
|
||||
* - `install_themes_pre_updated`
|
||||
* - `install_themes_pre_upload`
|
||||
* - `install_themes_pre_blockthemes`
|
||||
*
|
||||
* @since 2.8.0
|
||||
* @since 6.1.0 Added `install_themes_pre_blockthemes`.
|
||||
* @since 6.1.0 Added `install_themes_pre_blockthemes` hook name.
|
||||
*/
|
||||
do_action( "install_themes_pre_{$tab}" );
|
||||
}
|
||||
@@ -266,16 +266,16 @@ if ( $tab ) {
|
||||
*
|
||||
* Possible hook names include:
|
||||
*
|
||||
* - `install_themes_blockthemes`
|
||||
* - `install_themes_dashboard`
|
||||
* - `install_themes_featured`
|
||||
* - `install_themes_new`
|
||||
* - `install_themes_search`
|
||||
* - `install_themes_updated`
|
||||
* - `install_themes_upload`
|
||||
* - `install_themes_blockthemes`
|
||||
*
|
||||
* @since 2.8.0
|
||||
* @since 6.1.0 Added `install_themes_blockthemes`.
|
||||
* @since 6.1.0 Added `install_themes_blockthemes` hook name.
|
||||
*
|
||||
* @param int $paged Number of the current page of results being viewed.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user