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-language-pack-upgrader.php

    r42777 r42786  
    275275
    276276        /** This action is documented in wp-admin/includes/class-wp-upgrader.php */
    277         do_action(
    278             'upgrader_process_complete', $this, array(
    279                 'action'       => 'update',
    280                 'type'         => 'translation',
    281                 'bulk'         => true,
    282                 'translations' => $language_updates_results,
    283             )
    284         );
     277        do_action( 'upgrader_process_complete', $this, array(
     278            'action'       => 'update',
     279            'type'         => 'translation',
     280            'bulk'         => true,
     281            'translations' => $language_updates_results,
     282        ) );
    285283
    286284        // Re-add upgrade hooks.
Note: See TracChangeset for help on using the changeset viewer.