Version Description
- Add: wr2x_retina_extension, wr2x_delete_attachment, wr2x_get_pathinfo_from_image_src, wr2x_picture_rewrite in the API.
Download this release
Release Info
Developer | TigrouMeow |
Plugin | WP Retina 2x |
Version | 5.1.4 |
Comparing to | |
See all releases |
Code changes from version 5.1.2 to 5.1.4
- api.php +2 -2
- readme.txt +2 -2
- wp-retina-2x.php +2 -2
api.php
CHANGED
@@ -40,12 +40,12 @@ function wr2x_delete_attachment( $attach_id, $deleteFullSize = true ) {
|
|
40 |
|
41 |
function wr2x_get_pathinfo_from_image_src( $image_src ) {
|
42 |
global $wr2x_core;
|
43 |
-
return $wr2x_core->get_pathinfo_from_image_src( $
|
44 |
}
|
45 |
|
46 |
function wr2x_retina_extension() {
|
47 |
global $wr2x_core;
|
48 |
-
return $wr2x_core->retina_extension(
|
49 |
}
|
50 |
|
51 |
?>
|
40 |
|
41 |
function wr2x_get_pathinfo_from_image_src( $image_src ) {
|
42 |
global $wr2x_core;
|
43 |
+
return $wr2x_core->get_pathinfo_from_image_src( $image_src );
|
44 |
}
|
45 |
|
46 |
function wr2x_retina_extension() {
|
47 |
global $wr2x_core;
|
48 |
+
return $wr2x_core->retina_extension();
|
49 |
}
|
50 |
|
51 |
?>
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: TigrouMeow
|
|
3 |
Tags: retina, images, image, responsive, lazysizes, lazy, attachment, media, files, iphone, ipad, high-dpi
|
4 |
Requires at least: 3.5
|
5 |
Tested up to: 4.8
|
6 |
-
Stable tag: 5.1.
|
7 |
|
8 |
Make your website look beautiful and crisp on modern displays by creating and displaying retina images. WP 4.4+ is also supported and enhanced.
|
9 |
|
@@ -33,7 +33,7 @@ More information and tutorial available one http://meowapps.com/wp-retina-2x/.
|
|
33 |
|
34 |
== Changelog ==
|
35 |
|
36 |
-
= 5.1.
|
37 |
* Add: wr2x_retina_extension, wr2x_delete_attachment, wr2x_get_pathinfo_from_image_src, wr2x_picture_rewrite in the API.
|
38 |
|
39 |
= 5.0.5 =
|
3 |
Tags: retina, images, image, responsive, lazysizes, lazy, attachment, media, files, iphone, ipad, high-dpi
|
4 |
Requires at least: 3.5
|
5 |
Tested up to: 4.8
|
6 |
+
Stable tag: 5.1.4
|
7 |
|
8 |
Make your website look beautiful and crisp on modern displays by creating and displaying retina images. WP 4.4+ is also supported and enhanced.
|
9 |
|
33 |
|
34 |
== Changelog ==
|
35 |
|
36 |
+
= 5.1.4 =
|
37 |
* Add: wr2x_retina_extension, wr2x_delete_attachment, wr2x_get_pathinfo_from_image_src, wr2x_picture_rewrite in the API.
|
38 |
|
39 |
= 5.0.5 =
|
wp-retina-2x.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP Retina 2x
|
4 |
Plugin URI: http://meowapps.com
|
5 |
Description: Make your website look beautiful and crisp on modern displays by creating + displaying retina images.
|
6 |
-
Version: 5.1.
|
7 |
Author: Jordy Meow
|
8 |
Author URI: http://meowapps.com
|
9 |
Text Domain: wp-retina-2x
|
@@ -21,7 +21,7 @@ Originally developed for two of my websites:
|
|
21 |
global $wr2x_picturefill, $wr2x_retinajs, $wr2x_lazysizes,
|
22 |
$wr2x_retina_image, $wr2x_core;
|
23 |
|
24 |
-
$wr2x_version = '5.1.
|
25 |
$wr2x_retinajs = '2.0.0';
|
26 |
$wr2x_picturefill = '3.0.2';
|
27 |
$wr2x_lazysizes = '3.0.0';
|
3 |
Plugin Name: WP Retina 2x
|
4 |
Plugin URI: http://meowapps.com
|
5 |
Description: Make your website look beautiful and crisp on modern displays by creating + displaying retina images.
|
6 |
+
Version: 5.1.4
|
7 |
Author: Jordy Meow
|
8 |
Author URI: http://meowapps.com
|
9 |
Text Domain: wp-retina-2x
|
21 |
global $wr2x_picturefill, $wr2x_retinajs, $wr2x_lazysizes,
|
22 |
$wr2x_retina_image, $wr2x_core;
|
23 |
|
24 |
+
$wr2x_version = '5.1.4';
|
25 |
$wr2x_retinajs = '2.0.0';
|
26 |
$wr2x_picturefill = '3.0.2';
|
27 |
$wr2x_lazysizes = '3.0.0';
|