Skip to content

Commit

Permalink
Fix regression with T-23371
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Dec 12, 2024
1 parent bb4cffd commit 640c82c
Show file tree
Hide file tree
Showing 7 changed files with 460 additions and 10 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### 3.1.6: 2024-12-12

* Fix regression with T-23371, use minified version of instant.page (minified with `npx terser instantpage.js -o instantpage.min.js --compress --mangle`)
* Bump tested WordPress version to 6.7.1

### 3.1.5: 2024-12-11

* Allow deregistering more styles with `air_helper_styles_to_deregister` filter (T-23392)
Expand Down
10 changes: 5 additions & 5 deletions air-helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
* Plugin Name: Air helper
* Plugin URI: https://github.com/digitoimistodude/air-helper
* Description: Plugin provides helpful functions and modifications for WordPress projects.
* Version: 3.1.5
* Version: 3.1.6
* Author: Digitoimisto Dude Oy
* Author URI: https://www.dude.fi
* Requires at least: 5.5
* Tested up to: 6.6.2
* Tested up to: 6.7.1
* License: GPL-3.0+
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
*
Expand All @@ -28,9 +28,9 @@
* @return integer current version of plugin
*/
function air_helper_version() {
// Version: 3.1.5
// 5 integers, e. g. 3.1.5 -> 31005
return 31005;
// Version: 3.1.6
// 5 integers, e. g. 3.1.6 -> 31006
return 31006;
} // end air_helper_version

/**
Expand Down
448 changes: 446 additions & 2 deletions assets/js/instantpage.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/js/instantpage.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"plugin"
],
"license": "GPL-3.0+",
"version": "3.1.5",
"version": "3.1.6",
"authors": [
{
"name": "Timi Wahalahti",
Expand Down
2 changes: 1 addition & 1 deletion inc/misc.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/
add_action( 'wp_enqueue_scripts', 'air_helper_enqueue_instantpage_script' );
function air_helper_enqueue_instantpage_script() {
wp_enqueue_script( 'instantpage', air_helper_base_url() . '/assets/js/instantpage.js', [], '5.2.0', true );
wp_enqueue_script( 'instantpage', air_helper_base_url() . '/assets/js/instantpage.min.js', [], '5.2.0', true );
} // end air_helper_enqueue_instantpage_script

/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "air-helper",
"version": "3.1.5",
"version": "3.1.6",
"description": "Plugin provides helpful functions and modifications for WordPress projects.",
"main": "air-helper.php",
"dependencies": {},
Expand Down

0 comments on commit 640c82c

Please sign in to comment.