Changeset 24188 for trunk/wp-admin/includes/class-wp-upgrader.php
- Timestamp:
- 05/07/2013 03:55:31 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-upgrader.php
r24123 r24188 764 764 765 765 remove_filter('upgrader_source_selection', array(&$this, 'check_package') ); 766 remove_filter('upgrader_post_install', array(&$this, 'check_parent_theme_filter') , 10, 3);766 remove_filter('upgrader_post_install', array(&$this, 'check_parent_theme_filter')); 767 767 768 768 if ( ! $this->result || is_wp_error($this->result) ) … … 809 809 $this->run($options); 810 810 811 remove_filter('upgrader_pre_install', array(&$this, 'current_before') , 10, 2);812 remove_filter('upgrader_post_install', array(&$this, 'current_after') , 10, 2);813 remove_filter('upgrader_clear_destination', array(&$this, 'delete_old_theme') , 10, 4);811 remove_filter('upgrader_pre_install', array(&$this, 'current_before')); 812 remove_filter('upgrader_post_install', array(&$this, 'current_after')); 813 remove_filter('upgrader_clear_destination', array(&$this, 'delete_old_theme')); 814 814 815 815 if ( ! $this->result || is_wp_error($this->result) ) … … 900 900 901 901 // Cleanup our hooks, in case something else does a upgrade on this connection. 902 remove_filter('upgrader_pre_install', array(&$this, 'current_before') , 10, 2);903 remove_filter('upgrader_post_install', array(&$this, 'current_after') , 10, 2);904 remove_filter('upgrader_clear_destination', array(&$this, 'delete_old_theme') , 10, 4);902 remove_filter('upgrader_pre_install', array(&$this, 'current_before')); 903 remove_filter('upgrader_post_install', array(&$this, 'current_after')); 904 remove_filter('upgrader_clear_destination', array(&$this, 'delete_old_theme')); 905 905 906 906 // Force refresh of theme update information
Note: See TracChangeset
for help on using the changeset viewer.