Skip to content

Commit

Permalink
Merge pull request #482 from publishpress/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
htmgarcia authored Apr 22, 2021
2 parents 9fc10b4 + c9a38b8 commit 91105d1
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/advanced-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: PublishPress Blocks
* Plugin URI: https://publishpress.com/blocks/
* Description: Enhanced tools for Gutenberg editor
* Version: 2.6.1
* Version: 2.6.2
* Tested up to: 5.7.1
* Author: PublishPress
* Author URI: https://publishpress.com/
Expand Down Expand Up @@ -39,7 +39,7 @@
defined('ABSPATH') || die;

if (! defined('ADVANCED_GUTENBERG_VERSION')) {
define('ADVANCED_GUTENBERG_VERSION', '2.6.1');
define('ADVANCED_GUTENBERG_VERSION', '2.6.2');
}

// Code shared with Pro version
Expand Down
2 changes: 1 addition & 1 deletion src/assets/css/recent-posts.css

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/assets/scss/recent-posts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@

img {
vertical-align: middle;
border: none;
padding: 0;
margin: 0;
}

.advgb-post-caption {
Expand Down Expand Up @@ -772,6 +775,7 @@
margin: 0;
word-break: break-word;
background: #f2f2f2;
box-sizing: border-box;

.advgb-post-info {
font-size: 0.8em;
Expand Down
5 changes: 1 addition & 4 deletions src/incl/advanced-gutenberg-main.php
Original file line number Diff line number Diff line change
Expand Up @@ -4830,10 +4830,7 @@ public function groupStylesTag($content)
}

if ($styles_tag) {
wp_add_inline_style(
'advgb_blocks_styles',
$styles_tag
);
$content .= '<style class="advgb-styles-renderer">'.$styles_tag.'</style>';
}

return $content;
Expand Down
7 changes: 6 additions & 1 deletion src/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: publishpress, stevejburge, htmgarcia, advancedgutenberg, JoomUnite
Tags: gutenberg, gutenberg blocks, advanced gutenberg, editor, blocks
Requires at least: 5.0
Tested up to: 5.7.1
Stable tag: 2.6.1
Stable tag: 2.6.2
Requires PHP: 5.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -160,6 +160,10 @@ The PublishPress Blocks Custom CSS can be created from the plugin configuration

== Changelog ==

= 2.6.2 =
* Add: CSS properties to images for Content Display block to avoid inherit styles from themes
* Remove: Load block's CSS through wp_add_inline_style function

= 2.6.1 =
* Add: Load PublishPress Blocks category as first in Gutenberg editor
* Add: "Content Display" as new name for Recent Posts block
Expand All @@ -168,6 +172,7 @@ The PublishPress Blocks Custom CSS can be created from the plugin configuration
* Add: Exclusion support to Content Display block
* Add: Masonry view with responsive support to Content Display block
* Add: Filters panel to group category, tags, author and exclusion settings for Content Display block
* Add: Recursive method to load CSS for blocks in frontend
* Fix: Load dynamic block's CSS through wp_add_inline_style function
* Fix: Background for Frontapage view's Boxed style for Content Display block
* Fix: Use rgba border color in Newspaper view for Content Display block
Expand Down

0 comments on commit 91105d1

Please sign in to comment.