Skip to content

Commit

Permalink
Merge pull request #22 from Slobork/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Slobork authored Nov 29, 2024
2 parents a1f3bb1 + e80a891 commit 6ed7ada
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
6 changes: 3 additions & 3 deletions booster-sweeper.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Plugin Name: Booster Sweeper
* Description: Boost the speed by sweeping assets your pages do not need
* Description: Boost the Website speed by sweeping assets your pages do not need!
*
* PHP version 7.3.5
*
Expand All @@ -13,7 +13,7 @@
*
* Author: MaxPressy
* Author URI: https://maxpressy.com
* Version: 1.0.5
* Version: 1.0.6
* Text Domain: booster_sweeper
* Domain Path: /languages
* Requires at least: 6.0
Expand All @@ -27,7 +27,7 @@
if (! function_exists('get_plugin_data')) {
include_once ABSPATH .'wp-admin/includes/plugin.php';
}
$plugin_data = get_plugin_data(__FILE__);
$plugin_data = get_plugin_data(__FILE__, true, false);
define('BOOSTER_SWEEPER', ($plugin_data && $plugin_data['Name']) ? $plugin_data['Name'] : 'Booster Sweeper');
define('BOOSTER_SWEEPER_VERSION', ($plugin_data && $plugin_data['Version']) ? $plugin_data['Version'] : '1.0.0');

Expand Down
10 changes: 7 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
=== Booster Sweeper: WordPress Asset Cleanup ===

Contributors: MaxPressy
Tags: speed, performance, pagespeed, dequeue, seo, assets
Tested up to: 6.4
Stable tag: 1.0.5
Tags: speed, performance, pagespeed, dequeue, assets
Tested up to: 6.7
Stable tag: 1.0.6
Requires at least: 6.0
Requires PHP: 7.3.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Boost the Website speed by sweeping assets your pages do not need!

== Description ==
Booster Sweeper helps you to optimize the Website speed further over the common caching and code minification plugins. <a href="https://maxpressy.com/booster-sweeper/asset-cleanup-wordpress-plugin-manager/?mtm_campaign=wpPluginPage&mtm_kwd=boostersweeper&mtm_placement=top" target="_blank">Booster Sweeper</a> allows you to dequeue assets, i.e. unload the unused CSS or JavaScript files. These are the files that aren't necessary for certain page.
Expand Down Expand Up @@ -66,6 +67,9 @@ After activating the plugin, in your WordPress Dashboard find the section "Boost


== Changelog ==
= 1.0.6 - 2024-11-29 =
* Fix: Text domain loading, due to the missing parameters on the get_plugin_data

= 1.0.5 - 2023-11-13 =
* Change the way the plugin version is retrieved and printed

Expand Down

0 comments on commit 6ed7ada

Please sign in to comment.