Skip to content

Commit 4bc3295

Browse files
committed
Merge pull request #180 from ResponsiveImagesCG/release/2.5.0
Release 2.5.0 prep
2 parents c083c36 + 34390e4 commit 4bc3295

File tree

3 files changed

+23
-5
lines changed

3 files changed

+23
-5
lines changed

readme.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,20 @@ The only external dependency included in this plugin is [Picturefill](http://sco
139139
We use a hook because if you attempt to dequeue a script before it's enqueued, wp_dequeue_script has no effect. (If it's still being loaded, you may need to specify a [priority](http://codex.wordpress.org/Function_Reference/add_action).)
140140

141141
## Version
142-
2.4.0
142+
143+
2.5.0
143144

144145
## Changelog
145146

147+
- Responsify all post images by adding `srcset` and `sizes` through a display filter.
148+
- Improve method used to build paths in `tevkori_get_srcset_array()`
149+
- Adds linthub config files
150+
- Returns single source arrays in `tevkori_get_srcset_array()`
151+
- Add tests for PHP7 to our Travis matrix
152+
- Add test coverage for `tevkori_filter_attachment_image_attributes()`
153+
154+
**2.4.0**
155+
146156
- Added filter for tevkori_get_sizes, with tests
147157
- Added Composer support
148158
- Compare aspect ratio in relative values, not absolute values

readme.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Donate link: https://app.etapestry.com/hosted/BoweryResidentsCommittee/OnlineDon
44
Tags: Responsive, Images, Responsive Images, SRCSET, Picturefill
55
Requires at least: 4.1
66
Tested up to: 4.3
7-
Stable tag: 2.4.0
7+
Stable tag: 2.5.0
88
License: GPLv2
99
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
1010

@@ -26,6 +26,14 @@ This plugin works by including all available image sizes for each image upload.
2626

2727
== Changelog ==
2828

29+
= 2.5.0 =
30+
* Responsify all post images by adding `srcset` and `sizes` through a display filter.
31+
* Improve method used to build paths in `tevkori_get_srcset_array()`
32+
* Adds linthub config files
33+
* Returns single source arrays in `tevkori_get_srcset_array()`
34+
* Add tests for PHP7 to our Travis matrix
35+
* Add test coverage for `tevkori_filter_attachment_image_attributes()`
36+
2937
= 2.4.0 =
3038
* Added filter for tevkori_get_sizes, with tests
3139
* Added Composer support

wp-tevko-responsive-images.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Plugin Name: RICG Responsive Images
99
* Plugin URI: http://www.smashingmagazine.com/2015/02/24/ricg-responsive-images-for-wordpress/
1010
* Description: Bringing automatic default responsive images to wordpress
11-
* Version: 2.4.0
11+
* Version: 2.5.0
1212
* Author: The RICG
1313
* Author URI: http://responsiveimages.org/
1414
* License: GPL-2.0+
@@ -283,7 +283,7 @@ function tevkori_get_srcset_string( $id, $size = 'thumbnail' ) {
283283
/**
284284
* Filters images in post content to add 'srcset' and 'sizes'.
285285
*
286-
* @since 3.0
286+
* @since 2.5.0
287287
*
288288
* @param string $content The raw post content to be filtered.
289289
* @return string Converted content with 'srcset' and 'sizes' added to images.
@@ -308,7 +308,7 @@ function tevkori_filter_content_images( $content ) {
308308
* Private preg_replace callback used in tevkori_filter_content_images()
309309
*
310310
* @access private
311-
* @since 3.0.0
311+
* @since 2.5.0
312312
*/
313313
function _tevkori_filter_content_images_callback( $image ) {
314314
if ( empty( $image ) ) {

0 commit comments

Comments
 (0)