Skip to content

Commit

Permalink
Updates to 2.8.18
Browse files Browse the repository at this point in the history
  • Loading branch information
Gravity Forms committed Oct 2, 2024
1 parent 8c3684a commit 4dd832a
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 32 deletions.
2 changes: 1 addition & 1 deletion assets/css/dist/admin.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' => 'f78e5368d8b599a78b9709de2178cf97', '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' => '520e7dcc452befec5f1c95e51400ec2d', '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' => '51611f92b865196a3851e8dbe254b31d', 'file' => 'admin.min.css'), 'basic.min.css' => array('version' => '4bedfdb9cf94d64f854157dffba8b66f', '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' => '6a4bdd86191cb74f53524474d2ee78a8', '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' => '24e1aab73d398b04bedb185ac75f540d', 'file' => 'gravity-forms-theme-foundation.min.css'), 'gravity-forms-theme-framework.min.css' => array('version' => '7ed359ef17010b5a486e83c0767de750', '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' => 'b2d752f8ab63822be2409ebf817de4cc', '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' => '6a7e3f08eafa3f4cd82cb28dfa574bfa', 'file' => 'theme.min.css')));
<?php return array('hash_map' => array('admin-components.min.css' => array('version' => 'f78e5368d8b599a78b9709de2178cf97', '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' => '520e7dcc452befec5f1c95e51400ec2d', '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' => 'b2310dbe070b29d27f9e4c1df0b39ed7', 'file' => 'admin.min.css'), 'basic.min.css' => array('version' => '4bedfdb9cf94d64f854157dffba8b66f', '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' => '6a4bdd86191cb74f53524474d2ee78a8', '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' => '24e1aab73d398b04bedb185ac75f540d', 'file' => 'gravity-forms-theme-foundation.min.css'), 'gravity-forms-theme-framework.min.css' => array('version' => '7ed359ef17010b5a486e83c0767de750', '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' => '01a4be7adf61c7203e43116c49b01e78', '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' => '6a7e3f08eafa3f4cd82cb28dfa574bfa', 'file' => 'theme.min.css')));
2 changes: 1 addition & 1 deletion assets/css/dist/settings.min.css

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions change_log.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 2.8.18 | 2024-10-01
- Fixed spacing and margin issues in the form list, help page, and settings page in RTL.
- Fixed an issue where `get_submitted_fields()` is not returning the correct field values if meta keys are not numeric.

### 2.8.17 | 2024-08-26
- Updated the form restriction logging statements to include the form ID.
- Fixed an issue where the license key is not saved for some sites in a multisite/network installation.
Expand Down
10 changes: 2 additions & 8 deletions forms_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -6724,14 +6724,8 @@ public static function get_submitted_fields( $form_id ) {

$entry_meta_table_name = self::get_entry_meta_table_name();
$field_list = '';
$fields = $wpdb->get_results( $wpdb->prepare( "SELECT DISTINCT meta_key FROM $entry_meta_table_name WHERE form_id=%d", $form_id ) );
foreach ( $fields as $field ) {
$field_list .= intval( $field->meta_key ) . ',';
}

if ( ! empty( $field_list ) ) {
$field_list = substr( $field_list, 0, strlen( $field_list ) - 1 );
}
$fields = $wpdb->get_col( $wpdb->prepare( "SELECT DISTINCT meta_key FROM $entry_meta_table_name WHERE form_id=%d AND meta_key REGEXP '^[0-9]+(\.[0-9]+)?$'", $form_id ) );
$field_list = implode( ',', array_unique( array_map( 'intval', $fields ) ) );

return $field_list;
}
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.17
Version: 2.8.18
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.17';
public static $version = '2.8.18';

/**
* Handles background upgrade tasks.
Expand Down
38 changes: 19 additions & 19 deletions languages/gravityforms.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the GPL-2.0+.
msgid ""
msgstr ""
"Project-Id-Version: Gravity Forms 2.8.17\n"
"Project-Id-Version: Gravity Forms 2.8.18\n"
"Report-Msgid-Bugs-To: https://gravityforms.com/support\n"
"Last-Translator: Gravity Forms <[email protected]>\n"
"Language-Team: Gravity Forms <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-08-26T16:50:15+00:00\n"
"POT-Creation-Date: 2024-10-01T16:13:02+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.11.0\n"
"X-Domain: gravityforms\n"
Expand Down Expand Up @@ -449,7 +449,7 @@ msgstr ""

#: common.php:5399
#: common.php:5450
#: forms_model.php:6946
#: forms_model.php:6940
msgid "Thanks for contacting us! We will get in touch with you shortly."
msgstr ""

Expand Down Expand Up @@ -1814,7 +1814,7 @@ msgstr ""
#: forms_model.php:1830
#: forms_model.php:1863
#: forms_model.php:1899
#: forms_model.php:8196
#: forms_model.php:8190
#: includes/api.php:131
#: includes/api.php:158
#: includes/api.php:180
Expand Down Expand Up @@ -1879,61 +1879,61 @@ msgstr ""
msgid "(Required)"
msgstr ""

#: forms_model.php:6879
#: forms_model.php:6943
#: forms_model.php:6873
#: forms_model.php:6937
msgid "Default Confirmation"
msgstr ""

#: forms_model.php:6908
#: forms_model.php:6902
msgid "Save and Continue Confirmation"
msgstr ""

#: forms_model.php:6913
#: forms_model.php:6907
msgid "Link to continue editing later"
msgstr ""

#: forms_model.php:6914
#: forms_model.php:6908
msgid "Please use the following link to return and complete this form from any computer."
msgstr ""

#: forms_model.php:6915
#: forms_model.php:6909
msgid "Note: This link will expire after 30 days."
msgstr ""

#: forms_model.php:6916
#: forms_model.php:6910
msgid "Enter your email address if you would like to receive the link via email."
msgstr ""

#: forms_model.php:6927
#: forms_model.php:6921
msgid "Save and Continue Email Sent Confirmation"
msgstr ""

#: forms_model.php:6932
#: forms_model.php:6926
msgid "Success!"
msgstr ""

#: forms_model.php:6933
#: forms_model.php:6927
msgid "The link was sent to the following email address:"
msgstr ""

#: forms_model.php:8188
#: forms_model.php:8182
msgid "Updating the id property is not supported"
msgstr ""

#: forms_model.php:8192
#: forms_model.php:8186
msgid "%s is not a valid feed property"
msgstr ""

#: forms_model.php:8205
#: forms_model.php:8199
msgid "Feed meta should be an associative array or JSON"
msgstr ""

#: forms_model.php:8214
#: forms_model.php:8208
#: includes/api.php:2117
msgid "There was an error while updating feed id %s"
msgstr ""

#: forms_model.php:8218
#: forms_model.php:8212
#: includes/api.php:2078
msgid "Feed id %s not found"
msgstr ""
Expand Down

0 comments on commit 4dd832a

Please sign in to comment.