Skip to content

Commit

Permalink
Updates to 2.8.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Gravity Forms committed Apr 24, 2024
1 parent e67bf0f commit 30e54ec
Show file tree
Hide file tree
Showing 27 changed files with 274 additions and 225 deletions.
2 changes: 1 addition & 1 deletion assets/css/dist/admin-components.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/dist/admin-css-utilities.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/dist/assets.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('hash_map' => array('admin-components.min.css' => array('version' => '5c8abdcc258a74764771cffbd6f57049', 'file' => 'admin-components.min.css'), 'admin-css-utilities.min.css' => array('version' => 'a8f1e6bbdbfc174d187e42b9700ad049', 'file' => 'admin-css-utilities.min.css'), 'admin-icons.min.css' => array('version' => '137c848994e0d1b6d8237b6d94e8b5f1', 'file' => 'admin-icons.min.css'), 'admin-ie11.min.css' => array('version' => 'b1f15b2772b378a5549ac45eefe2fcb7', 'file' => 'admin-ie11.min.css'), 'admin-theme.min.css' => array('version' => '181487c53e25a62e81e1db77d7c504e3', 'file' => 'admin-theme.min.css'), 'admin.min.css' => array('version' => 'f8936606ca56887bfa6a6745252c74c6', 'file' => 'admin.min.css'), 'basic.min.css' => array('version' => '366ef054183339e162cbdd03047b28f1', 'file' => 'basic.min.css'), 'blocks.min.css' => array('version' => 'f7b147e3138419bb9db86d7e0b0bd5e5', 'file' => 'blocks.min.css'), 'common-css-utilities.min.css' => array('version' => '2633df3a029b0d34687e2d197707e947', 'file' => 'common-css-utilities.min.css'), 'editor.min.css' => array('version' => '2f49083c345e8bfb0963334961946713', 'file' => 'editor.min.css'), 'font-awesome.min.css' => array('version' => 'ab928ca9bd3a308082b143be8a422524', 'file' => 'font-awesome.min.css'), 'gravity-forms-common-icons.min.css' => array('version' => '7144d998edb50d92c9bd4e51d89e1248', 'file' => 'gravity-forms-common-icons.min.css'), 'gravity-forms-orbital-theme.min.css' => array('version' => 'd41d8cd98f00b204e9800998ecf8427e', 'file' => 'gravity-forms-orbital-theme.min.css'), 'gravity-forms-theme-foundation.min.css' => array('version' => '64842ffca1437dfb452bdde50b24f30f', 'file' => 'gravity-forms-theme-foundation.min.css'), 'gravity-forms-theme-framework.min.css' => array('version' => '5de56cb4c6dd9682becb3b2f40f88da1', 'file' => 'gravity-forms-theme-framework.min.css'), 'gravity-forms-theme-reset.min.css' => array('version' => '590d763581c57d55da02972ac0f387d2', 'file' => 'gravity-forms-theme-reset.min.css'), 'settings.min.css' => array('version' => '4cb83c6672a27a4c740ed77ad231fd11', 'file' => 'settings.min.css'), 'setup-wizard.min.css' => array('version' => '7c1011a25f000c4eb8f1bcb85fa4dfa2', 'file' => 'setup-wizard.min.css'), 'template-library.min.css' => array('version' => '560c6c8266f8a6c5cf81077ad29c13a9', 'file' => 'template-library.min.css'), 'theme-components.min.css' => array('version' => 'd41d8cd98f00b204e9800998ecf8427e', 'file' => 'theme-components.min.css'), 'theme-ie11.min.css' => array('version' => '67ea51dbc2856d10c83352871408a6da', 'file' => 'theme-ie11.min.css'), 'theme.min.css' => array('version' => '7fc91687e7f6db67aece70bd79c8002f', 'file' => 'theme.min.css')));
<?php return array('hash_map' => array('admin-components.min.css' => array('version' => '02ae702607e8b95d168f4e829f7ec7c2', 'file' => 'admin-components.min.css'), 'admin-css-utilities.min.css' => array('version' => '047c723392c56ed67effb778811f50ea', 'file' => 'admin-css-utilities.min.css'), 'admin-icons.min.css' => array('version' => '137c848994e0d1b6d8237b6d94e8b5f1', 'file' => 'admin-icons.min.css'), 'admin-ie11.min.css' => array('version' => 'b1f15b2772b378a5549ac45eefe2fcb7', 'file' => 'admin-ie11.min.css'), 'admin-theme.min.css' => array('version' => '181487c53e25a62e81e1db77d7c504e3', 'file' => 'admin-theme.min.css'), 'admin.min.css' => array('version' => 'f8936606ca56887bfa6a6745252c74c6', 'file' => 'admin.min.css'), 'basic.min.css' => array('version' => '366ef054183339e162cbdd03047b28f1', 'file' => 'basic.min.css'), 'blocks.min.css' => array('version' => 'f7b147e3138419bb9db86d7e0b0bd5e5', 'file' => 'blocks.min.css'), 'common-css-utilities.min.css' => array('version' => '2633df3a029b0d34687e2d197707e947', 'file' => 'common-css-utilities.min.css'), 'editor.min.css' => array('version' => '2f49083c345e8bfb0963334961946713', 'file' => 'editor.min.css'), 'font-awesome.min.css' => array('version' => 'ab928ca9bd3a308082b143be8a422524', 'file' => 'font-awesome.min.css'), 'gravity-forms-common-icons.min.css' => array('version' => '7144d998edb50d92c9bd4e51d89e1248', 'file' => 'gravity-forms-common-icons.min.css'), 'gravity-forms-orbital-theme.min.css' => array('version' => 'd41d8cd98f00b204e9800998ecf8427e', 'file' => 'gravity-forms-orbital-theme.min.css'), 'gravity-forms-theme-foundation.min.css' => array('version' => 'a406e1af7f8d8b8c59facadbfda4dfce', 'file' => 'gravity-forms-theme-foundation.min.css'), 'gravity-forms-theme-framework.min.css' => array('version' => '5de56cb4c6dd9682becb3b2f40f88da1', 'file' => 'gravity-forms-theme-framework.min.css'), 'gravity-forms-theme-reset.min.css' => array('version' => '590d763581c57d55da02972ac0f387d2', 'file' => 'gravity-forms-theme-reset.min.css'), 'settings.min.css' => array('version' => '4cb83c6672a27a4c740ed77ad231fd11', 'file' => 'settings.min.css'), 'setup-wizard.min.css' => array('version' => '7c1011a25f000c4eb8f1bcb85fa4dfa2', 'file' => 'setup-wizard.min.css'), 'template-library.min.css' => array('version' => '560c6c8266f8a6c5cf81077ad29c13a9', 'file' => 'template-library.min.css'), 'theme-components.min.css' => array('version' => 'd41d8cd98f00b204e9800998ecf8427e', 'file' => 'theme-components.min.css'), 'theme-ie11.min.css' => array('version' => '67ea51dbc2856d10c83352871408a6da', 'file' => 'theme-ie11.min.css'), 'theme.min.css' => array('version' => '7fc91687e7f6db67aece70bd79c8002f', 'file' => 'theme.min.css')));
2 changes: 1 addition & 1 deletion assets/css/dist/gravity-forms-theme-foundation.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/dist/admin-components.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/dist/assets.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('hash_map' => array('admin-components.min.js' => array('version' => '47e5fc3871e4ff826226ad7e715b49ea', 'file' => 'admin-components.min.js'), 'field-map.min.js' => array('version' => '6af3dfc9b4a8554d36b379735beab928', 'file' => 'field-map.min.js'), 'libraries.min.js' => array('version' => '6c0405e13e9ffc0d2b84693dc42b2b7e', 'file' => 'libraries.min.js'), 'react-utils.min.js' => array('version' => '5855f902be538a005ccfb58f3d9232ec', 'file' => 'react-utils.min.js'), 'scripts-admin.min.js' => array('version' => '3d43f66977d86bfed29795d4962e0452', 'file' => 'scripts-admin.min.js'), 'scripts-theme.min.js' => array('version' => 'bab19fd84843dabc070e73326d787910', 'file' => 'scripts-theme.min.js'), 'utils.min.js' => array('version' => '50c7bea9c2320e16728e44ae9fde5f26', 'file' => 'utils.min.js'), 'vendor-admin.min.js' => array('version' => 'd79bfebb1c6e35da64b654d15190e0ad', 'file' => 'vendor-admin.min.js'), 'vendor-theme.min.js' => array('version' => '54e7080aa7a02c83aa61fae430b9d869', 'file' => 'vendor-theme.min.js')));
<?php return array('hash_map' => array('admin-components.min.js' => array('version' => '5fca097d8ad8afc19152a74ceeebd8fc', 'file' => 'admin-components.min.js'), 'field-map.min.js' => array('version' => '6af3dfc9b4a8554d36b379735beab928', 'file' => 'field-map.min.js'), 'libraries.min.js' => array('version' => '6c0405e13e9ffc0d2b84693dc42b2b7e', 'file' => 'libraries.min.js'), 'react-utils.min.js' => array('version' => '066e9790ac2407fbde7b6bca098defc0', 'file' => 'react-utils.min.js'), 'scripts-admin.min.js' => array('version' => '3d43f66977d86bfed29795d4962e0452', 'file' => 'scripts-admin.min.js'), 'scripts-theme.min.js' => array('version' => 'bab19fd84843dabc070e73326d787910', 'file' => 'scripts-theme.min.js'), 'utils.min.js' => array('version' => '50c7bea9c2320e16728e44ae9fde5f26', 'file' => 'utils.min.js'), 'vendor-admin.min.js' => array('version' => 'd79bfebb1c6e35da64b654d15190e0ad', 'file' => 'vendor-admin.min.js'), 'vendor-theme.min.js' => array('version' => '54e7080aa7a02c83aa61fae430b9d869', 'file' => 'vendor-theme.min.js')));
2 changes: 1 addition & 1 deletion assets/js/dist/react-utils.min.js

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions change_log.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
### 2.8.8 | 2024-04-23
- Added security enhancements.
- Fixed a fatal error in WordPress 6.5 when using a 3rd-party add-on without a defined slug.
- Fixed a PHP notice that is thrown when calling GFForms::get_form() with just the form ID parameter.
- Fixed an issue where the submit button was blocked by the reCAPTCHA field in IOS devices when using certain themes.
- Fixed an issue where the `gform_progressbar_start_at_zero` filter is not working with forms that have page conditional logic.
- Fixed a PHP notice that can be displayed when instantiating the GF_Locking class in certain contexts.
- Updated status indicator component to use improved markup and styles.

