Skip to content

Commit a3ff19e

Browse files
committed
Remove thumbnail class from images inserted in editor
Update to versio 0.5.2
1 parent 61874e7 commit a3ff19e

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
### 0.5.2: September 1st, 2018
2+
* **Tweak** - Remove `thumbnail` class from images inserted in editor
3+
14
### 0.5.1: August 20th, 2018
25
* **Fix** - Style WooCommerce notices
36
* **Fix** - Retro-compatibility for WooCommerce versions < 3.4.0

inc/front/thumbnails.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function give_linked_images_class( $html, $id, $caption, $title, $align, $url, $
4141
$html = preg_replace( '/(<a.*?)>/', '$1 class="' . $classes . '" >', $html );
4242
}
4343
} // separated by spaces, e.g. 'img image-link'
44-
$html = str_replace( "wp-image", "thumbnail wp-image", $html );
44+
$html = str_replace( "wp-image", "wp-image", $html );
4545
$html = str_replace( '<a', '<a data-title="' . $caption . '" title="' . $caption . '"', $html );
4646

4747
return $html;

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "stormbringer",
3-
"version": "0.5.1",
3+
"version": "0.5.2",
44
"description": "WordPress theme",
55
"license": "Apache-2.0",
66
"repository" : {

stormbringer-child/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "stormbringer",
3-
"version": "0.5.1",
3+
"version": "0.5.2",
44
"description": "WordPress theme",
55
"license": "Apache-2.0",
66
"repository" : {

style.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Theme URI: https://github.com/nicomollet/stormbringer
44
Github Theme URI: https://github.com/nicomollet/stormbringer
55
Github Branch: master
66
Description: A simple responsive theme based on twitter's bootstrap framework.
7-
Version: 0.5.1
7+
Version: 0.5.2
88
Author: Nicolas Mollet
99
Author URI: http://www.nicolasmollet.com
1010
Text Domain: stormbringer

0 commit comments

Comments
 (0)