Plugin Directory

Changeset 1712952


Ignore:
Timestamp:
08/14/2017 04:56:56 AM (9 years ago)
Author:
StanleyChoi
Message:

1.1.5 버전 커밋

Location:
sms4wp/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • sms4wp/trunk/README.md

    r1712415 r1712952  
    66* Requires at least: 3.8
    77* Tested up to: 4.8.1
    8 * Stable tag: 1.1.3
     8* Stable tag: 1.1.5
    99* License: GPLv2 or later
    1010* License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8888## Changelog
    8989
     90###  1.1.5
     91* 발신번호 등록 URL 수정, 전송방식 GET->POST 변경
     92
    9093###  1.1.4
    9194* 문자메시지 전송 장애 수정
  • sms4wp/trunk/defines.php

    r1709395 r1712952  
    55
    66
    7 define( 'SMS4WP_BACKEND_URL', 'https://backend.sms4wp.com/api/v1' );
     7define( 'SMS4WP_BACKEND', 'https://backend.sms4wp.com/api/' );
     8define( 'SMS4WP_BACKEND_URL', SMS4WP_BACKEND . 'v1' );
    89define( 'SMS4WP_SMS_URL',  SMS4WP_BACKEND_URL . '/message/sms/');
    910define( 'SMS4WP_LMS_URL',  SMS4WP_BACKEND_URL . '/message/lms/');
    1011define( 'SMS4WP_MMS_URL',  SMS4WP_BACKEND_URL . '/message/mms/');
    1112define( 'SMS4WP_SMS_TEST', SMS4WP_BACKEND_URL . '/message/test/sms/');
     13define( 'SMS4WP_SEND_NUMBER_URL', SMS4WP_BACKEND . 'v2/sendnumber/register/');
    1214
    1315define( 'SMS4WP_FULL_NAME',    'SMS for WordPress Plugin');
  • sms4wp/trunk/includes/controls/sms4wp.sms.class.php

    r1712415 r1712952  
    297297     */
    298298    public function sendnumber( $args ) {
    299         $params    = http_build_query( $args );
     299        //$params    = http_build_query( $args );
    300300        $data = '';
    301301
     
    307307            curl_setopt( $ch, CURLOPT_FRESH_CONNECT, TRUE );
    308308            curl_setopt( $ch, CURLOPT_HTTPHEADER, $this->header );
    309             curl_setopt( $ch, CURLOPT_HTTPGET, TRUE );
    310             curl_setopt( $ch, CURLOPT_URL, SMS4WP_BACKEND_URL . '/sendnumber/?' . $params);
    311 //            curl_setopt( $ch, CURLOPT_TIMEOUT, SMS4WP_CURLOPT_TIMEOUT ); // 프로세스 종료 추가
     309            curl_setopt( $ch, CURLOPT_POST, TRUE );
     310            curl_setopt( $ch, CURLOPT_POSTFIELDS, $args );
     311            curl_setopt( $ch, CURLOPT_URL, SMS4WP_SEND_NUMBER_URL );
     312            //curl_setopt( $ch, CURLOPT_TIMEOUT, SMS4WP_CURLOPT_TIMEOUT ); // 프로세스 종료 추가
    312313
    313314            $data = curl_exec( $ch );
  • sms4wp/trunk/readme.txt

    r1712415 r1712952  
    55Requires at least: 3.8
    66Tested up to: 4.8.1
    7 Stable tag: 1.1.4
     7Stable tag: 1.1.5
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8989== Changelog ==
    9090
     91= 1.1.5 =
     92* 발신번호 등록 URL 수정, 전송방식 GET->POST 변경
     93
    9194= 1.1.4 =
    9295* 문자메시지 전송 장애 수정
  • sms4wp/trunk/sms4wp.php

    r1712415 r1712952  
    44Plugin URI: https://sms4wp.com/
    55Description: Send SMS messages from WordPress!
    6 Version: 1.1.4
     6Version: 1.1.5
    77Author: sms4wp.com
    88Author URI: https://sms4wp.com/
Note: See TracChangeset for help on using the changeset viewer.