Plugin Directory

Changeset 1604146


Ignore:
Timestamp:
02/27/2017 01:48:14 AM (9 years ago)
Author:
kagla
Message:

1.4.2 update

Location:
gnucommerce/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • gnucommerce/trunk/adm/itemformrelation.php

    r1442174 r1604146  
    6161    $list = '<ul>'.$list.'</ul>';
    6262else
    63     $list = '<p>등록된 상품이 없습니다.';
     63    $list = '<p>등록된 상품이 없습니다.</p>';
    6464
    6565echo $list;
  • gnucommerce/trunk/config.php

    r1577667 r1604146  
    55
    66    public function __construct() {
    7         define( 'GC_VERSION', '1.4.1' );
     7        define( 'GC_VERSION', '1.4.2' );
    88        define( 'GC_NAME', 'gnucommerce' );
    99        define( 'GC_OPTION_KEY', 'gc_options' );    //쇼핑몰옵션키
  • gnucommerce/trunk/gnucommerce.php

    r1577667 r1604146  
    55 *  Author: SIR Soft
    66 *  Author URI: http://sir.kr
    7  *  Version: 1.4.1
     7 *  Version: 1.4.2
    88 *  Text Domain: SIR Soft
    99 */
  • gnucommerce/trunk/lib/gc_client.lib.php

    r1568385 r1604146  
    296296    } else {
    297297        // Run the query
    298         $gc_var->item_query = new GC_Product_Query($args);
     298        if( ! is_null($wp_query) && is_post_type_archive(GC_NAME) ){
     299            $gc_var->item_query = $wp_query;
     300        } else {
     301            $gc_var->item_query = new GC_Product_Query($args);
     302        }
    299303    }
    300304   
     
    793797    }
    794798
    795     $sql = $wpdb->prepare("SELECT rownum FROM ( select *, (@rownum:=@rownum+1) as rownum from `$write_table` as wr, (select @rownum:=0) tmp where wr.bo_table = '%s' order by wr_num ) A where wr_id = %.0f", $board['bo_table'], $wr_id);
     799    $order_field = $board['bo_sort_field'] ? $board['bo_sort_field'] : 'wr_num';
     800
     801    $sql = $wpdb->prepare("SELECT rownum FROM ( select *, (@rownum:=@rownum+1) as rownum from `$write_table` as wr, (select @rownum:=0) tmp where wr.bo_table = '%s' order by $order_field ) A where wr_id = %.0f", $board['bo_table'], $wr_id);
    796802   
    797803    $rownum = $wpdb->get_var($sql);
  • gnucommerce/trunk/lib/gc_shop.lib.php

    r1518161 r1604146  
    875875{
    876876    if( is_array($it) ){
    877         if ($it['it_tel_inq']) return '전화문의';
     877        if ($it['it_tel_inq']) return __('전화문의', 'gnucommerce');
    878878
    879879        $price = $it['it_price'];
    880880    } else if( is_object($it) ){
    881         if ($it->it_tel_inq) return '전화문의';
     881        if ($it->it_tel_inq) return __('전화문의', 'gnucommerce');
    882882
    883883        $price = $it->it_price;
  • gnucommerce/trunk/readme.txt

    r1577667 r1604146  
    55Requires at least: 4.0
    66Tested up to: 4.7
    7 Stable tag: 1.4.1
     7Stable tag: 1.4.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6464
    6565== Changelog ==
     66
     67= 1.4.2 =
     68xss 취약점을 고쳤습니다. ( 워드프레스 쪽에서 알려주심 )
    6669
    6770= 1.4.1 =
  • gnucommerce/trunk/shop/lg/mispwapurl.php

    r1442174 r1604146  
    33// 해당 페이지는 사용자가 ISP{국민/BC) 카드 결제를 성공하였을 때, 사용자에게 보여지는 페이지입니다.
    44
    5 $LGD_OID    = isset($_GET['LGD_OID']) ? $_GET['LGD_OID'] : '';
     5$LGD_OID    = isset($_GET['LGD_OID']) ? preg_replace("/[ #\-=\/\\\:;'\"\^`~\_|\!\*$#<>()\[\]\{\}]/i", "", strip_tags($_GET['LGD_OID'])) : '';
    66
    77echo "LGD_OID = ".$LGD_OID;
Note: See TracChangeset for help on using the changeset viewer.