Skip to content

Removed trailing comma for PHP 7.1 compatibility - #528

Merged
selul merged 5 commits into
developmentfrom
bugfix/526
Jul 29, 2026
Merged

Removed trailing comma for PHP 7.1 compatibility#528
selul merged 5 commits into
developmentfrom
bugfix/526

Conversation

@girishpanchal30

Copy link
Copy Markdown
Contributor

Check before Pull Request is ready:

Closes #526

@girishpanchal30
girishpanchal30 requested a review from Copilot July 22, 2026 05:48
@girishpanchal30 girishpanchal30 added the pr-checklist-skip Allow this Pull Request to skip checklist. label Jul 22, 2026
@pirate-bot pirate-bot added the pr-checklist-complete The Pull Request checklist is complete. (automatic label) label Jul 22, 2026

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

Removes PHP 7.3-only trailing commas from wizard function calls, restoring PHP 7.1–7.2 compatibility.

Changes:

  • Removes trailing commas from nested sprintf() and wp_kses() calls.

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

@pirate-bot

pirate-bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Plugin build for ac50c64 is ready 🛎️!

Comment on lines 40 to +71
@@ -51,7 +59,7 @@ jobs:
- name: Setup PHP version
uses: shivammathur/setup-php@v2
with:
php-version: '7.2'
php-version: ${{ matrix.php-version }}
extensions: simplexml, mysql
tools: phpunit:7.5.20, phpunit-polyfills
- name: Checkout source code
@@ -60,7 +68,7 @@ jobs:
run: sudo apt-get update && sudo apt-get install -y subversion
- name: Install WordPress Test Suite
run: |
bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1:${{ job.services.mysql.ports['3306'] }}
bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1:${{ job.services.mysql.ports['3306'] }} ${{ matrix.wp-version }}

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.

Not sure about the purpose of this.

@selul

selul commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

Copilot AI commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

Done — I merged development into this branch and resolved the conflict in .github/workflows/test-php.yml in commit 8aea4d3 (plus ac50c64 to satisfy workflow security validation).

Copilot finished work on behalf of selul July 29, 2026 12:11
Copilot AI requested a review from selul July 29, 2026 12:11
@selul
selul merged commit ac6813d into development Jul 29, 2026
9 checks passed
@selul
selul deleted the bugfix/526 branch July 29, 2026 12:26
@pirate-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.6.23 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@pirate-bot pirate-bot added the released Indicate that an issue has been resolved and released in a particular version of the product. label Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-checklist-complete The Pull Request checklist is complete. (automatic label) pr-checklist-skip Allow this Pull Request to skip checklist. released Indicate that an issue has been resolved and released in a particular version of the product.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants