qoolos
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Plugins
In reply to: [Plugin: Simple FAQ] Doesnt workin WP-Admin go to Plugins > FAQ
read the usage FAQ on the plugin page @ WordPress.org on how to use it.
Forum: Plugins
In reply to: [Plugin: Simple FAQ] Introduces a slash and renders innoperative linksopen wp-content/plugins/simple-faq/faq.php
Find this:
function DisplayFAQ() { global $wpdb; $table_name = $wpdb->prefix . "faq"; $select = "SELECT * FROM " . $table_name ." ORDER BY answer_date DESC"; $all_faq = $wpdb->get_results($select); $buf = '<ol>'; foreach ($all_faq as $q) { $buf .= '<li>' . $q->question . '<br />'; $buf .= $q->answer.'</li>'; } $buf .= '</ol>'; return $buf; }replace with this:
function DisplayFAQ() { global $wpdb; $table_name = $wpdb->prefix . "faq"; $select = "SELECT * FROM " . $table_name ." ORDER BY answer_date DESC"; $all_faq = $wpdb->get_results($select); $buf = '<ol>'; foreach ($all_faq as $q) { $buf .= '<li>' . stripslashes($q->question) . '<br />'; $buf .= stripslashes($q->answer).'</li>'; } $buf .= '</ol>'; return $buf; }The author forgot stripslashes (TERRIBLE!)
Forum: Requests and Feedback
In reply to: Flash Upload Not working in Latest 2.7 verUpgrade to Flash Player 10. Problem solved.
Viewing 3 replies - 1 through 3 (of 3 total)