Plugin Directory

Changeset 1759880


Ignore:
Timestamp:
11/07/2017 06:13:45 AM (8 years ago)
Author:
beomps
Message:

patch bug fix

Location:
beomps-korea-postcode-search/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • beomps-korea-postcode-search/trunk/beomps-korea-post-search.php

    r1743655 r1759880  
    66     * Author: park seong beom
    77     * Author URI: Http://beomps.com
    8      * Version:3.2
     8     * Version:3.3
    99     */
    1010
     
    5757          global $find_button_name_display;
    5858
    59           $fields['billing']['billing_address_1']['label'] = '<input type="button" id="billing_postcode_search" value="'.$find_button_name_display.'" class="btn" onclick="openDaumPostcode();" style="height: 40px;">';
    60 
    61           $fields['shipping']['shipping_address_1']['label'] = '<input type="button" id="shipping_postcode_search" value="'.$find_button_name_display.'" class="btn" onclick="openDaumPostcode2();" style="height: 40px;">';
     59          $fields['billing']['billing_address_2']['label'] = '<input type="button" id="billing_postcode_search" value="'.$find_button_name_display.'" class="btn" onclick="openDaumPostcode();" style="height: 40px;">';
     60
     61          $fields['shipping']['shipping_address_2']['label'] = '<input type="button" id="shipping_postcode_search" value="'.$find_button_name_display.'" class="btn" onclick="openDaumPostcode2();" style="height: 40px;">';
    6262         
    6363
     
    7272        global $find_button_name_display;
    7373
    74         $fields['billing_address_1']['label'] = '<input type="button" id="billing_postcode_search" value="'.$find_button_name_display.'" class="btn" onclick="openDaumPostcode();" style="height: 40px;">';
     74        $fields['billing_address_2']['label'] = '<input type="button" id="billing_postcode_search" value="'.$find_button_name_display.'" class="btn" onclick="openDaumPostcode();" style="height: 40px;">';
    7575        return $fields;
    7676    }
     
    8383        global $find_button_name_display;
    8484
    85         $fields['shipping_address_1']['label'] = '<input type="button" id="billing_postcode_search" value="'.$find_button_name_display.'" class="btn" onclick="openDaumPostcode2();" style="height: 40px;">';
     85        $fields['shipping_address_2']['label'] = '<input type="button" id="billing_postcode_search" value="'.$find_button_name_display.'" class="btn" onclick="openDaumPostcode2();" style="height: 40px;">';
    8686        return $fields;
    8787    }
     
    102102            //Daum postcode search for HTTPS
    103103            //SSL을 사용하면 바로 아래 코드를 사용하세요.
    104             wp_enqueue_script( 'postcode', 'https://spi.maps.daum.net/imap/map_js_init/postcode.v2.js', array(), null, true );
     104            //wp_enqueue_script( 'postcode', 'https://spi.maps.daum.net/imap/map_js_init/postcode.v2.js', array(), null, true );
     105            wp_enqueue_script( 'postcode', 'https://ssl.daumcdn.net/dmaps/map_js_init/postcode.v2.js', array(), null, true );
    105106        }else{
    106107            //Daum postcode search for HTTP
    107108            //SSL을 사용하지 않는 다면 바로 아래 코드를 사용하세요.
    108             wp_enqueue_script( 'postcode', 'http://dmaps.daum.net/map_js_init/postcode.v2.js', array(), null, true );
     109            //wp_enqueue_script( 'postcode', 'http://dmaps.daum.net/map_js_init/postcode.v2.js', array(), null, true );
     110            wp_enqueue_script( 'postcode', 'https://ssl.daumcdn.net/dmaps/map_js_init/postcode.js', array(), null, true );
    109111        }
    110112        add_action('wp_enqueue_scripts', 'bkps_wp_enqueue_scripts');
  • beomps-korea-postcode-search/trunk/readme.txt

    r1743035 r1759880  
    55Requires at least: 4.2.3
    66Tested up to: 4.8
    7 Stable tag: 3.2
     7Stable tag: 3.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1212
    1313== Description ==
     14*Bug fixed. - 우커머스 업데이트 이후, 한글 번역이 마지막에 해당 라벨 필드값으로 덮어지도록 변경됐습니다. 이에따라 ‘우편번호 찾기’버튼이 노출되지 않아 큰 문제가 있었습니다. 임시로 상세주소 윗 라벨에 버튼을 추가하였습니다. 또한 다음 api 주소 변경 처리하였습니다. 버그 리포팅해주신, @최진욱님 감사합니다.
     15
    1416*Bug fixed. - Ajax 사용시 php 공백 문제 수정. 버그 리포팅해주신, @changwoo님 감사합니다.
    1517
     
    126128== Changelog ==
    127129
     130= 3.3 =
     131* Bug fixed. - Doesn’t show ‘Find Postcode’ button after Woocommerce update. Thanks @Jinwook.
    128132= 3.2 =
    129133* Bug fixed. - Sentence error fixed for Ajax. Thanks @changwoo.
Note: See TracChangeset for help on using the changeset viewer.