Changeset 1759880
- Timestamp:
- 11/07/2017 06:13:45 AM (8 years ago)
- Location:
- beomps-korea-postcode-search/trunk
- Files:
-
- 2 edited
-
beomps-korea-post-search.php (modified) (5 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
beomps-korea-postcode-search/trunk/beomps-korea-post-search.php
r1743655 r1759880 6 6 * Author: park seong beom 7 7 * Author URI: Http://beomps.com 8 * Version:3. 28 * Version:3.3 9 9 */ 10 10 … … 57 57 global $find_button_name_display; 58 58 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;">'; 62 62 63 63 … … 72 72 global $find_button_name_display; 73 73 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;">'; 75 75 return $fields; 76 76 } … … 83 83 global $find_button_name_display; 84 84 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;">'; 86 86 return $fields; 87 87 } … … 102 102 //Daum postcode search for HTTPS 103 103 //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 ); 105 106 }else{ 106 107 //Daum postcode search for HTTP 107 108 //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 ); 109 111 } 110 112 add_action('wp_enqueue_scripts', 'bkps_wp_enqueue_scripts'); -
beomps-korea-postcode-search/trunk/readme.txt
r1743035 r1759880 5 5 Requires at least: 4.2.3 6 6 Tested up to: 4.8 7 Stable tag: 3. 27 Stable tag: 3.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 12 12 13 13 == Description == 14 *Bug fixed. - 우커머스 업데이트 이후, 한글 번역이 마지막에 해당 라벨 필드값으로 덮어지도록 변경됐습니다. 이에따라 ‘우편번호 찾기’버튼이 노출되지 않아 큰 문제가 있었습니다. 임시로 상세주소 윗 라벨에 버튼을 추가하였습니다. 또한 다음 api 주소 변경 처리하였습니다. 버그 리포팅해주신, @최진욱님 감사합니다. 15 14 16 *Bug fixed. - Ajax 사용시 php 공백 문제 수정. 버그 리포팅해주신, @changwoo님 감사합니다. 15 17 … … 126 128 == Changelog == 127 129 130 = 3.3 = 131 * Bug fixed. - Doesn’t show ‘Find Postcode’ button after Woocommerce update. Thanks @Jinwook. 128 132 = 3.2 = 129 133 * Bug fixed. - Sentence error fixed for Ajax. Thanks @changwoo.
Note: See TracChangeset
for help on using the changeset viewer.