Plugin Directory

Changeset 2870344


Ignore:
Timestamp:
02/24/2023 12:18:53 AM (3 years ago)
Author:
pluginoptimizer
Message:

Tagging version trunk

Location:
plugin-optimizer/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • plugin-optimizer/trunk/README.txt

    r2869665 r2870344  
    33Tags: Plugin Optimizer, Speed Up, Optimization, Save Time, Page Speed, Performance
    44Requires at least: 5.0
    5 Tested up to: 5.7
    6 Stable tag: 1.3.6
     5Tested up to: 6.1.1
     6Stable tag: 1.3.7
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    124124
    125125== Changelog ==
    126 = 1.3.6 = August 2022
     126= 1.3.7 = February 2023
     127* Fix: Bug Fixes
     128
     129= 1.3.6 = February 2023
    127130* Change: Remove Prospector features
    128131
  • plugin-optimizer/trunk/admin/pages/page-overview.php

    r2869665 r2870344  
    33  if( get_option('just-activated') == 'true' ){
    44    delete_option( 'po-just-activated' );
    5   }
    6 
    7   $available_count = get_option('po_available_filters');
    8 
    9   if(!$available_count){
    10 
    11       $endpoints = array();
    12       $all_plugins = get_plugins();
    13       $all_plugins = array('plugins'=>array_keys($all_plugins));
    14 
    15 
    16       // the option only exists if have already retrieved filters from server
    17       if( $po_filter_retrieval = get_option( 'po_admin_menu_list') ){
    18           $all_plugins = array_merge(array('endpoints' => $po_filter_retrieval['endpoints']), $all_plugins);
    19       }
    20 
    21       $ch = curl_init();
    22       $json = json_encode($all_plugins);
    23 
    24       curl_setopt($ch, CURLOPT_URL,  PROSPECTOR_URL.'api/v1/count');
    25       curl_setopt($ch, CURLOPT_POST, 1);
    26       curl_setopt($ch, CURLOPT_POSTFIELDS, $json);
    27       curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    28       curl_setopt($ch, CURLOPT_HTTPHEADER, [
    29             'Content-Type: application/json',                   
    30             'Content-Length: ' . strlen($json)
    31       ]);
    32 
    33       $server_output = curl_exec($ch);
    34       $server_output = json_decode( $server_output, $assoc_array = false );
    35       update_option('po_available_filters', $server_output->data->count);
    36       $available_count = $server_output->data->count;
    375  }
    386
  • plugin-optimizer/trunk/includes/class-po-mu.php

    r2713489 r2870344  
    117117
    118118        $this->current_url_host  = $pathinfo['host'];
    119         $this->current_url_path  = $pathinfo['path'];       
    120         parse_str($pathinfo['query'], $this->current_url_params);
     119        $this->current_url_path  = $pathinfo['path'];   
     120        if( !empty($pathinfo['query']) ) {
     121            parse_str($pathinfo['query'], $this->current_url_params);
     122        }
    121123
    122124        $this->set_hooks();
  • plugin-optimizer/trunk/plugin-optimizer.php

    r2869665 r2870344  
    55 * Plugin URI:        https://pluginoptimizer.com
    66 * Description:       The Most Powerful Performance Plugin for WordPress is now available for FREE.
    7  * Version:           1.3.6
     7 * Version:           1.3.7
    88 * Author:            Plugin Optimizer
    99 * Author URI:        https://pluginoptimizer.com/about/
Note: See TracChangeset for help on using the changeset viewer.