Make WordPress Core

#63368 closed defect (bug) (fixed)

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

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

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.


17 months ago
#1

#2 @mukesh27
17 months ago

  • Milestone Awaiting Review6.9
  • Version6.8

Thanks for ticket and PR.

Left one suggestion.

#3 @SergeyBiryukov
16 months ago

  • Owner set to SergeyBiryukov
  • Resolutionfixed
  • Status newclosed

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.