Skip to content

Commit 43a0ccc

Browse files
author
Jacob Middag
committed
Version 1.1
1 parent b65588f commit 43a0ccc

3 files changed

Lines changed: 25 additions & 11 deletions

File tree

RELEASE

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
In order to release a new version of the plugin to wordpress.org, perform the following steps:
22

3-
1. Change the 'Stable tag' in readme.txt to the new release number.
4-
2. Commit and push to GitHub.
5-
3. Create a new release in GitHub and pull it in.
6-
4. Locally, checkout the new tag: `git checkout <tagged version>`.
7-
5. If not already done so, checkout the plugin's Subversion repository: `svn co http://plugins.svn.wordpress.org/tiny-compress-images`.
8-
6. Manually copy the Git release to the local Subversion repo: `cp -R . <path-to-local-svn-repo>/trunk/`.
9-
7. Commit the trunk to Subversion: `svn add trunk/* && svn ci -m "<message>".
10-
8. Tag the new release in Subversion and commit: `svn cp trunk tags/<version> && svn ci -m "<message>"`.
3+
1. Update the version in tiny-compress-images.php
4+
2. Change the 'Stable tag' in readme.txt to the new release number.
5+
3. Commit and push to GitHub.
6+
4. Create a new release in GitHub and pull it in.
7+
5. Locally, checkout the new tag: `git checkout <tagged version>`.
8+
6. If not already done so, checkout the plugin's Subversion repository: `svn co http://plugins.svn.wordpress.org/tiny-compress-images`.
9+
7. Manually copy the Git release to the local Subversion repo: `cp -R . <path-to-local-svn-repo>/trunk/`.
10+
8. Commit the trunk to Subversion: `svn add trunk/* && svn ci -m "<message>".
11+
9. Tag the new release in Subversion and commit: `svn cp trunk tags/<version> && svn ci -m "<message>"`.

readme.txt

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Donate link: https://tinypng.com/
44
Tags: compress, optimize, shrink, improve, images, tinypng, tinyjpg, jpeg, jpg, png, lossy, jpegmini, crunch, minify, smush, save, bandwidth, website, speed, faster, performance, panda
55
Requires at least: 3.0.6
66
Tested up to: 4.1
7-
Stable tag: 1.0.0
7+
Stable tag: 1.1.0
88
License: GPLv2 or later
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1010

@@ -24,6 +24,10 @@ After you upload an image to your WordPress site, each resized image is uploaded
2424

2525
Install this plugin and obtain your free API key from https://tinypng.com/developers. The first 500 compressions per month are completely free, so roughly 100 images can be uploaded to WordPress for free, no strings attached! You can also change which of the generated thumbnail sizes should be compressed, because each one of them counts as a compression. And if you’re a heavy user, you can compress additional images for a small additional fee per image.
2626

27+
= Multisite support =
28+
29+
The API key can optionally be configured in wp-config.php. This removes the need to set a key on each site individually in your multisite network.
30+
2731
= Contact us =
2832

2933
Got questions or feedback? Let us know! Contact us at support@tinypng.com or find us on [Twitter @tinypng](https://twitter.com/tinypng).
@@ -52,6 +56,10 @@ Want to contribute? Checkout our [GitHub page](https://github.com/TinyPNG/wordpr
5256
5. Configure the API key in the Settings -> Media page.
5357
6. Upload an image and see it be compressed!
5458

59+
= Optional configuration =
60+
61+
The API key can also be configured in wp-config.php. You can add a TINY_API_KEY constant with your API key. Once set up you will see a message on the media settings page. This will work for normal and multisite WordPress installations.
62+
5563
== Screenshots ==
5664

5765
1. Enter your TinyPNG or TinyJPG API key and configure the image sizes you would like to have compressed.
@@ -63,3 +71,8 @@ Want to contribute? Checkout our [GitHub page](https://github.com/TinyPNG/wordpr
6371

6472
= 1.0.0 =
6573
* Initial version.
74+
75+
= 1.1.0 =
76+
* The API key can now be set with the TINY_API_KEY constant in wp-config.php. This will work for normal and multisite WordPress installations.
77+
* You can now enable or disable compression of the original uploaded image. If you upgrade the plugin from version 1.0 you may need to go to media settings to include it for compression.
78+
* Improved display of original sizes and compressed sizes showing the total size of all compressed images.

tiny-compress-images.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
/**
33
* Plugin Name: Compress JPEG & PNG images
4-
* Description: Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.
5-
* Version: 1.0.0
4+
* Description: Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.
5+
* Version: 1.1.0
66
* Author: TinyPNG
77
* Author URI: https://tinypng.com
88
* License: GPLv2 or later

0 commit comments

Comments
 (0)