Skip to content

Commit da89938

Browse files
committed
Add "mailchimp_sf_global_msg" back to fix fatal error in other PR. (To deprecate later)
1 parent 8d48faf commit da89938

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

mailchimp.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,18 @@ function mailchimp_sf_frontend_msg( $msg = null ) {
433433
return true;
434434
}
435435

436+
/**
437+
* Gets or sets a frontend message based on parameter passed to it
438+
*
439+
* TODO: Deprecate this function in favor of mailchimp_sf_frontend_msg()
440+
*
441+
* @param mixed $msg Message
442+
* @return string/bool depending on get/set
443+
*/
444+
function mailchimp_sf_global_msg( $msg = null ) {
445+
return mailchimp_sf_frontend_msg( $msg );
446+
}
447+
436448
/**
437449
* Sets the default options for the option form
438450
*

0 commit comments

Comments
 (0)