Plugin Directory

Changeset 1549081


Ignore:
Timestamp:
12/08/2016 09:59:21 AM (9 years ago)
Author:
kagla
Message:

1.3.9 update

Location:
gnucommerce/trunk
Files:
2 added
7 edited

Legend:

Unmodified
Added
Removed
  • gnucommerce/trunk/bbs/write_update.php

    r1530810 r1549081  
    622622do_action( 'write_update_metadata', $wr_id, $w );
    623623
     624if( $upload_count && is_multisite() && function_exists('delete_transient') ){
     625    delete_transient( 'dirsize_cache' );
     626}
     627
    624628// 비밀글이라면 세션에 비밀글의 아이디를 저장한다. 자신의 글은 다시 비밀번호를 묻지 않기 위함
    625629if ($secret)
  • gnucommerce/trunk/config.php

    r1530810 r1549081  
    55
    66    public function __construct() {
    7         define( 'GC_VERSION', '1.3.8' );
     7        define( 'GC_VERSION', '1.3.9' );
    88        define( 'GC_NAME', 'gnucommerce' );
    99        define( 'GC_OPTION_KEY', 'gc_options' );    //쇼핑몰옵션키
  • gnucommerce/trunk/gnucommerce.php

    r1530810 r1549081  
    55 *  Author: SIR Soft
    66 *  Author URI: http://sir.kr
    7  *  Version: 1.3.8
     7 *  Version: 1.3.9
    88 *  Text Domain: SIR Soft
    99 */
  • gnucommerce/trunk/lib/gc_client.lib.php

    r1492985 r1549081  
    732732    $wp_current_filter[] = $tag;
    733733
    734     // Sort
    735     if ( ! isset( $merged_filters[ $tag ] ) ) {
    736         ksort( $wp_filter[$tag] );
    737         $merged_filters[ $tag ] = true;
     734    // Sort.
     735    if ( class_exists( 'WP_Hook' ) ) {
     736        $filter = $wp_filter[ $tag ]->callbacks;
     737    } else {
     738        $filter = &$wp_filter[ $tag ];
     739
     740        if ( ! isset( $merged_filters[ $tag ] ) ) {
     741            ksort( $filter );
     742            $merged_filters[ $tag ] = true;
     743        }
    738744    }
    739745
    740746    // Ensure we're always at the beginning of the filter array
    741     reset( $wp_filter[ $tag ] );
     747    reset( $filter );
    742748
    743749    // Loop through 'gc_template_stack' filters, and call callback functions
    744750    do {
    745         foreach ( (array) current( $wp_filter[$tag] ) as $the_ ) {
     751        foreach( (array) current( $filter ) as $the_ ) {
    746752            if ( ! is_null( $the_['function'] ) ) {
    747753                $args[1] = $stack;
     
    749755            }
    750756        }
    751     } while ( next( $wp_filter[$tag] ) !== false );
     757    } while ( next( $filter ) !== false );
    752758
    753759    // Remove 'gc_template_stack' from the current filter array
  • gnucommerce/trunk/lib/gc_common.lib.php

    r1518161 r1549081  
    14151415            $dst = $write_path.'/key';
    14161416           
    1417             if( ! file_exists($dst) && is_dir($src) ){
     1417            if( (! file_exists($dst) || ! file_exists($key_file) ) && is_dir($src) ){
    14181418                gc_inicis_recurse_copy($src, $dst);
    14191419            }
  • gnucommerce/trunk/lib/gc_shortcode.class.php

    r1518161 r1549081  
    99            GC_NAME.'_mypage'    => __CLASS__ . '::mypage',    //내 계정 페이지
    1010            GC_NAME.'_shop'    => __CLASS__ . '::shop',    //상품 페이지
     11            GC_NAME.'_register' => __CLASS__ . '::register',    //회원가입 페이지
    1112            GC_NAME.'_shop_latest'    => __CLASS__ . '::shop_latest',    //상품 페이지
    1213            GC_NAME.'_item' =>  __CLASS__ . '::item',    //상품 보여주기
     
    4849    }
    4950   
     51    //회원가입
     52    public static function register($atts) {
     53        global $post;
     54
     55        return "아직 지원하지 않습니다.";
     56
     57        include_once( GC_SHORTCODE_DIR_PATH.'/'. __FUNCTION__ .'.php' );
     58
     59        return self::shortcode_wrapper( array( 'GC_Shortcode_Register', 'output' ), $atts );
     60    }
     61
    5062    //장바구니
    5163    public static function cart($atts) {
  • gnucommerce/trunk/readme.txt

    r1530810 r1549081  
    55Requires at least: 4.0
    66Tested up to: 4.6
    7 Stable tag: 1.3.8
     7Stable tag: 1.3.9
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6464
    6565== Changelog ==
     66
     67= 1.3.9 =
     68워드프레스 4.7 버젼에서 쇼핑몰 상품이 제대로 뜨지 않는 오류를 고쳤습니다.( 피피짱 님이 알려주심 ) 
     69네트워트 활성화시 워드프레스 관리자모드에 사용량이 증가되지 않는 오류를 고쳤습니다.( HMHM 님이 알려주심 ) 
     70이니시스 실결제시 키 활성화 오류를 고쳤습니다.( 콜라맨님이 알려주심 )
    6671
    6772= 1.3.8 =
Note: See TracChangeset for help on using the changeset viewer.