Skip to content

Release#1259

Merged
vytisbulkevicius merged 30 commits intomasterfrom
development
Mar 4, 2026
Merged

Release#1259
vytisbulkevicius merged 30 commits intomasterfrom
development

Conversation

@vytisbulkevicius
Copy link
Contributor

  • Enhanced security

@pirate-bot
Copy link
Contributor

pirate-bot commented Mar 3, 2026

Plugin build for 7414479 is ready 🛎️!

@vytisbulkevicius
Copy link
Contributor Author

vytisbulkevicius commented Mar 4, 2026

UPDATE: Fixed it.

@girishpanchal30 with this build where security fixes are merged it's not possible to create a new chart - the popup of creating a chart always refreshes when clicking next. Please check

vytisbulkevicius and others added 2 commits March 4, 2026 11:45
The security PR that was merged to development added nonce action
parameters to nonce creation and uploadData verification, but forgot
to update _handleTypesPage verification. This caused a mismatch where:

- Nonces were created WITH action: wp_create_nonce('visualizer-upload-data')
- But _handleTypesPage verified WITHOUT action: wp_verify_nonce($nonce)
- Result: Nonce verification failed, chart creation broken

This fix updates _handleTypesPage to verify WITH the action parameter
to match the nonce creation, allowing charts to be created successfully
while maintaining all security improvements.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Layout.php line 983 was unconditionally accessing Visualizer_Pro::ACTION_FETCH_DATA
even in the free version, causing a fatal error when creating charts.

The nonce creation now checks if PRO version is active before accessing
the Visualizer_Pro class, matching the pattern used for the action parameter.

Security fix from previous commit remains intact:
- Chart.php line 958: Nonce verification with 'visualizer-upload-data' action
- uploadData() method: Capability checks and per-chart ownership validation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
vytisbulkevicius and others added 2 commits March 4, 2026 12:00
Fixed incorrect case usage: Visualizer_PRO -> Visualizer_Pro
This resolves the PHPStan check failure that was blocking CI.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
…e-clean

Fix chart creation nonce verification mismatch
@vytisbulkevicius vytisbulkevicius merged commit 9ad527d into master Mar 4, 2026
5 of 6 checks passed
@pirate-bot
Copy link
Contributor

🎉 This PR is included in version 3.11.15 🎉

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 Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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