Plugin Directory

Changeset 1743870


Ignore:
Timestamp:
10/10/2017 11:51:11 AM (8 years ago)
Author:
silverice
Message:

Make source compatible to PHP 5.2

Location:
nicechat
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • nicechat/tags/0.1.2/README.txt

    r1743865 r1743870  
    1111Text Domain: nice-chat-to-wp
    1212Tested up to: 4.8.2
     13Requires PHP: 5.2.10
    1314Description: The NiceChat-to-WP give you an ability to one-click integration your WordPress/WooCommerce blog with the NiceChat - the first eCommerce oriented chat.
    1415
  • nicechat/tags/0.1.2/admin/class-nice-chat-to-wp-admin-exporter.php

    r1743865 r1743870  
    728728        // prepare query-headers
    729729        $sign = $this->make_sign($payload, $secret, preg_replace('/\?.*/', '', $action), $method);
    730         $headers = [
     730        $headers = array(
    731731            'Content-Type: application/json',
    732732            'X-API-Key: '.$key,
    733733            'X-API-Sign: '.$sign
    734         ];
     734        );
    735735
    736736        // run cURL query
     
    751751        if ($rez === false || $rez === null) {
    752752            $rez = array('status' => 'err');
    753             $code = curl_getinfo($ch)['http_code'];
     753            $code = curl_getinfo($ch);
     754            $code = $code['http_code'];
    754755            switch ($code) {
    755756                case 404:
  • nicechat/tags/0.1.2/nice-chat-to-wp.php

    r1743865 r1743870  
    55* Tags: nicechat, chat, buttonchat, live, chat, livechat
    66* Plugin Name: NiceChat_to_WP
    7 * Version: 0.1.1
     7* Version: 0.1.2
    88* Author: NiceChat Team
    99* Author URI: https://nice.chat/
     
    1212* Text Domain: nice-chat-to-wp
    1313* Tested up to: 4.8.2
     14* Requires PHP: 5.2.10
    1415* Description: The NiceChat-to-WP give you an ability to one-click integration your WordPress/WooCommerce blog with the NiceChat - the first eCommerce oriented chat.
    1516*/
  • nicechat/trunk/README.txt

    r1743846 r1743870  
    1111Text Domain: nice-chat-to-wp
    1212Tested up to: 4.8.2
     13Requires PHP: 5.2.10
    1314Description: The NiceChat-to-WP give you an ability to one-click integration your WordPress/WooCommerce blog with the NiceChat - the first eCommerce oriented chat.
    1415
  • nicechat/trunk/admin/class-nice-chat-to-wp-admin-exporter.php

    r1743832 r1743870  
    728728        // prepare query-headers
    729729        $sign = $this->make_sign($payload, $secret, preg_replace('/\?.*/', '', $action), $method);
    730         $headers = [
     730        $headers = array(
    731731            'Content-Type: application/json',
    732732            'X-API-Key: '.$key,
    733733            'X-API-Sign: '.$sign
    734         ];
     734        );
    735735
    736736        // run cURL query
     
    751751        if ($rez === false || $rez === null) {
    752752            $rez = array('status' => 'err');
    753             $code = curl_getinfo($ch)['http_code'];
     753            $code = curl_getinfo($ch);
     754            $code = $code['http_code'];
    754755            switch ($code) {
    755756                case 404:
  • nicechat/trunk/nice-chat-to-wp.php

    r1743865 r1743870  
    1212* Text Domain: nice-chat-to-wp
    1313* Tested up to: 4.8.2
     14* Requires PHP: 5.2.10
    1415* Description: The NiceChat-to-WP give you an ability to one-click integration your WordPress/WooCommerce blog with the NiceChat - the first eCommerce oriented chat.
    1516*/
Note: See TracChangeset for help on using the changeset viewer.