[wp-trac] [WordPress Trac] #25882: 'upgrader_process_complete' action for theme has 'plugin' type
WordPress Trac
noreply at wordpress.org
Fri Nov 8 16:13:20 UTC 2013
#25882: 'upgrader_process_complete' action for theme has 'plugin' type
-----------------------------+-----------------------------
Reporter: bamadesigner | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version: trunk
Severity: normal | Keywords:
-----------------------------+-----------------------------
I believe the 'upgrader_process_complete' action for themes has the wrong
'type' parameter in the Theme_Upgrader class in the wp-admin/includes
/class-wp-upgrader.php file starting on line 980:
{{{
do_action( 'upgrader_process_complete', $this, array(
'action' => 'update',
'type' => 'plugin',
'bulk' => true,
'themes' => $themes,
) );
}}}
should be
{{{
do_action( 'upgrader_process_complete', $this, array(
'action' => 'update',
'type' => 'theme',
'bulk' => true,
'themes' => $themes,
) );
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25882>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list