Make WordPress Core

Opened 4 weeks ago

Closed 2 days 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:
PR Number:


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

Attachments (1)

48352.patch (789 bytes) - added by spenserhale 9 days ago.

Download all attachments as: .zip

Change History (7)

#1 @johnbillion
4 weeks 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
4 weeks ago

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

#3 @desrosj
4 weeks ago

  • Milestone changed from Awaiting Review to 5.4

9 days ago

#4 @spenserhale
9 days ago

  • Keywords has-patch added; needs-patch removed

#5 @SergeyBiryukov
3 days ago

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

#6 @SergeyBiryukov
2 days 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.