Skip to content

Version 0.32.3#1117

Merged
mauteri merged 6 commits intomainfrom
version-0.32.3
Jul 9, 2025
Merged

Version 0.32.3#1117
mauteri merged 6 commits intomainfrom
version-0.32.3

Conversation

@mauteri
Copy link
Copy Markdown
Contributor

@mauteri mauteri commented Jul 8, 2025

Description of the Change

PR includes fix reported in WP forum https://wordpress.org/support/topic/gatherpress-has-critical-error-when-i-access-wpforms-payment-settings/
PR also fixes depreciation notice that was reported.

Closes #

How to test the Change

Changelog Entry

Fixed - Bug fix

Credits

Props @mauteri

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@what-the-diff
Copy link
Copy Markdown

what-the-diff bot commented Jul 8, 2025

PR Summary

  • Software Version Update
    We've updated our software from version 0.32.2 to 0.32.3. Several files were updated including gatherpress.php, credits.php, package.json, package-lock.json, and readme.md.

  • Condition Check Enhancement
    A change has been made to our style queue condition in class-assets.php. Now it will check whether the block name already exists or not.

  • Improvement in Error Handling
    A new safeguard has been added in class-event-query.php. This ensures that $wp_query is present and its get method is functional before we move on to any further processing. This can prevent potential software crashes and enhance the overall user experience.

@mauteri mauteri changed the base branch from develop to main July 8, 2025 20:48
@mauteri mauteri marked this pull request as ready for review July 8, 2025 20:48

global $wp_query;

if ( ! $wp_query || ! method_exists( $wp_query, 'get' ) ) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if ( ! $wp_query || ! method_exists( $wp_query, 'get' ) ) {
// Some admin screens may not have a populated query object.
if ( ! $wp_query || ! method_exists( $wp_query, 'get' ) ) {

@JordanPak
Copy link
Copy Markdown
Contributor

I can't approve this but LGTM

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jul 8, 2025

Preview changes with Playground

You can preview the recent changes for PR#1117 with the following PHP versions:

PHP Version 8.3

PHP Version 7.4

Download .zip with build changes

Made with 💙 from GatherPress & a little bit of WordPress Playground. Changes will not persist between sessions.

@mauteri mauteri merged commit 1cf516c into main Jul 9, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants