[pmwiki-users] Another recipe that maybe needs to be fixed

Johan Bengtsson elijah at chalmers.se
Wed Aug 14 06:56:29 PDT 2019


https://www.pmwiki.org/wiki/Cookbook/Mailform4

>From mailform4.php:

if(function_exists('Markup_e')) {
   Markup_e('mailform4-show-msgs', 'directives', 
"/\\(:mailform4-show-msgs:\\)/", "Mailform4ShowMsgs()");
}
else {
   Markup('mailform4-show-msgs', 'directives', 
"/\\(:mailform4-show-msgs:\\)/e", "Mailform4ShowMsgs()");
}

The recipe claims to be PHP 5.5 compliant but Markup_e should't be used??

-Johan Bengtsson



More information about the pmwiki-users mailing list