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

Set Jetpack to staging on non-production sites #97

Open
mogmarsh opened this issue Jul 5, 2024 · 0 comments · May be fixed by #98
Open

Set Jetpack to staging on non-production sites #97

mogmarsh opened this issue Jul 5, 2024 · 0 comments · May be fixed by #98
Assignees
Labels
enhancement New feature or request

Comments

@mogmarsh
Copy link
Contributor

mogmarsh commented Jul 5, 2024

Description

It would be nice to set jetpack to staging mode when not on production:

add_filter( 'jetpack_is_staging_site', '__return_true'

Use Case

Non-production sites should default to jetpack staging mode. This could always be disabled if it is not necessary.

WordPress VIP creates Jetpack sites for each environment, so this is mainly an issue on Pantheon.

@mogmarsh mogmarsh added the enhancement New feature or request label Jul 5, 2024
@vancoder vancoder self-assigned this Jul 11, 2024
@vancoder vancoder linked a pull request Jul 17, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants