Opened 13 years ago
Closed 12 years ago
#25882 closed defect (bug) (fixed)
'upgrader_process_complete' action for theme has 'plugin' type
| Reported by: | bamadesigner | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.8 |
| Component: | Upgrade/Install | Version: | 3.7 |
| Severity: | normal | Keywords: | commit fixed-major |
| Cc: | Focuses: |
Description
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, ) );
Change History (6)
This ticket was mentioned in IRC in #wordpress-dev by humungulous. View the logs.
13 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)
Looks like a copy/paste error in [25806].