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

Plugin & Theme authors are now required to have 2FA enabled. #316

Merged
merged 2 commits into from
Oct 2, 2024

Conversation

dd32
Copy link
Member

@dd32 dd32 commented Oct 1, 2024

See https://make.wordpress.org/plugins/2024/09/04/upcoming-security-changes-for-plugin-and-theme-authors-on-wordpress-org/

I'm still not 100% sure what effect this will have, as I believe they'll still have access to do many things.

Instead, we should likely focus on expanding the checks at time of action to require them to have 2FA enabled; aka WordPress/wordpress.org@0c9512e or https://meta.trac.wordpress.org/ticket/7704 (require 2FA for release confirmation)

@dd32 dd32 requested a review from StevenDufresne October 1, 2024 06:40
Comment on lines -229 to -238
// @codeCoverageIgnoreStart
if ( ! array_key_exists( 'phpunit_version', $GLOBALS ) ) {
// 2FA is opt-in during beta testing.
// todo Remove this once we open it to all users.
if ( ! is_2fa_beta_tester( $user ) ) {
return false;
}
}
// @codeCoverageIgnoreEnd

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why this is still in here, I think we can just remove it all?
Let's see if this breaks the unit tests on this PR..

@dd32 dd32 merged commit 3073543 into trunk Oct 2, 2024
2 checks passed
@dd32 dd32 deleted the 2fa-required-for-plugin-theme-authors branch October 2, 2024 02:16
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.

1 participant