Skip to content

Commit

Permalink
Merge pull request #467 from tomusborne/release/3.2.2
Browse files Browse the repository at this point in the history
Release: 3.2.2
  • Loading branch information
tomusborne authored Nov 8, 2022
2 parents 08ca5b2 + 4b2520f commit 70b9fcf
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 14 deletions.
2 changes: 1 addition & 1 deletion assets/dist/block-editor.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('wp-data', 'wp-dom-ready', 'wp-element', 'wp-plugins', 'wp-polyfill'), 'version' => 'f87d99f84e8d3ed6f9273c647f854953');
<?php return array('dependencies' => array('wp-data', 'wp-dom-ready', 'wp-element', 'wp-plugins', 'wp-polyfill'), 'version' => 'afc5f754f71cf8ffa58481330704e11f');
2 changes: 1 addition & 1 deletion assets/dist/block-editor.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/dist/customizer.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-components', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => '89a3305075b3f93799d6a1ca78b75a14');
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-components', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => 'd11e6372862a93a2d27c1488c733d5e4');
4 changes: 2 additions & 2 deletions assets/dist/customizer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}

// Set our theme version.
define( 'GENERATE_VERSION', '3.2.1' );
define( 'GENERATE_VERSION', '3.2.2' );

if ( ! function_exists( 'generate_setup' ) ) {
add_action( 'after_setup_theme', 'generate_setup' );
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "generatepress",
"version": "3.2.1",
"version": "3.2.2",
"description": "A super lightweight WordPress theme.",
"main": "Gruntfile.js",
"scripts": {
Expand Down
10 changes: 9 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, footer-widgets, blog, e-commerce, flexible-header, full-width-template, buddypress, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, rtl-language-support, featured-images, theme-options
Requires at least: 5.2
Tested up to: 6.1
Stable tag: 3.2.1
Stable tag: 3.2.2

GeneratePress is a lightweight WordPress theme built with a focus on speed and usability.

Expand Down Expand Up @@ -99,6 +99,14 @@ MIT License: https://github.com/JedWatson/react-select/blob/master/LICENSE

== Changelog ==

= 3.2.2 =

Release date: November 8, 2022

* Fix: Typography system unit picker popover position
* Fix: Typography system state update possible infinite loop
* Fix: Editor content width when using large content padding values

= 3.2.1 =

Release date: October 27, 2022
Expand Down
2 changes: 1 addition & 1 deletion src/components/unit-picker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const GeneratePressUnitPickerControl = ( props ) => {
<Dropdown
className="generate-component-control--unit-picker"
contentClassName="generate-component-control--unit-picker-area"
position="middle center"
position="bottom left"
focusOnMount="container"
renderToggle={ ( { isOpen, onToggle } ) => (
<Button onClick={ onToggle } aria-expanded={ isOpen }>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const GeneratePressTypographyControlForm = ( props ) => {
} else if ( 'object' === typeof propValues ) {
setFonts( Object.values( propValues ) );
}
}, [ propValues ] );
}, [] );

useEffect( () => {
// Prevents the Customizer iframe refreshing on load.
Expand Down
4 changes: 1 addition & 3 deletions src/extend/content-width/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ function getContentWidth( layout, contentContainer = '' ) {
// Account for padding if necessary.
if ( '' === contentContainer ) {
const contentPadding = parseInt( generatepressBlockEditor.contentPaddingRight ) + parseInt( generatepressBlockEditor.contentPaddingLeft );

// We multiply the padding by 2 to account for border-box.
contentWidth = Number( contentWidth ) - ( contentPadding * 2 );
contentWidth = Number( contentWidth ) - contentPadding;
}

// Account for our full width content option.
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: https://generatepress.com
Author: Tom Usborne
Author URI: https://tomusborne.com
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS, and is translated into over 25 languages by our amazing community of users. A few of our many features include 60+ color controls, powerful dynamic typography, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover), and 9 widget areas. Learn more and check out our powerful premium version at https://generatepress.com
Version: 3.2.1
Version: 3.2.2
Requires at least: 5.2
Tested up to: 6.1
Requires PHP: 5.6
Expand Down

0 comments on commit 70b9fcf

Please sign in to comment.