Skip to content

Commit

Permalink
Release 2.34.2 (#2275)
Browse files Browse the repository at this point in the history
This release fixes a PHP notice in WordPress 6.7+ and a display issue in
Views using the Layout Builder template.

#### 🐛 Fixed
* `function _load_textdomain_just_in_time was called incorrectly` PHP
notice in WordPress 6.7 or newer.
* Display issue caused by a malformed `div` tag in the Layout Builder
View template.
  • Loading branch information
mrcasual authored Feb 4, 2025
2 parents 9a7518c + 2a6b46c commit 0240a12
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 8 deletions.
10 changes: 6 additions & 4 deletions future/includes/class-gv-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,12 @@ public function include_legacy_core() {
include_once $this->dir( 'includes/fields/class-gravityview-fields.php' );
include_once $this->dir( 'includes/fields/class-gravityview-field.php' );

// Load all field files automatically
foreach ( glob( $this->dir( 'includes/fields/class-gravityview-field*.php' ) ) as $gv_field_filename ) {
include_once $gv_field_filename;
}
add_action( 'after_setup_theme', function () {
// Load all field files automatically
foreach ( glob( $this->dir( 'includes/fields/class-gravityview-field*.php' ) ) as $gv_field_filename ) {
include_once $gv_field_filename;
}
} );

include_once $this->dir( 'includes/class-gravityview-entry-approval-status.php' );
include_once $this->dir( 'includes/class-gravityview-entry-approval-merge-tags.php' );
Expand Down
4 changes: 2 additions & 2 deletions gravityview.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: GravityView
* Plugin URI: https://www.gravitykit.com
* Description: The best, easiest way to display Gravity Forms entries on your website.
* Version: 2.34.1
* Version: 2.34.2
* Requires PHP: 7.4.0
* Author: GravityKit
* Author URI: https://www.gravitykit.com
Expand Down Expand Up @@ -32,7 +32,7 @@
/**
* The plugin version.
*/
define( 'GV_PLUGIN_VERSION', '2.34.1' );
define( 'GV_PLUGIN_VERSION', '2.34.2' );

/**
* Full path to the GravityView file
Expand Down
13 changes: 12 additions & 1 deletion includes/class-admin-welcome.php
Original file line number Diff line number Diff line change
Expand Up @@ -296,11 +296,22 @@ public function changelog_screen() {
* - If 4.28, include to 4.26.
*/
?>
<h3>2.34.2 on February 4, 2025</h3>

<p>This release fixes a PHP notice in WordPress 6.7+ and a display issue in Views using the Layout Builder template.</p>

<h4>🐛 Fixed</h4>

<ul>
<li><code>function _load_textdomain_just_in_time was called incorrectly</code> PHP notice in WordPress 6.7 or newer.</li>
<li>Display issue caused by a malformed <code>div</code> tag in the Layout Builder View template.</li>
</ul>

<h3>2.34.1 on January 30, 2025</h3>

<p>This update resolves multiple issues, including problems with search bar visibility in Layout Builder, entry management in multisite environments, and non-functional entry locking and notes, among others.</p>

<h4>🦛 Fixed</h4>
<h4>🐛 Fixed</h4>

<ul>
<li>The Search Bar would not always be visible in Views using the Layout Builder.</li>
Expand Down
8 changes: 8 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ Beautifully display your Gravity Forms entries. Learn more on [gravitykit.com](h

== Changelog ==

= 2.34.2 on February 4, 2025 =

This release fixes a PHP notice in WordPress 6.7+ and a display issue in Views using the Layout Builder template.

#### 🐛 Fixed
* `function _load_textdomain_just_in_time was called incorrectly` PHP notice in WordPress 6.7 or newer.
* Display issue caused by a malformed `div` tag in the Layout Builder View template.

= 2.34.1 on January 30, 2025 =

This update resolves multiple issues, including problems with search bar visibility in Layout Builder, entry management in multisite environments, and non-functional entry locking and notes, among others.
Expand Down
2 changes: 1 addition & 1 deletion templates/views/gravityview-layout-builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

gravityview_header( $gravityview );
?>
<div class="<?php echo esc_attr( gv_container_class( 'gv-layout-builder-container', false, $gravityview ) ); ?>"
<div class="<?php echo esc_attr( gv_container_class( 'gv-layout-builder-container', false, $gravityview ) ); ?>">
<?php
// There are no entries.
if ( ! $gravityview->entries->count() ) {
Expand Down

0 comments on commit 0240a12

Please sign in to comment.