Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#30489 closed defect (bug) (fixed)

Add unit test for is_plugin_active and is_plugin_inactive

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


The attached patch adds unit tests for is_plugin_active and is_plugin_inactive.

Attachments (1)

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

Download all attachments as: .zip

Change History (5)

6 years ago

#1 @voldemortensen
6 years ago

  • Keywords has-patch added

#2 @boonebgorges
6 years ago

  • Milestone changed from Awaiting Review to 4.1

#3 @boonebgorges
6 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
6 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.