Changeset 24188
- Timestamp:
- 05/07/2013 03:55:31 PM (12 years ago)
- Location:
- trunk/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/ajax-actions.php
r24157 r24188 2018 2018 } 2019 2019 2020 remove_filter( 'media_send_to_editor', 'image_media_send_to_editor' , 10, 3);2020 remove_filter( 'media_send_to_editor', 'image_media_send_to_editor' ); 2021 2021 2022 2022 if ( 'image' === substr( $post->post_mime_type, 0, 5 ) ) { -
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.