Skip to content

Commit 2d48913

Browse files
author
Antti Kuosmanen
committed
WP Libre Forms 1.1 release
1 parent 4c10cd7 commit 2d48913

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

classes/class-cpt-wplf-form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ function maybe_enqueue_frontend_script() {
512512
global $post;
513513

514514
// register the script, but only enqueue it if the current post contains a form in it
515-
wp_register_script( 'wplf-form-js', plugins_url( 'assets/scripts/wplf-form.js', dirname(__FILE__) ), array(), '1.0.2', true );
515+
wp_register_script( 'wplf-form-js', plugins_url( 'assets/scripts/wplf-form.js', dirname(__FILE__) ), array(), WPLF_VERSION, true );
516516

517517
if( is_a( $post, 'WP_Post' ) && ( has_shortcode( $post->post_content, 'libre-form') || $post->post_type === 'wplf-form') ) {
518518
wp_enqueue_script( 'wplf-form-js' );

readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Contributors: Zuige
33
Tags: Contact, Form, Lead, Collector, HTML, Builder
44
Donate link: https://github.com/anttiviljami
55
Requires at least: 4.2
6-
Tested up to: 4.4.4
7-
Stable tag: 1.0.2
6+
Tested up to: 4.6.1
7+
Stable tag: 1.1
88
License: GPLv3
99
License URI: http://www.gnu.org/licenses/gpl-3.0.html
1010

wp-libre-form.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin name: WP Libre Form
44
* Plugin URI: https://github.com/anttiviljami/wp-libre-form
55
* Description: A minimal HTML form builder for WordPress; made for developers
6-
* Version: 1.0.2
6+
* Version: 1.1
77
* Author: @anttiviljami
88
* Author URI: https://github.com/anttiviljami/
99
* License: GPLv3
@@ -31,6 +31,8 @@
3131

3232
if ( ! class_exists( 'WP_Libre_Form' ) ) :
3333

34+
define( 'WPLF_VERSION', '1.1' );
35+
3436
class WP_Libre_Form {
3537
public static $instance;
3638

0 commit comments

Comments
 (0)