-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 a warning when Cloudflare blocks REST API requests #8640
Changes from 1 commit
1bd7f2a
6148a05
b8af9ea
598a73a
d41f658
8c384cc
4ad8095
671208e
9191016
2219590
fbe7d6f
483beab
9c70019
468d024
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -368,8 +368,8 @@ function gutenberg_warn_classic_about_cloudflare() { | |
<li><?php _e( 'If you have a Cloudflare Pro account, login to Cloudflare, visit the Firewall settings page, open the "Cloudflare Rule Set" details, open the "Cloudflare WordPress" ruleset, then set the rules "WP0025A" and "WP0025A" to "Disable".', 'gutenberg' ); ?></li> | ||
<li> | ||
<?php | ||
/* translators: link to a comment in the Gutenberg repo */ | ||
printf( | ||
/* translators: link to a comment in the Gutenberg repo */ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should be There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍🏻 |
||
__( 'For free Cloudflare accounts, you can <a href="%s">change the REST API URL</a>, to avoid triggering the WAF rules. Please be aware that this may cause issues with other plugins that use the REST API, and removes any other protection Cloudflare may be offering for the REST API.', 'gutenberg' ), | ||
'https://github.com/WordPress/gutenberg/issues/2704#issuecomment-410582252' | ||
); | ||
|
@@ -378,8 +378,8 @@ function gutenberg_warn_classic_about_cloudflare() { | |
</ul> | ||
<p> | ||
<?php | ||
/* translators: link to an issue in the Gutenberg repo */ | ||
printf( | ||
/* translators: link to an issue in the Gutenberg repo */ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Again missing the
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍🏻 |
||
__( 'If neither of these options are possible for you, please <a href="%s">follow this issue for updates</a>. We hope to have this issue rectifed soon!', 'gutenberg' ), | ||
'https://github.com/WordPress/gutenberg/issues/2704' | ||
); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"WP0025A" and "WP0025A"
- the same id is listed twice.If I follow the description of the PR right, it should be
"WP0025A" and "WP0025B"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