This is because the server configuration have
magic_qoutes set to on. In my server it's set to off.
So I have attached a fix you can try out (make backup of your existing file in case of) or if you feel handy open the file:
rp-pageslinks-add.php in the admin folder.
Near top of this document you find the following code:
- Code: Select all
$stmt = $db->prepare("INSERT INTO rp_links(header, linkorder, url, title, target)VALUES(?, ?, ?, ?, ?)");
$stmt->bindValue(1, $_POST['f1'], PDO::PARAM_STR);
$stmt->bindValue(2, $_POST['f5'], PDO::PARAM_STR);
$stmt->bindValue(3, $_POST['f2'], PDO::PARAM_STR);
$stmt->bindValue(4, $_POST['f3'], PDO::PARAM_STR);
$stmt->bindValue(5, $_POST['f4'], PDO::PARAM_STR);
$stmt->execute(array($_POST['f1'], $_POST['f5'], $_POST['f2'], $_POST['f3'], $_POST['f4']));
Replace like this (take notice of the new
stripslashes):
- Code: Select all
$stmt = $db->prepare("INSERT INTO rp_links(header, linkorder, url, title, target)VALUES(?, ?, ?, ?, ?)");
$stmt->bindValue(1, $_POST['f1'], PDO::PARAM_STR);
$stmt->bindValue(2, $_POST['f5'], PDO::PARAM_STR);
$stmt->bindValue(3, stripslashes($_POST['f2']), PDO::PARAM_STR);
$stmt->bindValue(4, $_POST['f3'], PDO::PARAM_STR);
$stmt->bindValue(5, $_POST['f4'], PDO::PARAM_STR);
$stmt->execute(array($_POST['f1'], $_POST['f5'], stripslashes($_POST['f2']), $_POST['f3'], $_POST['f4']));
See if this works for you!

Thank you for the feedback! It's important for you, me, existing and future users!
EDIT: You need to delete and create the new link again.
EDIT 2: If this works I need to fix the
rp-pageslinks-edit.php file as well!