Skip to content

Commit

Permalink
Merge branch 'release/1.8.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Hemberger committed Feb 8, 2019
2 parents 10ae852 + 53af544 commit 7bdb716
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog


## 1.8.1 (2/7/19)
* Fixed: Hotfix for missing argument in srscet function.

## 1.8.0 (2/7/19)
* Added: Align full/wide support for the block editor (Gutenberg).
* Added: Huge performance increases (faster page load times) all around, especially on mobile!
Expand Down
2 changes: 1 addition & 1 deletion lib/general.php
Original file line number Diff line number Diff line change
Expand Up @@ -443,5 +443,5 @@ function mai_genesis_get_image_srcset( $output, $args, $id, $html, $url, $src )
if ( 'html' === mb_strtolower( $args['format'] ) ) {
return $output;
}
return wp_image_add_srcset_and_sizes( $html );
return wp_image_add_srcset_and_sizes( $html, wp_get_attachment_metadata( $image_id ), $id );
}
4 changes: 2 additions & 2 deletions mai-theme-engine.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Plugin URI: https://maitheme.com/
* Description: The Mai Theme Engine plugin
*
* Version: 1.8.0
* Version: 1.8.1
*
* GitHub URI: maithemewp/mai-theme-engine
*
Expand Down Expand Up @@ -89,7 +89,7 @@ public function __wakeup() {
private function setup_constants() {

// Plugin version.
define( 'MAI_THEME_ENGINE_VERSION', '1.8.0' );
define( 'MAI_THEME_ENGINE_VERSION', '1.8.1' );

// DB version.
define( 'MAI_THEME_ENGINE_DB_VERSION', '1400' );
Expand Down

0 comments on commit 7bdb716

Please sign in to comment.