### 2.8.7 | 2024-04-03
- Fixed a bug where total calculation and post conditional logic events sometimes aren't called when using the `gform_abort_conditional_logic_do_action` filter.
- Fixed a fatal error that sometimes occurs when deleting entries.
Expand Down
2 changes: 1 addition & 1 deletion common.php
Original file line number Diff line number Diff line change
Expand Up @@ -6692,7 +6692,7 @@ public static function load_gf_text_domain( $domain = 'gravityforms', $basename
$current_locale = version_compare( get_bloginfo( 'version', 'display' ), '5.0', '>=' ) ? determine_locale() : self::legacy_determine_locale();
$locale = apply_filters( 'plugin_locale', $current_locale, $domain );

if ( $locale != 'en_US' && ! is_textdomain_loaded( $domain ) ) {
if ( ! empty( $domain ) && $locale != 'en_US' && ! is_textdomain_loaded( $domain ) ) {
if ( empty( $basename ) ) {
$basename = plugin_basename( self::get_base_path() );
}
Expand Down
4 changes: 2 additions & 2 deletions form_display.php
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ public static function get_form_theme_slug( $form ) {
} else {
$instance = rgar( $form, 'page_instance', 0 );
$all_blocks = apply_filters( 'gform_form_block_attribute_values', array() );
$block_settings = empty( $all_blocks[ $form['id'] ] ) ? array() : $all_blocks[ $form['id'] ][ $instance ];
$block_settings = rgars( $all_blocks, rgar( $form, 'id', 0 ) . '/' . $instance, array() );

// If a theme is selected for this block or shortcode, return that.
if ( isset( $block_settings['theme'] ) ) {
Expand Down Expand Up @@ -4411,7 +4411,7 @@ public static function get_progress_bar( $form, $page, $confirmation_message = '
$progress_bar_title_close = GFCommon::is_legacy_markup_enabled( $form ) ? '</h3>' : '</p>';

$progress_bar .= "
<div id='gf_progressbar_wrapper_{$form_id}' class='gf_progressbar_wrapper'>
<div id='gf_progressbar_wrapper_{$form_id}' class='gf_progressbar_wrapper' data-start-at-zero='{$start_at_zero}'>
{$progress_bar_title_open}";
$progress_bar .= ! $progress_complete ? esc_html__( 'Step', 'gravityforms' ) . " <span class='gf_step_current_page'>{$current_page}</span> " . esc_html__( 'of', 'gravityforms' ) . " <span class='gf_step_page_count'>{$page_count}</span>{$page_name}" : "{$page_name}";
$progress_bar .= "
Expand Down
12 changes: 9 additions & 3 deletions form_list.php
Original file line number Diff line number Diff line change
Expand Up @@ -609,9 +609,15 @@ function _column_is_active( $form, $classes, $data, $primary ) {
$text = esc_html__( 'Inactive', 'gravityforms' );
}
?>
<button type="button" class="gform-status-indicator <?php echo esc_attr( $class ); ?>" onclick="ToggleActive( this, <?php echo absint( $form->id ); ?> );" onkeypress="ToggleActive( this, <?php echo absint( $form->id ); ?> );">
<svg role="presentation" focusable="false" viewBox="0 0 6 6" xmlns="http://www.w3.org/2000/svg"><circle cx="3" cy="2" r="1" stroke-width="2"/></svg>
<span class="gform-status-indicator-status"><?php echo esc_html( $text ); ?></span>
<button
type="button"
class="gform-status-indicator gform-status-indicator--size-sm gform-status-indicator--theme-cosmos <?php echo esc_attr( $class ); ?>"
onclick="ToggleActive( this, <?php echo absint( $form->id ); ?> );"
onkeypress="ToggleActive( this, <?php echo absint( $form->id ); ?> );"
>
<span class="gform-status-indicator-status gform-typography--weight-medium gform-typography--size-text-xs">
<?php echo esc_html( $text ); ?>
</span>
</button>
<?php
}
Expand Down
4 changes: 2 additions & 2 deletions gravityforms.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: Gravity Forms
Plugin URI: https://gravityforms.com
Description: Easily create web forms and manage form entries within the WordPress admin.
Version: 2.8.7
Version: 2.8.8
Requires at least: 4.0
Requires PHP: 5.6
Author: Gravity Forms
Expand Down Expand Up @@ -245,7 +245,7 @@ class GFForms {
*
* @var string $version The version number.
*/
public static $version = '2.8.7';
public static $version = '2.8.8';

/**
* Handles background upgrade tasks.
Expand Down
Loading

0 comments on commit 30e54ec

Please sign in to comment.