Skip to content

Commit

Permalink
Update plugin version to 1.3
Browse files Browse the repository at this point in the history
The version number of the Influactive Modal Forms Brochure plugin was updated from 1.2 to 1.3 across several files including the plugin PHP file, the README files, and the language files (MO, PO, and POT). This update is vital to indicate the most recent plugin version and ensure compatibility with any version-dependent features or functionality.
  • Loading branch information
antoinegreuzard committed Jul 25, 2023
1 parent 13e9a37 commit 1a03348
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 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.2
1.3

## Installation

Expand Down
4 changes: 2 additions & 2 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://influactive.com
Tags: modal, form, brochure
Requires at least: 5.2
Tested up to: 6.2
Stable tag: 1.2
Stable tag: 1.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Requires PHP: 8.0
Expand Down Expand Up @@ -46,5 +46,5 @@ Add a link with #brochure and a parameter ?file= with the file ID. The result: #
= 1.1 =
* ADD modal and default file to load modal on pages/posts at load

= 1.0 =
= 1.3 =
* Initial release
Binary file modified languages/influactive-modal-form-brochure-en_US.mo
Binary file not shown.
4 changes: 2 additions & 2 deletions languages/influactive-modal-form-brochure-en_US.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
# This file is distributed under the GPL2.
msgid ""
msgstr ""
"Project-Id-Version: Modal Forms Brochure by Influactive 1.2\n"
"Project-Id-Version: Modal Forms Brochure by Influactive 1.3\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/influactive-modal-"
"form-brochure\n"
"Last-Translator: \n"
"Language-Team: English (United States)\n"
"MIME-Version: 1.0\n"
"MIME-Version: 1.3\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2023-07-25T09:51:48+00:00\n"
Expand Down
Binary file modified languages/influactive-modal-form-brochure-fr_FR.mo
Binary file not shown.
4 changes: 2 additions & 2 deletions languages/influactive-modal-form-brochure-fr_FR.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
# This file is distributed under the GPL2.
msgid ""
msgstr ""
"Project-Id-Version: Modal Forms Brochure by Influactive 1.2\n"
"Project-Id-Version: Modal Forms Brochure by Influactive 1.3\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/influactive-modal-"
"form-brochure\n"
"Last-Translator: \n"
"Language-Team: Français\n"
"MIME-Version: 1.0\n"
"MIME-Version: 1.3\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2023-07-25T09:51:48+00:00\n"
Expand Down
4 changes: 2 additions & 2 deletions languages/influactive-modal-form-brochure.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# This file is distributed under the GPL2.
msgid ""
msgstr ""
"Project-Id-Version: Modal Forms Brochure by Influactive 1.2\n"
"Project-Id-Version: Modal Forms Brochure by Influactive 1.3\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/influactive-modal-form-brochure\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"MIME-Version: 1.3\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2023-07-25T12:59:03+00:00\n"
Expand Down
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.2
* Version: 1.3
* Author: Influactive
* Author URI: https://influactive.com
* Text Domain: influactive-modal-form-brochure
Expand Down Expand Up @@ -67,8 +67,8 @@ function load_modal_form_scripts(): void
if (is_admin()) {
return;
}
wp_enqueue_script('influactive-modal-form-brochure', plugin_dir_url(__FILE__) . 'assets/js/modal-form-script.min.js', array(), '1.0', true);
wp_enqueue_style('influactive-modal-form-brochure', plugin_dir_url(__FILE__) . 'assets/css/modal-form-style.min.css', array(), '1.0');
wp_enqueue_script('influactive-modal-form-brochure', plugin_dir_url(__FILE__) . 'assets/js/modal-form-script.min.js', array(), '1.3', true);
wp_enqueue_style('influactive-modal-form-brochure', plugin_dir_url(__FILE__) . 'assets/css/modal-form-style.min.css', array(), '1.3');
}

add_action('wp_enqueue_scripts', 'load_modal_form_scripts');
Expand All @@ -90,8 +90,8 @@ function load_admin_scripts(string $hook): void
return;
}
wp_enqueue_media(); // Ajoutez cette ligne
wp_enqueue_script('influactive-modal-form-brochure-admin', plugin_dir_url(__FILE__) . 'assets/js/admin.min.js', array('choices-js'), '1.0', true);
wp_enqueue_style('influactive-modal-form-brochure-admin', plugin_dir_url(__FILE__) . 'assets/css/admin-style.min.css', array(), '1.0');
wp_enqueue_script('influactive-modal-form-brochure-admin', plugin_dir_url(__FILE__) . 'assets/js/admin.min.js', array('choices-js'), '1.3', true);
wp_enqueue_style('influactive-modal-form-brochure-admin', plugin_dir_url(__FILE__) . 'assets/css/admin-style.min.css', array(), '1.3');

// Enqueue choices.js CSS et JS
wp_enqueue_style('choices-css', 'https://cdnjs.cloudflare.com/ajax/libs/choices.js/10.2.0/choices.min.css', array(), '10.2.0');
Expand Down

0 comments on commit 1a03348

Please sign in to comment.