Skip to content

Removed trailing comma for PHP 7.1 compatibility#528

Open
girishpanchal30 wants to merge 3 commits into
developmentfrom
bugfix/526
Open

Removed trailing comma for PHP 7.1 compatibility#528
girishpanchal30 wants to merge 3 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 c5e408c 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.

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants