close
Skip to content

Pods 3.3.10 - #7553

Open
PodsBot wants to merge 11 commits into
mainfrom
release/3.3.10
Open

Pods 3.3.10#7553
PodsBot wants to merge 11 commits into
mainfrom
release/3.3.10

Conversation

@PodsBot

@PodsBot PodsBot commented Jun 7, 2026

Copy link
Copy Markdown
Collaborator

Automated changes by create-pull-request GitHub action

sc0ttkclark and others added 8 commits June 7, 2026 23:04
…d in some circumstances

Signed-off-by: Scott Kingsley Clark <scott@skc.dev>
Signed-off-by: Scott Kingsley Clark <scott@skc.dev>
Signed-off-by: Scott Kingsley Clark <scott@skc.dev>
Signed-off-by: Scott Kingsley Clark <scott@skc.dev>
Signed-off-by: Scott Kingsley Clark <scott@skc.dev>
Signed-off-by: Scott Kingsley Clark <scott@skc.dev>
Signed-off-by: Scott Kingsley Clark <scott@skc.dev>
@sc0ttkclark
sc0ttkclark marked this pull request as ready for review July 23, 2026 15:03
Copilot AI review requested due to automatic review settings July 23, 2026 15:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Release-prep changes for the Pods 3.3.10 pre-release, including a fix to Whatsit::count_groups() and associated version/dependency/workflow updates.

Changes:

  • Fix Whatsit::count_groups() to reliably return an integer when cached groups are present.
  • Bump plugin/package versions and update changelog for 3.3.10.
  • Refresh dev dependencies and GitHub Actions workflow action versions.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/Pods/Whatsit.php Fixes count_groups() cached-return behavior to match its int contract.
readme.txt Updates stable tag and adds a 3.3.10 changelog entry.
package.json Bumps package version to 3.3.10-a-1.
init.php Bumps plugin header version and PODS_VERSION constant to 3.3.10-a-1.
composer.json Updates dev dependencies and adds the wp-packages Composer repository.
.github/workflows/tests-php.yml Updates workflow action versions used by the PHP test pipeline.
Files not reviewed (1)
  • src/Pods/Whatsit.php: Generated file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread composer.json
Comment on lines 71 to 73
"stellarwp/coding-standards": "dev-main",
"symfony/console": "^7.4",
"szepeviktor/phpstan-wordpress": "^v1.3",
Comment thread readme.txt

== Changelog ==

= 3.3.10 - June 8th, 2026 =
Comment thread src/Pods/Whatsit.php
Comment on lines 1388 to 1391

if ( null !== $this->_groups && ! $has_custom_args ) {
return $this->_groups;
return count( $this->_groups );
}
Refactor is_empty method to use pods_trim and improve empty value checks.

Resolves issues with PHP trim() issues with non-strings.

Also supporting multiple date values in is_empty().

Signed-off-by: Scott Kingsley Clark <lol@scottkclark.com>
This fixes issues with PHP string juggling on functions that can't take nulls.

Signed-off-by: Scott Kingsley Clark <lol@scottkclark.com>
Signed-off-by: Scott Kingsley Clark <lol@scottkclark.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants