WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#12752 closed defect (bug) (invalid)

do_action('activate_plugin') called twice

Reported by: scribu Owned by: westi
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Plugins Keywords: has-patch reporter-feedback
Focuses: Cc:

Description

In activate_plugin(), this line appears twice:

do_action( 'activate_' . trim( $plugin ) );

Attachments (1)

12752.diff (531 bytes) - added by scribu 5 years ago.

Download all attachments as: .zip

Change History (4)

@scribu5 years ago

comment:1 @filosofo5 years ago

Where is the second appearance?

comment:2 @nacin5 years ago

  • Keywords reporter-feedback added; commit removed

The one you pointed out above is do_action( 'activate_' . trim( $plugin ) ); and the one you removed is do_action( 'activate_plugin', trim( $plugin) );.

comment:3 @scribu5 years ago

  • Milestone 3.0 deleted
  • Resolution set to invalid
  • Status changed from new to closed

Right. Sorry.

Note: See TracTickets for help on using tickets.