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

Press0-546 | Make login events only fire for admins #57

Merged
merged 6 commits into from
Mar 13, 2024
Merged

Conversation

ramyakrishnai
Copy link
Contributor

Jira Link
https://jira.newfold.com/browse/PRESS0-546

Description
login events only fire for admin users (or users who can manage options) and not other users

Changes Done
Checking if the logged in user is admin and manage_options is true.

@ramyakrishnai ramyakrishnai requested a review from a team February 26, 2024 13:00
* main:
  commit workflow contents
  add brand plugin test workflow
  more lint fixes
  some lint fixes
  `use function WP_Forge\Helpers\dataGet;` Fix #61
  Require `wp-forge/helpers`
  fixing linting issues
  passing only the array keys instead of entire values
  Fixed the deprecated warning from wp-module-data module
  delete useless autogen comment
  Linting/spacing
  Add `server_path` to `get_core_data()` using `ABSPATH`
  Add WP_Mock for tests
@circlecube circlecube merged commit 778e347 into main Mar 13, 2024
7 checks passed
@circlecube circlecube deleted the PRESS0-546 branch March 13, 2024 20:13
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