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

Follow-up to [59592].

Props dilipbheda, mukesh27, SergeyBiryukov.
Fixes #63368.
Built from https://develop.svn.wordpress.org/trunk@60232


git-svn-id: http://core.svn.wordpress.org/trunk@59568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2025-05-12 13:38:28 +00:00
parent 3906e3e9d6
commit dc138f3de4
2 changed files with 3 additions and 1 deletions

View File

@@ -32,6 +32,8 @@ class WP_PHPMailer extends PHPMailer\PHPMailer\PHPMailer {
*
* @since 6.8.0
*
* @param string $langcode Optional. Unused. ISO 639-1 2-character language code. Default 'en'.
* @param string $lang_path Optional. Unused. Path to the language file directory. Default empty string.
* @return true Always returns true.
*/
public function setLanguage( $langcode = 'en', $lang_path = '' ) {

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.9-alpha-60231';
$wp_version = '6.9-alpha-60232';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.