WordPress.org

Make WordPress Core

Opened 8 months ago

Closed 7 months ago

#48352 closed enhancement (fixed)

Stricter docs for deactivate_plugins

Reported by: marekdedic Owned by: SergeyBiryukov
Milestone: 5.4 Priority: normal
Severity: minor Version: 5.2
Component: Plugins Keywords: good-first-bug has-patch
Focuses: docs Cc:

Description

The $plugins parameter could have a stricter type of string|string[] instead of string|array.

Attachments (1)

48352.patch (789 bytes) - added by spenserhale 7 months ago.

Download all attachments as: .zip

Change History (7)

#1 @johnbillion
8 months ago

  • Keywords needs-patch good-first-bug added

@marekdedic Thanks for the tickets! For each major release of WordPress we use a single tracking ticket for small inline documentation fixes such as this. For 5.4 it's ticket #48303. Feel free to leave your comments on that ticket for any further improvements you identify.

#2 @marekdedic
8 months ago

Hi,
didn't know that, thanks! (And sorry for the spam...)

#3 @desrosj
8 months ago

  • Milestone changed from Awaiting Review to 5.4

@spenserhale
7 months ago

#4 @spenserhale
7 months ago

  • Keywords has-patch added; needs-patch removed

#5 @SergeyBiryukov
7 months ago

  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#6 @SergeyBiryukov
7 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 46694:

Docs: Improve documentation for deactivate_plugins() and activate_plugins().

Props marekdedic, spenserhale, SergeyBiryukov.
Fixes #48352.

Note: See TracTickets for help on using tickets.