Make WordPress Core

#63368 closed defect (bug) (fixed)

Docs: Add missing @param tags for SetLanguage() method in WP_PHPMailer class

Reported by:dilipbheda's profile dilipbhedaOwned by:sergeybiryukov's profile SergeyBiryukov
Milestone:6.9Priority:normal
Severity:normalVersion:6.8
Component:MailKeywords:has-
Focuses:docsCc:

Description

The SetLanguage() method in the WP_PHPMailer class is missing @param tags in its PHPDoc block. This should be updated to include proper documentation for the $langcode and $lang_path parameters, following WordPress inline documentation standards.

Change History (3)

#2 @mukesh27
2 weeks ago

  • Milestone changed from Awaiting Review to 6.9
  • Version set to 6.8

Thanks for ticket and PR.

Left one suggestion.

#3 @SergeyBiryukov
19 hours ago

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

In 60232:

Docs: Document the parameters in WP_PHPMailer::setLanguage().

Follow-up to [59592].

Props dilipbheda, mukesh27, SergeyBiryukov.
Fixes #63368.

Note: See TracTickets for help on using tickets.