Changeset 1742053
- Timestamp:
- 10/06/2017 08:15:17 AM (8 years ago)
- Location:
- exxica-social-marketing
- Files:
-
- 7 edited
- 6 copied
-
tags/1.3.3 (copied) (copied from exxica-social-marketing/trunk)
-
tags/1.3.3/README.txt (copied) (copied from exxica-social-marketing/trunk/README.txt) (2 diffs)
-
tags/1.3.3/admin/class-exxica-social-marketing-status-update.php (modified) (2 diffs)
-
tags/1.3.3/admin/partials/exxica-social-marketing-admin-settings.php (copied) (copied from exxica-social-marketing/trunk/admin/partials/exxica-social-marketing-admin-settings.php)
-
tags/1.3.3/exxica-social-marketing.php (copied) (copied from exxica-social-marketing/trunk/exxica-social-marketing.php)
-
tags/1.3.3/includes/class-exxica-social-marketing-activator.php (copied) (copied from exxica-social-marketing/trunk/includes/class-exxica-social-marketing-activator.php) (1 diff)
-
tags/1.3.3/includes/class-exxica-social-marketing-handlers.php (modified) (4 diffs)
-
tags/1.3.3/includes/class-exxica-social-marketing.php (copied) (copied from exxica-social-marketing/trunk/includes/class-exxica-social-marketing.php) (1 diff)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/admin/class-exxica-social-marketing-status-update.php (modified) (2 diffs)
-
trunk/includes/class-exxica-social-marketing-activator.php (modified) (1 diff)
-
trunk/includes/class-exxica-social-marketing-handlers.php (modified) (4 diffs)
-
trunk/includes/class-exxica-social-marketing.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
exxica-social-marketing/tags/1.3.3/README.txt
r1668427 r1742053 96 96 == Changelog == 97 97 98 = 1.3.3 = 99 - Changed to SSL/TLS sending of data. 100 98 101 = 1.3.2 = 99 102 … … 218 221 219 222 == Upgrade Notice == 223 = 1.3.3 = 224 Update required for further use. 225 220 226 = 1.3.2 = 221 227 Update recommended. -
exxica-social-marketing/tags/1.3.3/admin/class-exxica-social-marketing-status-update.php
r1441782 r1742053 136 136 $api_url = get_option('exxica_social_marketing_api_url_custom', 'publisher.exxica.com'); 137 137 138 $to = 'http ://'.$api_url.'/exxica/status';139 $response = $this->postData($to, $atts);138 $to = 'https://'.$api_url.'/exxica/status'; 139 $response = $this->postData($to, 443, $atts); 140 140 return $response; 141 141 } 142 142 143 private function postData( $to, $ atts )143 private function postData( $to, $port, $atts ) 144 144 { 145 145 try { … … 148 148 curl_setopt($ch, CURLOPT_TIMEOUT, 30 ); 149 149 curl_setopt($ch, CURLOPT_URL, $to); 150 curl_setopt($ch, CURLOPT_PORT, $port); 150 151 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE ); 151 curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2 );152 152 curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 2 ); 153 153 curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE ); -
exxica-social-marketing/tags/1.3.3/includes/class-exxica-social-marketing-activator.php
r1668427 r1742053 30 30 $sql = ''; 31 31 32 $latest_version = '1.3. 2';32 $latest_version = '1.3.3'; 33 33 $installed_version = get_option('exxica_social_marketing_version', false); 34 34 -
exxica-social-marketing/tags/1.3.3/includes/class-exxica-social-marketing-handlers.php
r1441782 r1742053 581 581 $to = sprintf("http://%s/exxica/publish", $api_url); 582 582 583 return $this->postData( $to, $atts );584 } 585 586 private function postData( $to, $ atts )583 return $this->postData( $to, 443, $atts ); 584 } 585 586 private function postData( $to, $port, $atts ) 587 587 { 588 588 try { … … 591 591 curl_setopt($ch, CURLOPT_TIMEOUT, 30 ); 592 592 curl_setopt($ch, CURLOPT_URL, $to); 593 curl_setopt($ch, CURLOPT_PORT, $port); 593 594 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE ); 594 curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2 );595 595 curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 2 ); 596 596 curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE ); 597 597 curl_setopt($ch, CURLOPT_POST, TRUE ); 598 curl_setopt($ch, CURLOPT_PORT, 80);599 598 curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query( $atts ) ); 600 599 //print_r(http_build_query( $atts ) ); … … 1000 999 $to = sprintf("http://%s/exxica/publish", $api_url); 1001 1000 1002 return $this->postData( $to, $atts );1003 } 1004 1005 private function postData( $to, $ atts )1001 return $this->postData( $to, 443, $atts ); 1002 } 1003 1004 private function postData( $to, $port, $atts ) 1006 1005 { 1007 1006 try { … … 1010 1009 curl_setopt($ch, CURLOPT_TIMEOUT, 30 ); 1011 1010 curl_setopt($ch, CURLOPT_URL, $to); 1011 curl_setopt($ch, CURLOPT_PORT, $port); 1012 1012 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE ); 1013 curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2 );1014 1013 curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 2 ); 1015 1014 curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE ); 1016 1015 curl_setopt($ch, CURLOPT_POST, TRUE ); 1017 curl_setopt($ch, CURLOPT_PORT, 80);1018 1016 curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query( $atts ) ); 1019 1017 //print_r(http_build_query( $atts ) ); -
exxica-social-marketing/tags/1.3.3/includes/class-exxica-social-marketing.php
r1668427 r1742053 61 61 62 62 $this->plugin_name = 'exxica-social-marketing'; 63 $this->version = '1.3. 2';63 $this->version = '1.3.3'; 64 64 65 65 $this->load_dependencies(); -
exxica-social-marketing/trunk/README.txt
r1668427 r1742053 96 96 == Changelog == 97 97 98 = 1.3.3 = 99 - Changed to SSL/TLS sending of data. 100 98 101 = 1.3.2 = 99 102 … … 218 221 219 222 == Upgrade Notice == 223 = 1.3.3 = 224 Update required for further use. 225 220 226 = 1.3.2 = 221 227 Update recommended. -
exxica-social-marketing/trunk/admin/class-exxica-social-marketing-status-update.php
r1441782 r1742053 136 136 $api_url = get_option('exxica_social_marketing_api_url_custom', 'publisher.exxica.com'); 137 137 138 $to = 'http ://'.$api_url.'/exxica/status';139 $response = $this->postData($to, $atts);138 $to = 'https://'.$api_url.'/exxica/status'; 139 $response = $this->postData($to, 443, $atts); 140 140 return $response; 141 141 } 142 142 143 private function postData( $to, $ atts )143 private function postData( $to, $port, $atts ) 144 144 { 145 145 try { … … 148 148 curl_setopt($ch, CURLOPT_TIMEOUT, 30 ); 149 149 curl_setopt($ch, CURLOPT_URL, $to); 150 curl_setopt($ch, CURLOPT_PORT, $port); 150 151 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE ); 151 curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2 );152 152 curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 2 ); 153 153 curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE ); -
exxica-social-marketing/trunk/includes/class-exxica-social-marketing-activator.php
r1668427 r1742053 30 30 $sql = ''; 31 31 32 $latest_version = '1.3. 2';32 $latest_version = '1.3.3'; 33 33 $installed_version = get_option('exxica_social_marketing_version', false); 34 34 -
exxica-social-marketing/trunk/includes/class-exxica-social-marketing-handlers.php
r1441782 r1742053 581 581 $to = sprintf("http://%s/exxica/publish", $api_url); 582 582 583 return $this->postData( $to, $atts );584 } 585 586 private function postData( $to, $ atts )583 return $this->postData( $to, 443, $atts ); 584 } 585 586 private function postData( $to, $port, $atts ) 587 587 { 588 588 try { … … 591 591 curl_setopt($ch, CURLOPT_TIMEOUT, 30 ); 592 592 curl_setopt($ch, CURLOPT_URL, $to); 593 curl_setopt($ch, CURLOPT_PORT, $port); 593 594 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE ); 594 curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2 );595 595 curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 2 ); 596 596 curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE ); 597 597 curl_setopt($ch, CURLOPT_POST, TRUE ); 598 curl_setopt($ch, CURLOPT_PORT, 80);599 598 curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query( $atts ) ); 600 599 //print_r(http_build_query( $atts ) ); … … 1000 999 $to = sprintf("http://%s/exxica/publish", $api_url); 1001 1000 1002 return $this->postData( $to, $atts );1003 } 1004 1005 private function postData( $to, $ atts )1001 return $this->postData( $to, 443, $atts ); 1002 } 1003 1004 private function postData( $to, $port, $atts ) 1006 1005 { 1007 1006 try { … … 1010 1009 curl_setopt($ch, CURLOPT_TIMEOUT, 30 ); 1011 1010 curl_setopt($ch, CURLOPT_URL, $to); 1011 curl_setopt($ch, CURLOPT_PORT, $port); 1012 1012 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE ); 1013 curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2 );1014 1013 curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 2 ); 1015 1014 curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE ); 1016 1015 curl_setopt($ch, CURLOPT_POST, TRUE ); 1017 curl_setopt($ch, CURLOPT_PORT, 80);1018 1016 curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query( $atts ) ); 1019 1017 //print_r(http_build_query( $atts ) ); -
exxica-social-marketing/trunk/includes/class-exxica-social-marketing.php
r1668427 r1742053 61 61 62 62 $this->plugin_name = 'exxica-social-marketing'; 63 $this->version = '1.3. 2';63 $this->version = '1.3.3'; 64 64 65 65 $this->load_dependencies();
Note: See TracChangeset
for help on using the changeset viewer.