Support » Plugin: Invite Friends to Register » [Plugin: Invite Friends to Register] Backslashes in Email Message in settings

  • Hi,

    Nice plugin, suits very well for our WordPress usage. Version 0.2 appears (at least on our installation) to be saving escaped quotes into the database. See here: and also this:

    mysql> select option_value from wp_options where option_name = 'invfr_settings' \G
    *************************** 1. row ***************************
    option_value: a:3:{s:7:"subject";s:53:"Your friend has invited you to register at %sitename%";s:7:"message";s:295:"Dear %friendname%,
    I\'d love to share my family diary and random parenting thoughts with you if you\'re interested. Most of my posts are available to registered users only.
    To register as a member of my blog at %sitename% follow this link to register now: %inviteurl%
    - Linda -";s:8:"redirect";s:45:"";}
    1 row in set (0.00 sec)

    I’ve temporarily fixed this (in the wrong place) by putting this in sendmail.php: $message = stripslashes( $message ); which of course just removes the slashes when the invite message is sent.

    I’m not familiar with WordPress plugins so had difficulty following the plugin architecture to find what was responsible for saving the values like this.

    Can you comment on this? All magic_quotes settings are Off on the server.


    – Bob –

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Invite Friends to Register] Backslashes in Email Message in settings’ is closed to new replies.