Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#12752 closed defect (bug) (invalid)

do_action('activate_plugin') called twice

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


In activate_plugin(), this line appears twice:

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

Attachments (1)

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

Download all attachments as: .zip

Change History (4)

14 years ago

#1 @filosofo
14 years ago

Where is the second appearance?

#2 @nacin
14 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) );.

#3 @scribu
14 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.