Skip to content

Commit af1ccdf

Browse files
committed
git svn sucks
1 parent 4cf5858 commit af1ccdf

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

jq_img_lazy_load.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
Plugin Name: jQuery lazy load plugin
55
Plugin URI: http://github.com/ayn/wp-jquery-lazy-load/
66
Description: a quick and dirty wordpress plugin to enable image lazy loading.
7-
Version: v0.3
7+
Version: v0.4
88
Author: Andrew Ng
99
Author URI: http://blog.andrewng.com
1010
*/
1111

1212
function jquery_lazy_load_headers() {
13-
$plugin_path = plugins_url('/wp-jquery-lazy-load/');
13+
$plugin_path = plugins_url('/', __FILE__);
1414
$lazy_url = $plugin_path . 'javascripts/jquery.lazyload.pack.js';
1515
$jq_url = $plugin_path . 'javascripts/jquery.js';
1616
wp_deregister_script('jquery');
@@ -19,7 +19,7 @@ function jquery_lazy_load_headers() {
1919
}
2020

2121
function jquery_lazy_load_ready() {
22-
$placeholdergif = plugins_url('/wp-jquery-lazy-load/images/grey.gif');
22+
$placeholdergif = plugins_url('images/grey.gif', __FILE__);
2323
echo <<<EOF
2424
<script type="text/javascript">
2525
$(document).ready(function($){

readme.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
=== jQuery Image Lazy Load WP ===
22
Contributors: ayn
33
Tags: images, jquery, javascript, optimization
4-
Requires at least: 2.0
5-
Tested up to: 2.7.x
6-
Stable tag: 0.3
4+
Requires at least: 2.8
5+
Tested up to: 2.8.x
6+
Stable tag: 0.4
77

88
add jquery lazy loading to images
99

0 commit comments

Comments
 (0)