File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,9 @@ This plugin will not work out the box with the following plugins (unless they ar
4343
4444== Changelog ==
4545
46+ = 1.3.1 =
47+ * Removed PHP warning
48+
4649= 1.3.0 =
4750* Ability to exclude files by filename or queue id from being loaded asynchronously
4851
Original file line number Diff line number Diff line change 33Plugin Name: Asynchronous Javascript
44Plugin URI: http://wordpress.org/extend/plugins/asynchronous-javascript/
55Description: Improve page load performance by asynchronously loading javascript using head.js
6- Version: 1.3.0
6+ Version: 1.3.1
77Author: Paris Holley
88Author URI: http://www.linkedin.com/in/parisholley
99Author Email: mail@parisholley.com
@@ -131,7 +131,7 @@ function filter_headjs(){
131131 $ exclude = false ;
132132
133133 foreach ($ files as $ file ){
134- if (strpos ($ depend ['src ' ], $ file ) !== false ){
134+ if (! empty ( $ file ) && strpos ($ depend ['src ' ], $ file ) !== false ){
135135 $ exclude = true ;
136136 break ;
137137 }
You can’t perform that action at this time.
0 commit comments