[pmwiki-users] customizing the output for commentboxstyled

John Rankin john.rankin at affinity.co.nz
Mon Mar 27 16:32:41 CST 2006


On Tuesday, 28 March 2006 10:22 AM, Hans <design at softflow.co.uk> wrote:
>Monday, March 27, 2006, 11:03:14 PM, John wrote:
>> I have updated 
>> http://www.pmwiki.org/wiki/Cookbook/CommentBox
>> to fix the backslash problem -- the code is now much tidier, so
>> you may wish to incorporate the changes into
>commentboxstyled.
>
>It does not remove the problem.
>And the code is not that different.
>Did you upload an older version?
>
Hmmm.

Do you see in commentbox.php, as I do: 
    Version 2.0.13 (adds an addslashes check and tidies code)

and in HandleCommentPost, a single
  if(get_magic_quotes_gpc()==1) $page['text'] = addslashes($page['text']);

If not, you may be seeing a cached version of the code.
-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list