WordPress.org

Make WordPress Core

Ticket #29425: 29425.patch

File 29425.patch, 750 bytes (added by ocean90, 5 years ago)
  • src/wp-admin/includes/class-wp-upgrader.php

     
    12571257                if ( 'upgrader_process_complete' == current_filter() )
    12581258                        $this->skin->feedback( 'starting_upgrade' );
    12591259
     1260
     1261                // Remove any existing pre-install filters, like from plugin upgrader, #WP29425.
     1262                remove_all_filters( 'upgrader_pre_install' );
     1263
    12601264                // Remove any existing package checks and then set the new one for translations, #WP29230.
    12611265                remove_all_filters( 'upgrader_source_selection' );
    12621266                add_filter( 'upgrader_source_selection', array( $this, 'check_package' ), 10, 2 );