_partial
1 week 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 day 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
3 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 day 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
2 weeks ago
review-prompt-modal.php
2 weeks ago
settings_option_corrupt.php
1 year ago
staging-directory-permission-problem.php
1 year ago
staging-symlink-enabled-notice.php
9 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
5 months ago
wp-options-missing-pk.php
5 months ago
wp-version-compat-notice.php
3 months ago
wpe-permalink-issue-notice.php
1 year ago
wrong-scheme.php
1 year ago
object-cache-skipped.php
30 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * @var $this |
| 5 | * @see \WPStaging\Framework\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::ACTION_NOTICE_DISMISS, |
| 25 | '.wpstg_dismiss_skipped_object_cache_notice', |
| 26 | '.wpstg-skipped-object-cache-notice' |
| 27 | ) ?> |
| 28 | </p> |
| 29 | </div> |
| 30 |