Hello,
I have recently installed the WP Link Directory plug-in and it is working great. Well, almost.
When I fill out the form to submit a link and press "Add Link", I get the error message: "The URL you supplied doesn't seem to be valid."
I have pinpointed the problem to this code:
// Check URL Exists With fopen
$handle1=@fopen($_POST['entry_url'],'r');
if($handle1){
$url=$wpdb->escape($_POST['entry_url']);
fclose($handle1);
}else{
return $page.__("The URL you supplied doesn't seem to be valid.",$WPLD_Domain);
}
However I am no expert in PHP and am not quite sure how to fix this code. When I comment out the entire block, the submission goes through, but when I go to approve the link, there is no URL attached.
I've searched for the solution for a while now but cannot find an answer.
Here is the link to the plugin: http://www.schoolsanddegrees.com/blog/resource-links/
Go ahead, add a link (or attempt to) and see the problem for yourself.
Where can I find a fix for this?