_partial
2 years ago
analytics-consent-failed.php
2 years ago
analytics-consent-refused.php
2 years ago
analytics-consent.php
3 years ago
analytics-modal.php
2 years ago
backup-plugins-notice.php
2 years ago
beta.php
2 years ago
cache-directory-permission-problem.php
3 years ago
directory-listing-could-not-be-prevented.php
3 years ago
disabled-items-notice.php
2 years ago
disabled-optimizer-notice.php
3 years ago
free-backup-update-notice.php
2 years ago
logs-directory-permission-problem.php
3 years ago
low-memory-limit.php
5 years ago
mu-plugin-directory-permission-problem.php
2 years ago
no-db-prefix-notice.php
2 years ago
object-cache-skipped.php
2 years ago
outdated-wp-staging-hooks.php
3 years ago
outdated-wp-staging-version.php
3 years ago
pro-crons-notice.php
2 years ago
rating.php
2 years ago
settings_option_corrupt.php
3 years ago
staging-directory-permission-problem.php
2 years ago
staging-symlink-enabled-notice.php
2 years ago
table-tmp-prefix-conflict-notice.php
2 years ago
transient.php
5 years ago
uploads-outside-wp-root.php
2 years ago
vars-directory-permission-problem.php
3 years ago
wordfence-userini-renamed.php
3 years ago
wp-options-missing-pk.php
3 years ago
wp-version-compatible-message.php
3 years ago
wpe-permalink-issue-notice.php
2 years ago
wrong-scheme.php
3 years ago
object-cache-skipped.php
30 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * @var $this |
| 5 | * @see \WPStaging\Framework\Support\ThirdParty\WordFence::showNotice |
| 6 | */ |
| 7 | |
| 8 | use WPStaging\Framework\Notices\Notices; |
| 9 | use WPStaging\Framework\Notices\ObjectCacheNotice; |
| 10 | |
| 11 | $linkToArticle = "https://wp-staging.com/docs/object-caching-and-how-to-activate-it/"; |
| 12 | |
| 13 | ?> |
| 14 | <div class="notice notice-warning wpstg-skipped-object-cache-notice"> |
| 15 | <p> |
| 16 | <?php esc_html_e('The WP_CONTENT/object-cache.php file in the backup is different from the installed version.', 'wp-staging') ?><br/> |
| 17 | <?php esc_html_e('It had to be deleted when restoring the backup so as not to cause an error.', 'wp-staging') ?> <br/> |
| 18 | <?php esc_html_e('You can reactivate the object cache in the corresponding caching plugin.', 'wp-staging') ?> <br/> |
| 19 | <a target="_blank" href="<?php echo esc_attr($linkToArticle); ?>"><b><?php esc_html_e('Learn More', 'wp-staging') ?></b></a> |
| 20 | </p> |
| 21 | <p> |
| 22 | <?php Notices::renderNoticeDismissAction( |
| 23 | $this->viewsNoticesPath, |
| 24 | ObjectCacheNotice::NOTICE_DISMISS_ACTION, |
| 25 | '.wpstg_dismiss_skipped_object_cache_notice', |
| 26 | '.wpstg-skipped-object-cache-notice' |
| 27 | ) ?> |
| 28 | </p> |
| 29 | </div> |
| 30 |