_partial
2 weeks ago
aios-salt-postfix-enabled.php
1 year ago
analytics-consent-failed.php
1 year ago
analytics-consent-refused.php
1 year ago
analytics-modal.php
1 month ago
backup-plugins-notice.php
7 months ago
beta.php
1 year ago
cache-directory-permission-problem.php
1 year ago
cli-integration-notice.php
1 week ago
cron-warning-notice.php
2 months ago
directory-listing-could-not-be-prevented.php
7 months ago
disabled-items-notice.php
1 year ago
disabled-optimizer-notice.php
1 year ago
elementor-cloud-notice.php
4 months ago
logs-directory-permission-problem.php
1 year ago
low-memory-limit.php
1 year ago
mu-plugin-directory-permission-problem.php
1 year ago
next-gen-engine-notice.php
1 week ago
no-db-prefix-notice.php
1 year ago
object-cache-skipped.php
11 months ago
outdated-wp-staging-hooks.php
1 year ago
outdated-wp-staging-version.php
1 year ago
pro-crons-notice.php
1 year ago
review-prompt-handlers.php
3 weeks ago
review-prompt-modal.php
3 weeks ago
settings_option_corrupt.php
1 year ago
staging-directory-permission-problem.php
1 year ago
staging-symlink-enabled-notice.php
10 months ago
table-tmp-prefix-conflict-notice.php
1 year ago
transient.php
1 year ago
uploads-outside-wp-root.php
1 year ago
vars-directory-permission-problem.php
1 year ago
wordfence-userini-renamed.php
6 months ago
wp-options-missing-pk.php
6 months ago
wp-version-compat-notice.php
4 months ago
wpe-permalink-issue-notice.php
1 year ago
wrong-scheme.php
1 year ago
wordfence-userini-renamed.php
30 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * @var $viewsNoticesPath |
| 5 | * @see \WPStaging\Framework\ThirdParty\WordFence::showNotice |
| 6 | */ |
| 7 | |
| 8 | use WPStaging\Framework\Notices\Notices; |
| 9 | use WPStaging\Framework\ThirdParty\WordFence; |
| 10 | |
| 11 | ?> |
| 12 | <div class="notice notice-warning wpstg-wordfence-userini-renamed-notice"> |
| 13 | <p> |
| 14 | <strong><?php esc_html_e('WP STAGING - Wordfence firewall deactivated', 'wp-staging'); ?></strong> <br/> |
| 15 | <?php esc_html_e('We`ve disabled the WordFence Web Application Firewall on this site by renaming the WordFence file user.ini to make sure this staging site will work perfectly fine.', 'wp-staging'); ?> <br/> |
| 16 | <?php esc_html_e('When you push this site to live, your WordFence firewall settings on the live site will not be affected by this step.', 'wp-staging'); ?> <br/> |
| 17 | </p> |
| 18 | <ul> |
| 19 | <li>- <?php echo sprintf(__('<a href="%s" target="_blank">Read this</a> why we had to disable the firewall and how you can activate it if you like to.', 'wp-staging'), 'https://wp-staging.com/docs/wordfence-fatal-error-after-migration/'); ?></li> |
| 20 | </ul> |
| 21 | <p> |
| 22 | <?php Notices::renderNoticeDismissAction( |
| 23 | $viewsNoticesPath, |
| 24 | WordFence::NOTICE_NAME, |
| 25 | '.wpstg_dismiss_wordfence_userini_renamed_notice', |
| 26 | '.wpstg-wordfence-userini-renamed-notice' |
| 27 | ) ?> |
| 28 | </p> |
| 29 | </div> |
| 30 |