Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

Commit

Permalink
Merge pull request #25 from boogah/js-version
Browse files Browse the repository at this point in the history
Updated `wp_enqueue_script` version argument
  • Loading branch information
boogah committed Oct 9, 2015
2 parents 00455ed + 4d7311a commit 35ea012
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
5 changes: 4 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Contributors: boogah, gyrus, simonwheatley, sparanoid, jpry, zyphonic
Tags: passwords, security, users, profile
Requires at least: 3.5
Tested up to: 4.3
Stable tag: 1.6.2
Stable tag: 1.6.3
License URI: http://www.gnu.org/licenses/gpl-2.0.html

## Description
Expand Down Expand Up @@ -59,6 +59,9 @@ The default array includes: `subscriber` and `contributor`.

## Changelog

### 1.6.3
* Updated `wp_enqueue_script` version argument

### 1.6.2
* Fixed issue where password resets weren't working
* Tested to WordPress 4.3.1
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://www.girldevelopit.com/donate
Tags: passwords, security, users, profile
Requires at least: 3.5
Tested up to: 4.3.1
Stable tag: 1.6.2
Stable tag: 1.6.3

Forces users to enter something strong when updating their passwords.

Expand Down Expand Up @@ -56,6 +56,9 @@ The default array includes: `subscriber` and `contributor`.

== Changelog ==

= 1.6.3 =
* Updated `wp_enqueue_script` version argument

= 1.6.2 =
* Fixed issue where password resets weren't working
* Tested to WordPress 4.3.1
Expand Down
6 changes: 3 additions & 3 deletions slt-force-strong-passwords.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin Name: Force Strong Passwords
Plugin URI: https://github.com/boogah/Force-Strong-Passwords/
Description: Forces users to use something strong when updating their passwords.
Version: 1.6.2
Version: 1.6.3
Author: Jason Cosper
Author URI: http://jasoncosper.com/
License: GPLv2
Expand Down Expand Up @@ -79,9 +79,9 @@ function slt_fsp_init() {

// Enqueue force zxcvbn check script
function slt_fsp_enqueue_force_zxcvbn_script() {
wp_enqueue_script( 'slt-fsp-force-zxcvbn', plugins_url( 'force-zxcvbn.min.js', __FILE__ ), array( 'jquery' ), '1.0' );
wp_enqueue_script( 'slt-fsp-force-zxcvbn', plugins_url( 'force-zxcvbn.min.js', __FILE__ ), array( 'jquery' ), '1.6.3' );
// Also change hint
wp_enqueue_script( 'slt-fsp-admin-js', plugins_url( 'js-admin.min.js', __FILE__ ), array( 'jquery' ), '1.0' );
wp_enqueue_script( 'slt-fsp-admin-js', plugins_url( 'js-admin.min.js', __FILE__ ), array( 'jquery' ), '1.6.3' );
}


Expand Down

0 comments on commit 35ea012

Please sign in to comment.