Plugin Directory

Changeset 2039435


Ignore:
Timestamp:
02/26/2019 07:04:28 AM (7 years ago)
Author:
premiumthemes
Message:

releasing version 1.0.1

Location:
jpeg-png-compressor/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • jpeg-png-compressor/trunk/admin/pjci_admin_page.php

    r2020332 r2039435  
    515515$pjci_body = json_encode($encode_data);
    516516$pjci_url = "register";
    517 $pjci_request_response_array_set = pjci_requests_post($pjci_url,$pjci_body);
     517$pjci_request_response_array_set = pjci_requests_post($pjci_url,$pjci_body,'');
    518518$pjci_request_response = json_decode($pjci_request_response_array_set['response_body']);
    519519$response_code = (int)$pjci_request_response_array_set['response_code'];
  • jpeg-png-compressor/trunk/png-compressor.php

    r2020332 r2039435  
    55Description: Increase your website's SEO ranking by fasten page loading speed, number of visitors and ultimately your sales by optimizing any JPEG or PNG images on your website.
    66Author: premiumthemes
    7 Version: 1.0
     7Version: 1.0.1
    88Author URI: https://www.pngcompressor.com/
    99*/
    1010
    1111if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    12 define ('pjci_version', '1.0');
     12define ('pjci_version', '1.0.1');
    1313
    1414/*define global variables*/
     
    7979function pjci_requests_post($pjci_url,$pjci_body,$pjci_header){
    8080    $url = pjci_request_url.$pjci_url;
     81    if(!empty($pjci_header)){
    8182    $headers = array('Content-Type'=>'application/json','Authorization'=>$pjci_header);
     83    }else{
     84    $headers = array('Content-Type'=>'application/json');   
     85    }
     86   
    8287$post_remote = wp_remote_post( $url,
    8388    array(
  • jpeg-png-compressor/trunk/readme.txt

    r2020354 r2039435  
    55Tags: optimize, compress, shrink, faster, improve, images, picture, pictures, photo, photos, image, jpeg, jpg, png, lossy, crunch, minify, smush, save, bandwidth, website, speed, performance, george, wordpress app, SEO, lossy, wp compress, sitespeed, shortpixel, kraken, PageRank, cheetaho
    66Requires at least: 3.3.1
    7 Tested up to: 5.0
     7Tested up to: 5.1
    88Stable tag: 4.3
    99License: GPLv2 or later
     
    9191== Changelog ==
    9292
     93= 1.0.1 =
     94* Small bug fixes.
     95* Compatible with WordPress 5.1.
     96
    9397
    9498= 1.0 =
Note: See TracChangeset for help on using the changeset viewer.