givewp
givewp copied to clipboard
The Donor Dashboard should only be generated in admin-side pages
User Story
As an admin, I want the generate donor dashboard method to only be called when necessary so that it cannot be triggered by loading frontend pages.
Details
This bug was reported via the Free Support and points out that the Donor Dashboard page is being generated on non-admin pages, which is being blocked by certain security measures.
Expected Behavior
The migration should not be triggerable by front-end pages at all.## Steps to Reproduce
Additional Context
Original post: https://wordpress.org/support/topic/generatedonordashboardpage-and-give_after_install-always-called/
Acceptance Criteria
- [ ] generateDonorDashboard method is only called when necessary (not on every page load)
This issue has been linked to a Canny post: The Donor Dashboard should only be generated in admin-side pages :tada:
This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 14 additional days.
This issue was closed because it has been stalled for an additional 14 days with no activity.