Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#48352 closed enhancement (fixed)

Stricter docs for deactivate_plugins

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


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

Attachments (1)

48352.patch (789 bytes) - added by spenserhale 5 years ago.

Download all attachments as: .zip

Change History (7)

#1 @johnbillion
5 years 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
5 years ago

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

#3 @desrosj
5 years ago

  • Milestone changed from Awaiting Review to 5.4

5 years ago

#4 @spenserhale
5 years ago

  • Keywords has-patch added; needs-patch removed

#5 @SergeyBiryukov
5 years ago

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

#6 @SergeyBiryukov
5 years 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.