Make WordPress Core

Opened 15 years ago

Closed 15 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:

Description

In activate_plugin(), this line appears twice:

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

Attachments (1)

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

Download all attachments as: .zip

Change History (4)

@scribu
15 years ago

#1 @filosofo
15 years ago

Where is the second appearance?

#2 @nacin
15 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
15 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.