Plugin Directory

Changeset 3483523


Ignore:
Timestamp:
03/16/2026 07:38:44 AM (12 days ago)
Author:
asjain84
Message:

Minor Bug Fixes

Location:
blinkspeed/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • blinkspeed/trunk/blinkspeed.php

    r3481926 r3483523  
    33 * Plugin Name: BlinkSpeed
    44 * Description: Boost your WordPress site speed with advanced AI optimization techniques. Improve Core Web Vitals, achieve higher scores on Google PageSpeed Insights and GTmetrix, and deliver a faster, smoother browsing experience for your visitors.
    5  * Version: 1.0.5
     5 * Version: 1.0.6
    66 * Author: BlinkSpeed
    77 * Author URI: https://blinkspeed.ai/
     
    2424
    2525// Define plugin constants
    26 define( 'BLINKSPEED_VERSION', '1.0.5' );
     26define( 'BLINKSPEED_VERSION', '1.0.6' );
    2727define( 'BLINKSPEED_FILE', __FILE__ );
    2828define( 'BLINKSPEED_DIR', plugin_dir_path( __FILE__ ) );
  • blinkspeed/trunk/includes/Core.php

    r3481955 r3483523  
    817817                // Preload font files
    818818                if (in_array(strtolower($extension), array('otf', 'ttf', 'woff', 'woff2', 'gtf', 'mmm', 'pea', 'tpf', 'ttc', 'wtf'))) {
    819                     $preload_html .= '<link rel="preload" href="' . trim($link) . '" as="font" type="font/' . $extension . '" crossorigin fetchpriority="high">';
     819                    // $preload_html .= '<link rel="preload" href="' . trim($link) . '" as="font" type="font/' . $extension . '" crossorigin fetchpriority="high">';
    820820                }
    821821
     
    31713171                            $message .= " Critical CSS optimization in progress - Enqueue pending,";
    31723172                        }
    3173                     }elseif(!empty($urlsArray['second'])){
    3174                         $criticalUrl = $urlsArray['second'];
    3175                         $response = $this->blinkspeed_remote_request_blocking($criticalUrl);
    3176                         if(!empty($response)){
    3177                             list($status,$newMessage) = $this->blinkspeed_check_critical_css_response($response,$message,[],'', $criticalUrlPath);
    3178                             $message .= $newMessage;
    3179                         }else{
    3180                             $this->blinkspeed_delete_file($criticalUrlPath);
    3181                         }
    31823173                    }
    31833174                }
     
    31973188        $data = json_decode($response, true);
    31983189        if($data && !empty($data['processing']) && $data['processing'] == 'process-enqueued'){
    3199             unset($options['html']);
    3200             $criticalUrl['second'] = $blinkSpeedApiUrl . '?' . http_build_query($options);
    3201             $this->blinkspeed_create_file($criticalUrlPath, $this->blinkspeed_json_encode($criticalUrl));
    32023190            $status = 201;
    32033191            $message .= " Critical CSS optimization in progress - Enqueued,";
    3204         }elseif($data && !empty($data['urls']) && is_array($data['urls']) && !empty($data['auth'])){
     3192        } elseif($data && !empty($data['urls']) && is_array($data['urls']) && !empty($data['auth'])){
    32053193            $this->blinkspeed_save_assets_on_server($data['urls'], $data['auth']);
    32063194            $status = 201;
    32073195            $message .= " Critical CSS optimization in progress,";
    3208         }elseif($data && !empty($data['w3_css']) && !empty($data['path']) && !empty($data['filename'])){
     3196        } elseif($data && !empty($data['w3_css']) && !empty($data['path']) && !empty($data['filename'])){
    32093197            $status = 200;
    32103198            $message .= "Critical CSS optimization completed";
     
    38393827                        $data = [];
    38403828                        $data['url'] = $url;
    3841                         $ext = pathinfo($newPath, PATHINFO_EXTENSION);
     3829                        $ext = pathinfo($cssPath, PATHINFO_EXTENSION);
    38423830                        $data['content'] = ($ext === 'css') ? $content : base64_encode($content);
    38433831                        $cssData[] = $data;
  • blinkspeed/trunk/languages/blinkspeed.pot

    r3481926 r3483523  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: BlinkSpeed 1.0.5\n"
     5"Project-Id-Version: BlinkSpeed 1.0.6\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/blinkspeed/\n"
    77"POT-Creation-Date: 2026-02-04 00:00+0000\n"
  • blinkspeed/trunk/readme.txt

    r3482022 r3483523  
    55Tested up to: 6.9
    66Requires PHP: 7.4
    7 Stable tag: 1.0.5
     7Stable tag: 1.0.6
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    346346= 1.0.5 =
    347347Initial stable release of BlinkSpeed optimization plugin.
     348
     349= 1.0.6 =
     350
     351* Minor Bug Fixes
Note: See TracChangeset for help on using the changeset viewer.