[wp-trac] [WordPress Trac] #28749: Unused variable $num_ratings in WP_Theme_Install_List_Table
WordPress Trac
noreply at wordpress.org
Mon Jul 14 15:20:31 UTC 2014
#28749: Unused variable $num_ratings in WP_Theme_Install_List_Table
--------------------------+------------------------------
Reporter: Corphi | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 3.8
Severity: trivial | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by michalzuber):
Function in following files
{{{
wordpress-svn$ grep -r display_theme src
src/wp-admin/includes/theme-install.php:154:function display_theme( $theme
) {
src/wp-admin/includes/theme-install.php:169:function display_themes() {
src/wp-admin/includes/theme-install.php:179://
add_action('install_themes_search', 'display_themes');
src/wp-admin/includes/theme-install.php:180://
add_action('install_themes_featured', 'display_themes');
src/wp-admin/includes/theme-install.php:181://
add_action('install_themes_new', 'display_themes');
src/wp-admin/includes/theme-install.php:182://
add_action('install_themes_updated', 'display_themes');
}}}
{{{
wordpress-svn$ grep -r install_theme_information src
src/wp-admin/includes/theme-install.php:189:function
install_theme_information() {
src/wp-admin/includes/theme-install.php:205:add_action
('install_themes_pre_theme-information',
'install_theme_information');
}}}
Hook in the same file only
{{{
wordpress-svn$ grep -r install_themes_pre_theme src
src/wp-admin/includes/theme-install.php:170:add_action
('install_themes_pre_theme-information',
'install_theme_information');
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28749#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list