Make WordPress Core

Opened 3 weeks ago

Closed 8 days ago

#63368 closed defect (bug) (fixed)

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

Reported by: dilipbheda's profile dilipbheda Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 6.9 Priority: normal
Severity: normal Version: 6.8
Component: Mail Keywords: has-patch
Focuses: docs Cc:

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)

This ticket was mentioned in PR #8756 on WordPress/wordpress-develop by @dilipbheda.


3 weeks ago
#1

#2 @mukesh27
3 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
8 days 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.