Changeset 3176526
- Timestamp:
- 10/28/2024 01:24:34 AM (17 months ago)
- Location:
- pgall-for-woocommerce/trunk
- Files:
-
- 5 edited
-
includes/class-pafw-shortcodes.php (modified) (3 diffs)
-
includes/pafw-functions.php (modified) (1 diff)
-
languages/pgall-for-woocommerce.pot (modified) (2 diffs)
-
pgall-for-woocommerce.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pgall-for-woocommerce/trunk/includes/class-pafw-shortcodes.php
r3130785 r3176526 25 25 26 26 add_filter( 'msaddr_field_is_enabled', array( __CLASS__, 'maybe_field_is_enabled' ), 10, 2 ); 27 add_filter( 'woocommerce_billing_fields', array( __CLASS__, 'maybe_filter_fields' ), 99, 2 ); 28 add_filter( 'woocommerce_shipping_fields', array( __CLASS__, 'maybe_filter_fields' ), 99, 2 ); 27 29 } 28 30 … … 197 199 return ob_get_clean(); 198 200 } 199 200 201 public static function maybe_field_is_enabled( $enabled, $field ) { 201 202 static $address_fields = array( … … 220 221 return $enabled; 221 222 } 223 public static function maybe_filter_fields( $address, $country ) { 224 if ( defined( 'PAFW_SIMPLE_PAYMENT' ) && 'no' == pafw_get( $_POST, 'need_shipping' ) ) { 225 static $filter_fields = array( 226 'billing_postcode', 227 'billing_address_1', 228 'billing_address_2', 229 'billing_state', 230 'billing_city', 231 'shipping_postcode', 232 'shipping_address_1', 233 'shipping_address_2', 234 'shipping_state', 235 'shipping_city', 236 ); 237 238 $address = array_diff_key( $address, array_flip( $filter_fields ) ); 239 } 240 241 return $address; 242 } 222 243 } 223 244 -
pgall-for-woocommerce/trunk/includes/pafw-functions.php
r3133013 r3176526 521 521 522 522 add_filter( 'pafw_enqueue_scripts', function ( $enqueue ) { 523 return $enqueue && 'yes' != get_option( 'pafw-use-woocommerce-blocks', 'no');523 return $enqueue && ( defined( 'PAFW_SIMPLE_PAYMENT' ) || 'yes' != get_option( 'pafw-use-woocommerce-blocks', 'no' ) ); 524 524 } ); 525 525 function pafw_maybe_set_payment_token( $order, $token ) { -
pgall-for-woocommerce/trunk/languages/pgall-for-woocommerce.pot
r3168183 r3176526 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: pgall-for-woocommerce 5.1. 1\n"5 "Project-Id-Version: pgall-for-woocommerce 5.1.2\n" 6 6 "Report-Msgid-Bugs-To: " 7 7 "https://wordpress.org/support/plugin/pgall-for-woocommerce\n" 8 "POT-Creation-Date: 2024-10- 14 04:45:20+00:00\n"8 "POT-Creation-Date: 2024-10-28 01:00:42+00:00\n" 9 9 "MIME-Version: 1.0\n" 10 10 "Content-Type: text/plain; charset=utf-8\n" … … 3417 3417 msgstr "" 3418 3418 3419 #: includes/class-pafw-shortcodes.php:3 33419 #: includes/class-pafw-shortcodes.php:35 3420 3420 msgid "=== 결제 정보 확인 후 결제를 진행 해 주세요. ===" 3421 3421 msgstr "" 3422 3422 3423 #: includes/class-pafw-shortcodes.php:4 2 includes/class-pafw-shortcodes.php:1263423 #: includes/class-pafw-shortcodes.php:44 includes/class-pafw-shortcodes.php:128 3424 3424 msgid "정보입력" 3425 3425 msgstr "" 3426 3426 3427 #: includes/class-pafw-shortcodes.php:4 3 includes/class-pafw-shortcodes.php:1273427 #: includes/class-pafw-shortcodes.php:45 includes/class-pafw-shortcodes.php:129 3428 3428 msgid "이름 또는 내용을 입력하세요." 3429 3429 msgstr "" 3430 3430 3431 #: includes/class-pafw-shortcodes.php:4 4 includes/class-pafw-shortcodes.php:1283431 #: includes/class-pafw-shortcodes.php:46 includes/class-pafw-shortcodes.php:130 3432 3432 msgid "금액" 3433 3433 msgstr "" 3434 3434 3435 #: includes/class-pafw-shortcodes.php:4 5 includes/class-pafw-shortcodes.php:1293435 #: includes/class-pafw-shortcodes.php:47 includes/class-pafw-shortcodes.php:131 3436 3436 msgid "결제할 금액을 입력하세요." 3437 3437 msgstr "" 3438 3438 3439 #: includes/class-pafw-shortcodes.php:5 33439 #: includes/class-pafw-shortcodes.php:55 3440 3440 msgid "구매하기" 3441 3441 msgstr "" -
pgall-for-woocommerce/trunk/pgall-for-woocommerce.php
r3168183 r3176526 6 6 Plugin URI: 7 7 Description: 코드엠샵에서 개발, 운영되는 우커머스 전용 결제 통합 시스템 입니다. 8 Version: 5.1. 18 Version: 5.1.2 9 9 Author: CodeMShop 10 10 Author URI: www.codemshop.com … … 29 29 private static $_instance = null; 30 30 protected $slug; 31 protected $version = '5.1. 1';31 protected $version = '5.1.2'; 32 32 protected $plugin_url; 33 33 protected $plugin_path; -
pgall-for-woocommerce/trunk/readme.txt
r3168183 r3176526 6 6 Tested up to: 6.6 7 7 Requires PHP: 7.2 8 Stable tag: 5.1. 18 Stable tag: 5.1.2 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 84 84 == Changelog == 85 85 86 = 5.1.2 = 87 [숏코드 결제] 대한민국 주소 & 체크아웃 필드 에디터 플러그인을 사용하지 않는 경우, need_shipping="no" 옵션 사용시 오류 수정 88 [숏코드 결제] 우커머스 체크아웃 블럭 사용 시 숏코드 결제 버튼 동작 오류 수정 89 86 90 = 5.1.1 = 87 91 [나이스페이] 결제창 언어 및 로고이미지 설정 기능 추가
Note: See TracChangeset
for help on using the changeset viewer.