Plugin Directory

Changeset 633388


Ignore:
Timestamp:
12/03/2012 09:23:24 AM (13 years ago)
Author:
vandai
Message:

Fix bugs

Location:
komper/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • komper/trunk/komper.php

    r633328 r633388  
    44Plugin URI: http://www.vnetware.com/komper/
    55Description: A plugin to create side-by-side product comparison. This is free version, get the pro version with more features!
    6 Version: 1.1.1
     6Version: 1.1.2
    77Author: Miaz Akemapa
    88Author URI: http://www.photogrammer.net/
     
    4242        $sql2 = "CREATE TABLE $tbl_valname (`id` INT(11) NOT NULL AUTO_INCREMENT PRIMARY
    4343                KEY, `product_id` INT(11) NULL, `field_id` INT(11) NOT NULL, `field_values` TEXT NULL,
    44                 INDEX (`post_id`));";
     44                INDEX (`product_id`));";
    4545        $wpdb->query($sql2);
    4646   }
     
    469469function format_text($format,$text){
    470470    $formatted = "";
     471    $text = stripslashes($text);
     472    //$text = htmlentities($text);
    471473    $text_format = list_textformat();
    472474    if(array_key_exists($format, $text_format)){
     
    474476        $formatted = $format.$text.$close;
    475477        return $formatted;
     478    }else {
     479        return $text;
    476480    }
    477481    return false;
  • komper/trunk/output.php

    r633328 r633388  
    1919    $res = "";
    2020    $ids = array_unique(explode(",",trim($pids)));
    21     print_r($ids);echo " => ";
    2221    $ids = array($ids[0],$ids[1]);
    23     print_r($ids);
    2422    $p_jml = count($ids);
    2523    //reset $PIDS
  • komper/trunk/readme.txt

    r633330 r633388  
    55Requires at least: 3.0.1
    66Tested up to: 3.4
    7 Stable tag: 1.1.1
     7Stable tag: 1.1.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8686Via widget in front-page. Enter product name, autocomplete will appear, then select product. Click Compare button, the result will be displayed in side-by-side table.
    8787
     88= Comparison page can not display, 404 Error! =
     89
     90Try to change the wordpresspermalink to *Post Name*
     91
    8892
    8993== Screenshots ==
     
    99103
    100104== Changelog ==
     105
     106= 1.1.2 =
     107* FIX: Failed on creating field-values table on installation
     108* FIX: Empty result on displaying output
    101109
    102110= 1.1.1 =
Note: See TracChangeset for help on using the changeset viewer.