From f236953ed27771262e12aa8880a1c89bd6c7e57f Mon Sep 17 00:00:00 2001 From: Alex Prokopenko Date: Wed, 27 Jun 2018 19:59:08 +0300 Subject: [PATCH] Dummy images feature versioning --- just-responsive-images.php | 4 ++-- readme.txt | 12 +++++++++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/just-responsive-images.php b/just-responsive-images.php index f207be2..81daf0c 100644 --- a/just-responsive-images.php +++ b/just-responsive-images.php @@ -4,7 +4,7 @@ Plugin Name: Just Responsive Images Description: Providing full control to set your own responsive image properties for WordPress 4.4+, the ability to use the <picture> tag, auto-generate image backgrounds and supports retina images. Tags: responsive post thumbnail, post thumbnail as background, retina support, retina image, retina post thumbnail, responsive post attachment, responsive images, responsive attachments, post thumbnails, media -Version: 1.5.1 +Version: 1.6.0 Author: JustCoded / Alex Prokopenko Author URI: http://justcoded.com/ License: GPL3 @@ -49,7 +49,7 @@ class JustResponsiveImages extends core\Singleton { protected function __construct() { // init plugin name and version. self::$plugin_name = __( 'Just Responsive Images', JustResponsiveImages::TEXTDOMAIN ); - self::$version = '1.501'; + self::$version = '1.600'; // init features, which this plugin is created for. new components\Maintenance(); diff --git a/readme.txt b/readme.txt index a5e1fef..5364ef4 100644 --- a/readme.txt +++ b/readme.txt @@ -6,7 +6,7 @@ Tags: responsive post thumbnail, post thumbnail as background, retina support, r Author: JustCoded / Alex Prokopenko Author URI: http://justcoded.com/ Requires at least: 4.5 -Tested up to: 4.9.4 +Tested up to: 4.9.6 Requires PHP: >=5.6 License: GPL3 Stable tag: trunk @@ -40,6 +40,14 @@ Our plugin resize images ONLY when you open the page with an image, printed with In version 1.2 default RWD set background options updated to mobile-first strategy (from desktop-first). If you use nested rules from RWD set you should update your main size background option to have @media query with `min-width` rule. += DEV Mode = + +In DEV mode plugin does not resize any images and simply use placeholder images. This can be used to reduce disk space, while you develop and configure our plugin to match all required screen sizes. + +To enable it you need to define new constant in your wp-config.php file: + +`define( 'JRI_DUMMY_IMAGE', true );` + == Installation == 1. Download, unzip and upload to your WordPress plugins directory @@ -82,6 +90,8 @@ There are no any special upgrade instructions for version 1.0 - 1.3 To upgrade remove the old plugin folder. After than follow the installation steps 1-2. == Changelog == += Version 1.6.0 - 27 June 2018 = + * Dev mode with placeholder images instead of real images in case correct sizes are missing. = Version 1.5.1 - 3 April 2018 = * Added compatibility with Crop Images plugin * Fix main editor content responsive images (it was broken after some WP update)