canonical-urls
3 months ago
carousel
3 weeks ago
comment-likes
7 months ago
comments
1 month ago
custom-post-types
1 week ago
external-media
7 months ago
google-fonts
1 week ago
gravatar
6 years ago
infinite-scroll
1 week ago
likes
1 week ago
markdown
1 month ago
memberships
1 week ago
photon-cdn
1 week ago
plugin-search
1 month ago
post-by-email
7 months ago
related-posts
1 month ago
scan
3 months ago
seo-tools
1 week ago
sharedaddy
3 weeks ago
shortcodes
1 week ago
shortlinks
1 month ago
simple-payments
7 months ago
site-icon
7 months ago
sitemaps
1 month ago
stats
6 months ago
subscriptions
1 week ago
theme-tools
1 week ago
tiled-gallery
3 weeks ago
verification-tools
1 month ago
videopress
1 week ago
widget-visibility
1 month ago
widgets
1 week ago
woocommerce-analytics
2 months ago
wordads
1 week ago
wpcom-tos
6 months ago
account-protection.php
2 months ago
blaze.php
7 months ago
blocks.php
7 months ago
canonical-urls.php
4 months ago
carousel.php
7 months ago
comment-likes.php
7 months ago
comments.php
3 months ago
contact-form.php
7 months ago
copy-post.php
1 month ago
custom-content-types.php
2 months ago
google-fonts.php
2 months ago
gravatar-hovercards.php
1 month ago
infinite-scroll.php
7 months ago
json-api.php
7 months ago
latex.php
1 month ago
likes.php
1 month ago
markdown.php
7 months ago
module-extras.php
7 months ago
module-headings.php
1 week ago
module-info.php
4 months ago
monitor.php
1 month ago
notes.php
1 week ago
photon-cdn.php
7 months ago
photon.php
7 months ago
plugin-search.php
1 week ago
post-by-email.php
2 months ago
post-list.php
7 months ago
protect.php
2 months ago
publicize.php
7 months ago
related-posts.php
1 month ago
search.php
7 months ago
seo-tools.php
1 week ago
sharedaddy.php
4 months ago
shortcodes.php
7 months ago
shortlinks.php
1 month ago
simple-payments.php
7 months ago
sitemaps.php
7 months ago
sso.php
1 week ago
stats.php
1 month ago
subscriptions.php
1 week ago
theme-tools.php
7 months ago
tiled-gallery.php
7 months ago
vaultpress.php
7 months ago
verification-tools.php
2 months ago
videopress.php
7 months ago
waf.php
7 months ago
widget-visibility.php
7 months ago
widgets.php
7 months ago
woocommerce-analytics.php
7 months ago
wordads.php
7 months ago
wpcom-reader.php
4 months ago
wpgroho.js
1 year ago
vaultpress.php
49 lines
| 1 | <?php // phpcs:disable WordPress.WP.CapitalPDangit.MisspelledInComment |
| 2 | /** |
| 3 | * Module Name: VaultPress Backup |
| 4 | * Module Description: Real-time backups save every change, and one-click restores get you back online quickly. |
| 5 | * First Introduced: 0:1.2 |
| 6 | * Sort Order: 32 |
| 7 | * Deactivate: false |
| 8 | * Free: false |
| 9 | * Requires Connection: Yes |
| 10 | * Auto Activate: No |
| 11 | * Feature: Security, Health |
| 12 | * Additional Search Queries: backup, cloud backup, database backup, restore, wordpress backup, backup plugin, wordpress backup plugin, back up, backup wordpress, backwpup, vaultpress, backups, off-site backups, offsite backup, offsite, off-site, antivirus, malware scanner, security, virus, viruses, prevent viruses, scan, anti-virus, antimalware, protection, safe browsing, malware, wp security, wordpress security |
| 13 | * Plans: personal, business, premium, security, complete |
| 14 | */ |
| 15 | |
| 16 | if ( ! defined( 'ABSPATH' ) ) { |
| 17 | exit( 0 ); |
| 18 | } |
| 19 | |
| 20 | // phpcs:enable WordPress.WP.CapitalPDangit.MisspelledInComment |
| 21 | |
| 22 | add_action( 'jetpack_modules_loaded', 'vaultpress_jetpack_stub' ); |
| 23 | |
| 24 | /** |
| 25 | * Conditionally enable module configuration. |
| 26 | */ |
| 27 | function vaultpress_jetpack_stub() { |
| 28 | if ( class_exists( 'VaultPress' ) || function_exists( 'vaultpress_contact_service' ) ) { |
| 29 | Jetpack::enable_module_configurable( __FILE__ ); |
| 30 | add_filter( 'jetpack_module_configuration_url_vaultpress', 'vaultpress_jetpack_configure_url' ); |
| 31 | add_filter( 'jetpack_module_free_text_vaultpress', 'vaultpress_jetpack_module_free_text' ); |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | /** |
| 36 | * Text for filter jetpack_module_free_text_vaultpress. |
| 37 | */ |
| 38 | function vaultpress_jetpack_module_free_text() { |
| 39 | return __( 'Active', 'jetpack' ); |
| 40 | } |
| 41 | |
| 42 | /** |
| 43 | * URL for filter jetpack_module_configuration_url_vaultpress. |
| 44 | */ |
| 45 | function vaultpress_jetpack_configure_url() { |
| 46 | include_once ABSPATH . '/wp-admin/includes/plugin.php'; |
| 47 | return menu_page_url( 'vaultpress', false ); |
| 48 | } |
| 49 |