Plugin Directory

Changeset 1742053


Ignore:
Timestamp:
10/06/2017 08:15:17 AM (8 years ago)
Author:
exxica
Message:

v1.3.3

Location:
exxica-social-marketing
Files:
7 edited
6 copied

Legend:

Unmodified
Added
Removed
  • exxica-social-marketing/tags/1.3.3/README.txt

    r1668427 r1742053  
    9696== Changelog ==
    9797
     98= 1.3.3 =
     99- Changed to SSL/TLS sending of data.
     100
    98101= 1.3.2 =
    99102
     
    218221
    219222== Upgrade Notice ==
     223= 1.3.3 =
     224Update required for further use.
     225
    220226= 1.3.2 =
    221227Update recommended.
  • exxica-social-marketing/tags/1.3.3/admin/class-exxica-social-marketing-status-update.php

    r1441782 r1742053  
    136136        $api_url = get_option('exxica_social_marketing_api_url_custom', 'publisher.exxica.com');
    137137
    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);
    140140        return $response;
    141141    }
    142142
    143     private function postData( $to, $atts )
     143    private function postData( $to, $port, $atts )
    144144    {
    145145        try {
     
    148148            curl_setopt($ch, CURLOPT_TIMEOUT, 30 );
    149149            curl_setopt($ch, CURLOPT_URL, $to);
     150            curl_setopt($ch, CURLOPT_PORT, $port);
    150151            curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE );
    151             curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2 );
    152152            curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 2 );
    153153            curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE );
  • exxica-social-marketing/tags/1.3.3/includes/class-exxica-social-marketing-activator.php

    r1668427 r1742053  
    3030        $sql = '';
    3131
    32         $latest_version = '1.3.2';
     32        $latest_version = '1.3.3';
    3333        $installed_version = get_option('exxica_social_marketing_version', false);
    3434
  • exxica-social-marketing/tags/1.3.3/includes/class-exxica-social-marketing-handlers.php

    r1441782 r1742053  
    581581        $to = sprintf("http://%s/exxica/publish", $api_url);
    582582
    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 )
    587587    {
    588588        try {
     
    591591            curl_setopt($ch, CURLOPT_TIMEOUT, 30 );
    592592            curl_setopt($ch, CURLOPT_URL, $to);
     593            curl_setopt($ch, CURLOPT_PORT, $port);
    593594            curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE );
    594             curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2 );
    595595            curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 2 );
    596596            curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE );
    597597            curl_setopt($ch, CURLOPT_POST, TRUE );
    598             curl_setopt($ch, CURLOPT_PORT, 80);
    599598            curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query( $atts ) );
    600599            //print_r(http_build_query( $atts ) );
     
    1000999        $to = sprintf("http://%s/exxica/publish", $api_url);
    10011000
    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 )
    10061005    {
    10071006        try {
     
    10101009            curl_setopt($ch, CURLOPT_TIMEOUT, 30 );
    10111010            curl_setopt($ch, CURLOPT_URL, $to);
     1011            curl_setopt($ch, CURLOPT_PORT, $port);
    10121012            curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE );
    1013             curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2 );
    10141013            curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 2 );
    10151014            curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE );
    10161015            curl_setopt($ch, CURLOPT_POST, TRUE );
    1017             curl_setopt($ch, CURLOPT_PORT, 80);
    10181016            curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query( $atts ) );
    10191017            //print_r(http_build_query( $atts ) );
  • exxica-social-marketing/tags/1.3.3/includes/class-exxica-social-marketing.php

    r1668427 r1742053  
    6161
    6262        $this->plugin_name = 'exxica-social-marketing';
    63         $this->version = '1.3.2';
     63        $this->version = '1.3.3';
    6464
    6565        $this->load_dependencies();
  • exxica-social-marketing/trunk/README.txt

    r1668427 r1742053  
    9696== Changelog ==
    9797
     98= 1.3.3 =
     99- Changed to SSL/TLS sending of data.
     100
    98101= 1.3.2 =
    99102
     
    218221
    219222== Upgrade Notice ==
     223= 1.3.3 =
     224Update required for further use.
     225
    220226= 1.3.2 =
    221227Update recommended.
  • exxica-social-marketing/trunk/admin/class-exxica-social-marketing-status-update.php

    r1441782 r1742053  
    136136        $api_url = get_option('exxica_social_marketing_api_url_custom', 'publisher.exxica.com');
    137137
    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);
    140140        return $response;
    141141    }
    142142
    143     private function postData( $to, $atts )
     143    private function postData( $to, $port, $atts )
    144144    {
    145145        try {
     
    148148            curl_setopt($ch, CURLOPT_TIMEOUT, 30 );
    149149            curl_setopt($ch, CURLOPT_URL, $to);
     150            curl_setopt($ch, CURLOPT_PORT, $port);
    150151            curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE );
    151             curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2 );
    152152            curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 2 );
    153153            curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE );
  • exxica-social-marketing/trunk/includes/class-exxica-social-marketing-activator.php

    r1668427 r1742053  
    3030        $sql = '';
    3131
    32         $latest_version = '1.3.2';
     32        $latest_version = '1.3.3';
    3333        $installed_version = get_option('exxica_social_marketing_version', false);
    3434
  • exxica-social-marketing/trunk/includes/class-exxica-social-marketing-handlers.php

    r1441782 r1742053  
    581581        $to = sprintf("http://%s/exxica/publish", $api_url);
    582582
    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 )
    587587    {
    588588        try {
     
    591591            curl_setopt($ch, CURLOPT_TIMEOUT, 30 );
    592592            curl_setopt($ch, CURLOPT_URL, $to);
     593            curl_setopt($ch, CURLOPT_PORT, $port);
    593594            curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE );
    594             curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2 );
    595595            curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 2 );
    596596            curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE );
    597597            curl_setopt($ch, CURLOPT_POST, TRUE );
    598             curl_setopt($ch, CURLOPT_PORT, 80);
    599598            curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query( $atts ) );
    600599            //print_r(http_build_query( $atts ) );
     
    1000999        $to = sprintf("http://%s/exxica/publish", $api_url);
    10011000
    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 )
    10061005    {
    10071006        try {
     
    10101009            curl_setopt($ch, CURLOPT_TIMEOUT, 30 );
    10111010            curl_setopt($ch, CURLOPT_URL, $to);
     1011            curl_setopt($ch, CURLOPT_PORT, $port);
    10121012            curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE );
    1013             curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2 );
    10141013            curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 2 );
    10151014            curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE );
    10161015            curl_setopt($ch, CURLOPT_POST, TRUE );
    1017             curl_setopt($ch, CURLOPT_PORT, 80);
    10181016            curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query( $atts ) );
    10191017            //print_r(http_build_query( $atts ) );
  • exxica-social-marketing/trunk/includes/class-exxica-social-marketing.php

    r1668427 r1742053  
    6161
    6262        $this->plugin_name = 'exxica-social-marketing';
    63         $this->version = '1.3.2';
     63        $this->version = '1.3.3';
    6464
    6565        $this->load_dependencies();
Note: See TracChangeset for help on using the changeset viewer.