Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#30489 closed defect (bug) (fixed)

Add unit test for is_plugin_active and is_plugin_inactive

Reported by: voldemortensen's profile voldemortensen Owned by: boonebgorges's profile boonebgorges
Milestone: 4.1 Priority: normal
Severity: normal Version: 4.1
Component: Build/Test Tools Keywords: has-patch
Focuses: Cc:

Description

The attached patch adds unit tests for is_plugin_active and is_plugin_inactive.

Attachments (1)

30489.diff (969 bytes) - added by voldemortensen 10 years ago.

Download all attachments as: .zip

Change History (5)

#1 @voldemortensen
10 years ago

  • Keywords has-patch added

#2 @boonebgorges
10 years ago

  • Milestone changed from Awaiting Review to 4.1

#3 @boonebgorges
10 years ago

  • Owner set to boonebgorges
  • Resolution set to fixed
  • Status changed from new to closed

In 30557:

Add basic unit tests for is_plugin_active() and is_plugin_inactive().

Props voldemortensen.
Fixes #30489.

#4 @rodrigosprimo
10 years ago

Inspired by this ticket I created another one to add basic unit tests to is_plugin_active_for_network(): #30491.

Note: See TracTickets for help on using tickets.