Conversation
supportFirst of all, Instruct is an awesome plugin. Actually, I’m experiencing a big issue. When I insert an hyperlink and the update the page; the hyperlinks gets broken. For Example: I add the link to http://www.something.com after the update action the link href is: \” http://www.something.com \” so, it doesn’t work. Any help would be appreciated. Thanks in advance. http://wordpress.org/plugins/instruct/
UPDATE: I figured out how to deal with the problem. Adding stripslashes in: admin-form.php Line 50: <?php wp_editor(stripslashes($instructions->description),’description’); ?> admin-table.php Line 196: $html = wp_editor(stripslashes($item[‘text’]), ‘text’.$item[‘id’], array(‘textarea_rows’ => 5)); shortcode.php Line 38: $html .= “<p>”.stripslashes($instructions->description).”</p>”; I hope that it helps in someone else have to deal with the problem. Again, thank for the wonderful work with this plugin. Simple but awesome.
Apologies for being delayed on response. Thanks for the update. I have provided this in the most recent version of the plugin.
Marking as resolved
UPDATE: I figured out how to deal with the problem. Adding stripslashes in: admin-form.php Line 50: <?php wp_editor(stripslashes($instructions->description),’description’); ?> admin-table.php Line 196: $html = wp_editor(stripslashes($item[‘text’]), ‘text’.$item[‘id’], array(‘textarea_rows’ => 5)); shortcode.php Line 38: $html .= “<p>”.stripslashes($instructions->description).”</p>”; I hope that it helps in someone else have to deal with the problem. Again, thank for the wonderful work with this plugin. Simple but awesome.
Apologies for being delayed on response. Thanks for the update. I have provided this in the most recent version of the plugin.
Marking as resolved