Skip to content

Commit 11590b8

Browse files
committed
fix: add missing param tags for SetLanguage() method in WP_PHPMailer class
1 parent 054c180 commit 11590b8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/wp-includes/class-wp-phpmailer.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ public function __construct( $exceptions = false ) {
3232
*
3333
* @since 6.8.0
3434
*
35+
* @param string $langcode Optional. Language code to set (e.g: 'en', 'fr', etc.). Default 'en'.
36+
* @param string $lang_path Optional. Path to the language files. Default empty string.
37+
*
3538
* @return true Always returns true.
3639
*/
3740
public function SetLanguage( $langcode = 'en', $lang_path = '' ) {

0 commit comments

Comments
 (0)