Changeset 1712952
- Timestamp:
- 08/14/2017 04:56:56 AM (9 years ago)
- Location:
- sms4wp/trunk
- Files:
-
- 5 edited
-
README.md (modified) (2 diffs)
-
defines.php (modified) (1 diff)
-
includes/controls/sms4wp.sms.class.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
sms4wp.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sms4wp/trunk/README.md
r1712415 r1712952 6 6 * Requires at least: 3.8 7 7 * Tested up to: 4.8.1 8 * Stable tag: 1.1. 38 * Stable tag: 1.1.5 9 9 * License: GPLv2 or later 10 10 * License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 88 88 ## Changelog 89 89 90 ### 1.1.5 91 * 발신번호 등록 URL 수정, 전송방식 GET->POST 변경 92 90 93 ### 1.1.4 91 94 * 문자메시지 전송 장애 수정 -
sms4wp/trunk/defines.php
r1709395 r1712952 5 5 6 6 7 define( 'SMS4WP_BACKEND_URL', 'https://backend.sms4wp.com/api/v1' ); 7 define( 'SMS4WP_BACKEND', 'https://backend.sms4wp.com/api/' ); 8 define( 'SMS4WP_BACKEND_URL', SMS4WP_BACKEND . 'v1' ); 8 9 define( 'SMS4WP_SMS_URL', SMS4WP_BACKEND_URL . '/message/sms/'); 9 10 define( 'SMS4WP_LMS_URL', SMS4WP_BACKEND_URL . '/message/lms/'); 10 11 define( 'SMS4WP_MMS_URL', SMS4WP_BACKEND_URL . '/message/mms/'); 11 12 define( 'SMS4WP_SMS_TEST', SMS4WP_BACKEND_URL . '/message/test/sms/'); 13 define( 'SMS4WP_SEND_NUMBER_URL', SMS4WP_BACKEND . 'v2/sendnumber/register/'); 12 14 13 15 define( 'SMS4WP_FULL_NAME', 'SMS for WordPress Plugin'); -
sms4wp/trunk/includes/controls/sms4wp.sms.class.php
r1712415 r1712952 297 297 */ 298 298 public function sendnumber( $args ) { 299 $params = http_build_query( $args );299 //$params = http_build_query( $args ); 300 300 $data = ''; 301 301 … … 307 307 curl_setopt( $ch, CURLOPT_FRESH_CONNECT, TRUE ); 308 308 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 ); // 프로세스 종료 추가 312 313 313 314 $data = curl_exec( $ch ); -
sms4wp/trunk/readme.txt
r1712415 r1712952 5 5 Requires at least: 3.8 6 6 Tested up to: 4.8.1 7 Stable tag: 1.1. 47 Stable tag: 1.1.5 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 89 89 == Changelog == 90 90 91 = 1.1.5 = 92 * 발신번호 등록 URL 수정, 전송방식 GET->POST 변경 93 91 94 = 1.1.4 = 92 95 * 문자메시지 전송 장애 수정 -
sms4wp/trunk/sms4wp.php
r1712415 r1712952 4 4 Plugin URI: https://sms4wp.com/ 5 5 Description: Send SMS messages from WordPress! 6 Version: 1.1. 46 Version: 1.1.5 7 7 Author: sms4wp.com 8 8 Author URI: https://sms4wp.com/
Note: See TracChangeset
for help on using the changeset viewer.