Skip to content

Commit

Permalink
Bump version to 1.4 in documentation and enqueued scripts
Browse files Browse the repository at this point in the history
Version in various files like `modal-form-brochure.php`, `package.json`, `README.md` and `README.txt` were updated from 1.3 to 1.4. These changes follow a new release with updated features. This ensures that documentation and versioning across all necessary files are consistent. This also ensures that the latest version of scripts and styles are loaded.
  • Loading branch information
Antoine Greuzard committed Aug 3, 2023
1 parent cb5302e commit 1c06222
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Influactive ([https://influactive.com](https://influactive.com))

## Version

1.3
1.4

## Installation

Expand Down
3 changes: 0 additions & 3 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,5 @@ Add a link with #brochure and a parameter ?file= with the file ID. The result: #
![Settings page](https://i.ibb.co/XzMdHbM/plugin-settings.png)

== Changelog ==
= 1.1 =
* ADD modal and default file to load modal on pages/posts at load

= 1.3 =
* Initial release
10 changes: 5 additions & 5 deletions modal-form-brochure.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: Modal Forms Brochure by Influactive
* Description: A plugin to display a modal with a form on a link click (#brochure and a parameter ?file=ID).
* Version: 1.3
* Version: 1.4
* Author: Influactive
* Author URI: https://influactive.com
* Text Domain: influactive-modal-form-brochure
Expand Down Expand Up @@ -60,8 +60,8 @@ function influactive_load_modal_form_scripts(): void {
if ( is_admin() ) {
return;
}
wp_enqueue_script( 'influactive-modal-form-brochure', plugin_dir_url( __FILE__ ) . 'dist/frontEnd.bundled.js', array(), '1.3', true );
wp_enqueue_style( 'influactive-modal-form-brochure', plugin_dir_url( __FILE__ ) . 'dist/modal-form-script.bundled.css', array(), '1.3' );
wp_enqueue_script( 'influactive-modal-form-brochure', plugin_dir_url( __FILE__ ) . 'dist/frontEnd.bundled.js', array(), '1.4', true );
wp_enqueue_style( 'influactive-modal-form-brochure', plugin_dir_url( __FILE__ ) . 'dist/modal-form-script.bundled.css', array(), '1.4' );
}

add_action( 'wp_enqueue_scripts', 'influactive_load_modal_form_scripts' );
Expand All @@ -78,8 +78,8 @@ function influactive_load_admin_scripts( string $hook ): void {
return;
}
wp_enqueue_media();
wp_enqueue_script( 'influactive-modal-form-brochure-admin', plugin_dir_url( __FILE__ ) . 'dist/backEnd.bundled.js', array(), '1.3', true );
wp_enqueue_style( 'influactive-modal-form-brochure-admin', plugin_dir_url( __FILE__ ) . 'dist/admin.bundled.css', array(), '1.3' );
wp_enqueue_script( 'influactive-modal-form-brochure-admin', plugin_dir_url( __FILE__ ) . 'dist/backEnd.bundled.js', array(), '1.4', true );
wp_enqueue_style( 'influactive-modal-form-brochure-admin', plugin_dir_url( __FILE__ ) . 'dist/admin.bundled.css', array(), '1.4' );
}

add_action( 'admin_enqueue_scripts', 'influactive_load_admin_scripts' );
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": "influactive-forms",
"version": "1.3.2.1",
"version": "1.4",
"description": "A plugin to create custom forms and display them anywhere on your website.",
"type": "module",
"scripts": {
Expand Down

0 comments on commit 1c06222

Please sign in to comment.