WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/05/2018 09:43:25 PM (3 years ago)
Author:
johnbillion
Message:

Upgrade/Install: Fix the format of the upgrader_process_complete actions after [42343].

More info: https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1323

See #41057, #42505

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-core-upgrader.php

    r42777 r42786  
    190190
    191191        /** This action is documented in wp-admin/includes/class-wp-upgrader.php */
    192         do_action(
    193             'upgrader_process_complete', $this, array(
    194                 'action' => 'update',
    195                 'type'   => 'core',
    196             )
    197         );
     192        do_action( 'upgrader_process_complete', $this, array(
     193            'action' => 'update',
     194            'type'   => 'core',
     195        ) );
    198196
    199197        // Clear the current updates
Note: See TracChangeset for help on using the changeset viewer.