Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add file access guards #38

Merged
merged 2 commits into from
Dec 7, 2023
Merged

Add file access guards #38

merged 2 commits into from
Dec 7, 2023

Conversation

mbish
Copy link
Contributor

@mbish mbish commented Dec 5, 2023

Description

In order to prevent our plugin from executing code when access directly (rather than by wordpress)
I'm adding file gaurds as per the WordPress team's recommendation.

Motivation and Context

This came up during the WordPress review as part of standard plugin protections.

How Has This Been Tested?

Smoke tested that plugin still works

@mbish mbish merged commit 3393ec0 into main Dec 7, 2023
1 check passed
@mbish mbish deleted the ZTAT-330-file-access-header branch December 7, 2023 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants