Version Description
- Feature: Include styles and images with the plugin instead of loading them externally.
Download this release
Release Info
Developer | briancolinger |
Plugin | VaultPress |
Version | 1.4.8 |
Comparing to | |
See all releases |
Code changes from version 1.4.7 to 1.4.8
- images/dashboard-icon-sprite-2x.png +0 -0
- images/dashboard-icon-sprite.png +0 -0
- images/logo_plugin-notice.png +0 -0
- images/noise.png +0 -0
- images/plugin-shield-2x.png +0 -0
- images/plugin-shield.png +0 -0
- images/vp-icon-sprite-2x.png +0 -0
- images/vp-icon-sprite.png +0 -0
- images/vp-toolbar-icon-trans-2x.png +0 -0
- images/vp-toolbar-icon-trans.png +0 -0
- nav-styles.css +19 -0
- readme.txt +4 -1
- styles.css +682 -0
- vaultpress.php +7 -31
images/dashboard-icon-sprite-2x.png
ADDED
Binary file
|
images/dashboard-icon-sprite.png
ADDED
Binary file
|
images/logo_plugin-notice.png
ADDED
Binary file
|
images/noise.png
ADDED
Binary file
|
images/plugin-shield-2x.png
ADDED
Binary file
|
images/plugin-shield.png
ADDED
Binary file
|
images/vp-icon-sprite-2x.png
ADDED
Binary file
|
images/vp-icon-sprite.png
ADDED
Binary file
|
images/vp-toolbar-icon-trans-2x.png
ADDED
Binary file
|
images/vp-toolbar-icon-trans.png
ADDED
Binary file
|
nav-styles.css
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#toplevel_page_vaultpress div.wp-menu-image {
|
2 |
+
background: url(images/vp-icon-sprite.png) center top no-repeat;
|
3 |
+
background-size: 28px 84px;
|
4 |
+
}
|
5 |
+
|
6 |
+
.admin-color-classic #toplevel_page_vaultpress div.wp-menu-image {
|
7 |
+
background-position: center -28px;
|
8 |
+
}
|
9 |
+
|
10 |
+
#toplevel_page_vaultpress.current div.wp-menu-image,
|
11 |
+
#toplevel_page_vaultpress:hover div.wp-menu-image {
|
12 |
+
background-position: center bottom;
|
13 |
+
}
|
14 |
+
|
15 |
+
@media only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
|
16 |
+
#toplevel_page_vaultpress div.wp-menu-image {
|
17 |
+
background-image: url(images/vp-icon-sprite-2x.png);
|
18 |
+
}
|
19 |
+
}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: automattic, apokalyptik, briancolinger, josephscott, shaunandrews,
|
|
3 |
Tags: security, malware, virus, backups, scanning
|
4 |
Requires at least: 2.9.2
|
5 |
Tested up to: 3.5.2
|
6 |
-
Stable tag: 1.4.
|
7 |
License: GPLv2
|
8 |
|
9 |
VaultPress is a subscription service offering realtime backup, automated security scanning, and support from WordPress experts.
|
@@ -51,6 +51,9 @@ A VaultPress subscription is for a single WordPress site. You can purchase addit
|
|
51 |
Yes, VaultPress supports Multisite installs. Each site will require its own subscription.
|
52 |
|
53 |
== Changelog ==
|
|
|
|
|
|
|
54 |
= 1.4.7 =
|
55 |
* Bugfix: Some servers have SSL configuration problems, which breaks the plugin when SSL verification is enforced.
|
56 |
|
3 |
Tags: security, malware, virus, backups, scanning
|
4 |
Requires at least: 2.9.2
|
5 |
Tested up to: 3.5.2
|
6 |
+
Stable tag: 1.4.8
|
7 |
License: GPLv2
|
8 |
|
9 |
VaultPress is a subscription service offering realtime backup, automated security scanning, and support from WordPress experts.
|
51 |
Yes, VaultPress supports Multisite installs. Each site will require its own subscription.
|
52 |
|
53 |
== Changelog ==
|
54 |
+
= 1.4.8 =
|
55 |
+
* Feature: Include styles and images with the plugin instead of loading them externally.
|
56 |
+
|
57 |
= 1.4.7 =
|
58 |
* Bugfix: Some servers have SSL configuration problems, which breaks the plugin when SSL verification is enforced.
|
59 |
|
styles.css
ADDED
@@ -0,0 +1,682 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* --- Misc --- */
|
2 |
+
.clrfix { zoom:1; }
|
3 |
+
.clrfix:after { content:".";display:block;height:0;width:0;line-height:0;clear:both;visibility:hidden; }
|
4 |
+
|
5 |
+
/* --- Structure --- */
|
6 |
+
#vp-wrap {
|
7 |
+
}
|
8 |
+
|
9 |
+
/* --- Old Plugin Head 0.x --- */
|
10 |
+
#vp-head {
|
11 |
+
padding: 10px 0;
|
12 |
+
}
|
13 |
+
#vp-head:after {
|
14 |
+
content: "."; display: block; height: 0; clear: both; visibility: hidden;
|
15 |
+
}
|
16 |
+
#vp-head h2 a.vp-visit-dashboard {
|
17 |
+
position: absolute;
|
18 |
+
top: 27px;
|
19 |
+
right: 15px;
|
20 |
+
-webkit-font-smoothing: antialiased;
|
21 |
+
font-weight: bold;
|
22 |
+
float: right;
|
23 |
+
text-shadow: none;
|
24 |
+
font-size: 13px;
|
25 |
+
line-height: 100%;
|
26 |
+
padding: 5px 15px 7px 15px;
|
27 |
+
text-decoration: none;
|
28 |
+
color: #999;
|
29 |
+
border: 1px solid #CCC;
|
30 |
+
border: 1px solid rgba(0,0,0,0.3);
|
31 |
+
-webkit-border-radius: 3px;
|
32 |
+
-moz-border-radius: 3px;
|
33 |
+
border-radius: 3px;
|
34 |
+
box-shadow: 0 1px 0 rgba(0,0,0,0.1);
|
35 |
+
}
|
36 |
+
#vp-head a.vp-visit-dashboard:hover {
|
37 |
+
background: #0098C4;
|
38 |
+
color: #FFF;
|
39 |
+
border-color: rgba(0,0,0,0.3);
|
40 |
+
box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 1px 0 rgba(0,0,0,0.1);
|
41 |
+
}
|
42 |
+
#vp-head a.vp-visit-dashboard:active {
|
43 |
+
color: rgba(255,255,255,0.6);
|
44 |
+
box-shadow: inset 0 2px 2px rgba(0,0,0,0.2);
|
45 |
+
top: 28px;
|
46 |
+
}
|
47 |
+
#vp-head h2 {
|
48 |
+
float: left;
|
49 |
+
height: 32px;
|
50 |
+
background: url(images/plugin-shield.png) 0 7px no-repeat;
|
51 |
+
background-size: 31px 32px;
|
52 |
+
font-size: 23px;
|
53 |
+
padding: 11px 15px 4px 40px;
|
54 |
+
line-height: 29px;
|
55 |
+
}
|
56 |
+
#vp-head .updated {
|
57 |
+
clear: left;
|
58 |
+
}
|
59 |
+
|
60 |
+
/* --- Header 1.x --- */
|
61 |
+
#icon-vaultpress {
|
62 |
+
background: url(images/plugin-shield.png) 0 0 no-repeat;
|
63 |
+
}
|
64 |
+
|
65 |
+
|
66 |
+
/* --- Notices --- */
|
67 |
+
#vp-notice {
|
68 |
+
clear: both;
|
69 |
+
display: block;
|
70 |
+
background: #343434 url(images/logo_plugin-notice.png) 15px 17px no-repeat;
|
71 |
+
border: 1px solid rgba(0,0,0,0.5);
|
72 |
+
box-shadow: 0 2px 1px rgba(0,0,0,0.1);
|
73 |
+
padding: 20px 15px 20px 55px;
|
74 |
+
margin: 10px 0;
|
75 |
+
-webkit-border-radius: 3px;
|
76 |
+
-moz-border-radius: 3px;
|
77 |
+
border-radius: 3px;
|
78 |
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;;
|
79 |
+
}
|
80 |
+
#vp-notice:after {
|
81 |
+
content: "."; display: block; height: 0; clear: both; visibility: hidden;
|
82 |
+
}
|
83 |
+
|
84 |
+
#vp-notice .vp-message {
|
85 |
+
color: #FFF;
|
86 |
+
-webkit-font-smoothing: antialiased;
|
87 |
+
}
|
88 |
+
#vp-notice .vp-message h3 {
|
89 |
+
font-size: 20px;
|
90 |
+
font-weight: normal;
|
91 |
+
font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
92 |
+
margin: 0 0 10px 0;
|
93 |
+
}
|
94 |
+
#vp-notice .vp-message p {
|
95 |
+
margin: 0;
|
96 |
+
padding: 0;
|
97 |
+
font-size: 12px;
|
98 |
+
line-height: 180%;
|
99 |
+
}
|
100 |
+
#vp-notice .vp-message a {
|
101 |
+
padding: 3px 10px;
|
102 |
+
text-decoration: none;
|
103 |
+
color: #CCC;
|
104 |
+
border: 1px solid #FFF;
|
105 |
+
border: 1px solid rgba(255,255,255,0.3);
|
106 |
+
-webkit-border-radius: 10px;
|
107 |
+
-moz-border-radius: 10px;
|
108 |
+
border-radius: 10px;
|
109 |
+
box-shadow: 0 1px 0 rgba(0,0,0,0.1);
|
110 |
+
}
|
111 |
+
#vp-notice .vp-message a:hover {
|
112 |
+
background: #0098C4;
|
113 |
+
color: #FFF;
|
114 |
+
border-color: rgba(0,0,0,0.3);
|
115 |
+
box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
|
116 |
+
}
|
117 |
+
#vp-notice .vp-message a:active {
|
118 |
+
color: rgba(255,255,255,0.6);
|
119 |
+
box-shadow: inset 0 2px 2px rgba(0,0,0,0.2);
|
120 |
+
position: relative;
|
121 |
+
top: 1px;
|
122 |
+
}
|
123 |
+
|
124 |
+
#vp-notice.vp-error {
|
125 |
+
background-color: #AB0300;
|
126 |
+
}
|
127 |
+
#vp-notice.vp-error a { color: #FFF; }
|
128 |
+
#vp-notice.vp-error a:hover { background: #333; box-shadow: inset 0 1px 0 rgba(255,255,255,0.1) }
|
129 |
+
#vp-notice.vp-error a:active { }
|
130 |
+
|
131 |
+
|
132 |
+
/* --- Remote Access Notice --- */
|
133 |
+
#no-access-credentials {
|
134 |
+
clear: both;
|
135 |
+
background: #FBFBDF;
|
136 |
+
padding: 1px 25px;
|
137 |
+
margin: 0 0 20px 0;
|
138 |
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
139 |
+
clear: both;
|
140 |
+
-webkit-border-top-left-radius: 4px;
|
141 |
+
-webkit-border-top-right-radius: 4px;
|
142 |
+
-moz-border-radius-topleft: 4px;
|
143 |
+
-moz-border-radius-topright: 4px;
|
144 |
+
border-top-left-radius: 4px;
|
145 |
+
border-top-right-radius: 4px;
|
146 |
+
-webkit-background-clip: padding-box;
|
147 |
+
-webkit-font-smoothing: antialiased;
|
148 |
+
}
|
149 |
+
#no-access-credentials p {
|
150 |
+
font-size: 14px;
|
151 |
+
color: #333;
|
152 |
+
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
|
153 |
+
text-align: left;
|
154 |
+
padding-left: 42px;
|
155 |
+
line-height: 32px;
|
156 |
+
background: url(images/dashboard-icon-sprite.png) no-repeat -270px -391px;
|
157 |
+
background-size: 300px 420px;
|
158 |
+
}
|
159 |
+
|
160 |
+
|
161 |
+
/* --- Toolbar --- */
|
162 |
+
#wpadminbar #wp-admin-bar-vp-notice a {
|
163 |
+
padding: 0 4px;
|
164 |
+
}
|
165 |
+
#wpadminbar #wp-admin-bar-vp-notice strong {
|
166 |
+
float: left;
|
167 |
+
margin-top: 3px;
|
168 |
+
padding: 1px 7px 0 5px;
|
169 |
+
background-color: #ff9a00;
|
170 |
+
color: #fff;
|
171 |
+
color: rgba(255,255,255,0.9);
|
172 |
+
font-size: 12px;
|
173 |
+
text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
|
174 |
+
line-height: 21px;
|
175 |
+
text-shadow: none;
|
176 |
+
-webkit-border-radius: 2px;
|
177 |
+
-moz-border-radius: 2px;
|
178 |
+
border-radius: 2px;
|
179 |
+
overflow: hidden;
|
180 |
+
height: 21px;
|
181 |
+
}
|
182 |
+
|
183 |
+
#wpadminbar #wp-admin-bar-vp-notice a:active strong {
|
184 |
+
position: relative;
|
185 |
+
top: 1px;
|
186 |
+
box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
|
187 |
+
}
|
188 |
+
|
189 |
+
#wpadminbar #wp-admin-bar-vp-notice.error strong {
|
190 |
+
background-color: #ac0300;
|
191 |
+
}
|
192 |
+
|
193 |
+
#wpadminbar #wp-admin-bar-vp-notice strong .ab-icon {
|
194 |
+
width: 16px;
|
195 |
+
height: 21px;
|
196 |
+
margin: 0 6px 0 0;
|
197 |
+
background: transparent url(images/vp-toolbar-icon-trans.png) no-repeat 0 2px;
|
198 |
+
background-size: 16px;
|
199 |
+
}
|
200 |
+
|
201 |
+
|
202 |
+
/* gray hover */
|
203 |
+
/*
|
204 |
+
#wpadminbar #wp-admin-bar-vp-notice a:hover strong {
|
205 |
+
background-color: #333;
|
206 |
+
-webkit-box-shadow: inset 0px 1px 1px 0px rgba(0, 0, 0, .4);
|
207 |
+
-moz-box-shadow: inset 0px 1px 1px 0px rgba(0, 0, 0, .4);
|
208 |
+
box-shadow: inset 0px 1px 1px 0px rgba(0, 0, 0, .4);
|
209 |
+
border-bottom: 1px solid #444;
|
210 |
+
}
|
211 |
+
*/
|
212 |
+
|
213 |
+
/* reset hover state */
|
214 |
+
|
215 |
+
#wpadminbar #wp-admin-bar-vp-notice a.ab-item:hover {
|
216 |
+
background-image: none;
|
217 |
+
background-color: #222;
|
218 |
+
}
|
219 |
+
|
220 |
+
|
221 |
+
/* --- Status Ticker --- */
|
222 |
+
#vp-ticker {
|
223 |
+
margin: 0 0 20px 0;
|
224 |
+
padding: 8px 8px;
|
225 |
+
position: relative;
|
226 |
+
top: 0px;
|
227 |
+
border-top: 1px solid #CCC;
|
228 |
+
border-bottom: 1px solid #CCC;
|
229 |
+
background: #EFEFEF url(images/noise.png) repeat 0 0;
|
230 |
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
231 |
+
-webkit-font-smoothing: antialiased;
|
232 |
+
}
|
233 |
+
#vp-ticker h3 {
|
234 |
+
margin: 0;
|
235 |
+
padding: 0 5px 0 0;
|
236 |
+
font-size: 13px;
|
237 |
+
line-height: 1em;
|
238 |
+
color: #999;
|
239 |
+
display: inline;
|
240 |
+
font-style: normal;
|
241 |
+
text-shadow: 0 1px 0 #FFF;
|
242 |
+
font-weight: bold;
|
243 |
+
|
244 |
+
-webkit-font-smoothing: antialiased;
|
245 |
+
-webkit-border-radius: 4px;
|
246 |
+
-moz-border-radius: 4px;
|
247 |
+
border-radius: 4px;
|
248 |
+
}
|
249 |
+
#vp-ticker p {
|
250 |
+
margin: 0;
|
251 |
+
padding: 0;
|
252 |
+
display: inline;
|
253 |
+
font-size: 13px;
|
254 |
+
line-height: 1em;
|
255 |
+
color: #000;
|
256 |
+
text-shadow: none;
|
257 |
+
}
|
258 |
+
|
259 |
+
|
260 |
+
/* --- Tabs --- */
|
261 |
+
#vp-tabs {
|
262 |
+
/* IE 7 specific */
|
263 |
+
*position: relative;
|
264 |
+
*z-index: 1;
|
265 |
+
}
|
266 |
+
#vp-tabs .menu-tabs {
|
267 |
+
float: left;
|
268 |
+
height: 28px;
|
269 |
+
line-height: 28px;
|
270 |
+
margin: 0 5px 0 0;
|
271 |
+
padding: 0 8px;
|
272 |
+
border-width: 1px 1px 1px;
|
273 |
+
border-style: solid;
|
274 |
+
border-color: #ddd #ddd #fff;
|
275 |
+
font-size: 13px;
|
276 |
+
color: #818181;
|
277 |
+
background-color: #fff;
|
278 |
+
text-decoration: none;
|
279 |
+
text-shadow: #fff 0px 1px 0px;
|
280 |
+
text-transform: uppercase;
|
281 |
+
font-family: "Lucida Grande", Lucida, Helvetica, Verdana, Arial, sans-serif;
|
282 |
+
}
|
283 |
+
#vp-tabs .menu-tab-inactive {
|
284 |
+
border-color: #ddd;
|
285 |
+
background-color: #ededed;
|
286 |
+
color: #21759b;
|
287 |
+
}
|
288 |
+
#vp-tabs .menu-tab-inactive:hover {
|
289 |
+
text-decoration: underline;
|
290 |
+
}
|
291 |
+
#vp-tab-content {
|
292 |
+
min-width: 568px;
|
293 |
+
max-width: 1000px;
|
294 |
+
margin-top: -1px;
|
295 |
+
padding: 20px;
|
296 |
+
border: 1px solid #ddd;
|
297 |
+
background-color: #fff;
|
298 |
+
}
|
299 |
+
#vp-tab-content .label {
|
300 |
+
padding-left: 8px;
|
301 |
+
}
|
302 |
+
#vp-totals table td {
|
303 |
+
border-top: #ececec 1px solid;
|
304 |
+
padding: 3px 0;
|
305 |
+
white-space: nowrap;
|
306 |
+
}
|
307 |
+
#vp-totals table tr.first td {
|
308 |
+
border-top: none;
|
309 |
+
}
|
310 |
+
#vp-totals td.b {
|
311 |
+
padding-right: 6px;
|
312 |
+
text-align: right;
|
313 |
+
font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
|
314 |
+
font-size: 18px;
|
315 |
+
}
|
316 |
+
#vp-totals .t {
|
317 |
+
font-size: 12px;
|
318 |
+
padding-right: 12px;
|
319 |
+
padding-top: 6px;
|
320 |
+
color: #777;
|
321 |
+
}
|
322 |
+
#vp-totals td.first,
|
323 |
+
#vp-totals td.last {
|
324 |
+
width: 1%;
|
325 |
+
}
|
326 |
+
#vp-totals .col1 {
|
327 |
+
float: left;
|
328 |
+
width: 45%;
|
329 |
+
margin-right: 1em;
|
330 |
+
}
|
331 |
+
#vp-totals p,
|
332 |
+
#vp-activity p {
|
333 |
+
margin-top: 0;
|
334 |
+
color: #333;
|
335 |
+
font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
|
336 |
+
font-size: 16px;
|
337 |
+
}
|
338 |
+
#vp-totals p em {
|
339 |
+
color: #666;
|
340 |
+
font-size: 13px;
|
341 |
+
font-style: italic;
|
342 |
+
}
|
343 |
+
#vp-totals .col2 {
|
344 |
+
float: left;
|
345 |
+
width: 25%;
|
346 |
+
}
|
347 |
+
#vp-totals .col3 {
|
348 |
+
float: right;
|
349 |
+
width: 25%;
|
350 |
+
}
|
351 |
+
#vp-totals p {
|
352 |
+
clear: both;
|
353 |
+
width: 100%;
|
354 |
+
}
|
355 |
+
#vp-activity td {
|
356 |
+
padding: 12px 8px;
|
357 |
+
color: #666;
|
358 |
+
font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
|
359 |
+
font-size: 13px;
|
360 |
+
vertical-align: middle;
|
361 |
+
}
|
362 |
+
#vp-activity td .ago {
|
363 |
+
color: #000;
|
364 |
+
font-size: 1.2em;
|
365 |
+
}
|
366 |
+
#vp-activity td.date {
|
367 |
+
width: 1%;
|
368 |
+
padding-right: 15px;
|
369 |
+
white-space: nowrap;
|
370 |
+
}
|
371 |
+
|
372 |
+
|
373 |
+
|
374 |
+
/* --- Not Registered/Activated --- */
|
375 |
+
#vp_registration {
|
376 |
+
clear: both;
|
377 |
+
position: relative;
|
378 |
+
margin: 10px 0 20px 0;
|
379 |
+
-webkit-font-smoothing: antialiased;
|
380 |
+
}
|
381 |
+
#vp_registration:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
382 |
+
|
383 |
+
#vp_registration .vp_view-plans {
|
384 |
+
background: #333 url(images/noise.png) repeat 0 0;
|
385 |
+
color: #FFF;
|
386 |
+
float: left;
|
387 |
+
width: 360px;
|
388 |
+
padding: 20px 30px 30px 30px;
|
389 |
+
margin-right: 30px;
|
390 |
+
-webkit-border-radius: 6px;
|
391 |
+
-moz-border-radius: 6px;
|
392 |
+
border-radius: 6px;
|
393 |
+
}
|
394 |
+
#vp_registration .vp_view-plans h1 {
|
395 |
+
font-size: 24px;
|
396 |
+
font-weight: normal;
|
397 |
+
font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
398 |
+
margin: 0 0 10px 0;
|
399 |
+
line-height: 140%;
|
400 |
+
}
|
401 |
+
#vp_registration .vp_view-plans h1 strong {}
|
402 |
+
#vp_registration .vp_view-plans p {
|
403 |
+
color: #CCC;
|
404 |
+
font-size: 15px;
|
405 |
+
line-height: 140%;
|
406 |
+
margin: 0 0 25px 0;
|
407 |
+
}
|
408 |
+
#vp_registration .vp_view-plans h5 strong {}
|
409 |
+
#vp_registration .vp_view-plans p.vp_plans-btn {
|
410 |
+
position: relative;
|
411 |
+
left: -5px;
|
412 |
+
}
|
413 |
+
#vp_registration .vp_view-plans p.vp_plans-btn a {
|
414 |
+
float: left;
|
415 |
+
padding: 4px;
|
416 |
+
background-color: rgba(0,0,0,0.8);
|
417 |
+
background-color: #000;
|
418 |
+
-webkit-border-radius: 30px;
|
419 |
+
-moz-border-radius: 30px;
|
420 |
+
border-radius: 30px;
|
421 |
+
text-decoration: none;
|
422 |
+
color: #FFF;
|
423 |
+
font-size: 13px;
|
424 |
+
text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
|
425 |
+
}
|
426 |
+
#vp_registration .vp_view-plans p.vp_plans-btn a:hover {}
|
427 |
+
#vp_registration .vp_view-plans p.vp_plans-btn a:active {}
|
428 |
+
#vp_registration .vp_view-plans p.vp_plans-btn a strong {
|
429 |
+
background: #0090BA;
|
430 |
+
padding: 10px 55px;
|
431 |
+
float: left;
|
432 |
+
border: 1px solid rgba(0, 0, 0, 0.4);
|
433 |
+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
|
434 |
+
-moz-border-radius: 30px;
|
435 |
+
-webkit-border-radius: 30px;
|
436 |
+
border-radius: 30px;
|
437 |
+
-webkit-background-clip: padding-box;
|
438 |
+
text-decoration: none;
|
439 |
+
color: white;
|
440 |
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
441 |
+
font-size: 16px;
|
442 |
+
font-weight: normal;
|
443 |
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
|
444 |
+
background: -moz-linear-gradient(top, #10C3EF 0%, #10A6CC 3%, #039BC1 43%, #009AC4 46%, #0084A5 100%);
|
445 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #10C3EF), color-stop(3%, #10A6CC), color-stop(43%, #039BC1), color-stop(46%, #009AC4), color-stop(100%, #0084A5));
|
446 |
+
background: -webkit-linear-gradient(top, #10C3EF 0%, #10A6CC 3%, #039BC1 43%, #009AC4 46%, #0084A5 100%);
|
447 |
+
background: -o-linear-gradient(top, #10C3EF 0%, #10A6CC 3%, #039BC1 43%, #009AC4 46%, #0084A5 100%);
|
448 |
+
background: -ms-linear-gradient(top, #10C3EF 0%, #10A6CC 3%, #039BC1 43%, #009AC4 46%, #0084A5 100%);
|
449 |
+
background: linear-gradient(top, #10C3EF 0%, #10A6CC 3%, #039BC1 43%, #009AC4 46%, #0084A5 100%);
|
450 |
+
}
|
451 |
+
#vp_registration .vp_view-plans p.vp_plans-btn a strong b { font-weight: bold; }
|
452 |
+
#vp_registration .vp_view-plans p.vp_plans-btn a:hover strong {
|
453 |
+
box-shadow: 0 3px 4px #000;
|
454 |
+
text-decoration: underline;
|
455 |
+
}
|
456 |
+
#vp_registration .vp_view-plans p.vp_plans-btn a:active strong {
|
457 |
+
background: #007ca0; /* Old browsers */
|
458 |
+
background: -moz-linear-gradient(top, #007ca0 0%, #7db9e8 100%); /* FF3.6+ */
|
459 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#007ca0), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */
|
460 |
+
background: -webkit-linear-gradient(top, #007ca0 0%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */
|
461 |
+
background: -o-linear-gradient(top, #007ca0 0%,#7db9e8 100%); /* Opera11.10+ */
|
462 |
+
background: -ms-linear-gradient(top, #007ca0 0%,#7db9e8 100%); /* IE10+ */
|
463 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#007ca0', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */
|
464 |
+
background: linear-gradient(top, #007ca0 0%,#7db9e8 100%); /* W3C */
|
465 |
+
}
|
466 |
+
|
467 |
+
#vp_registration .vp_register-plugin {
|
468 |
+
float: left;
|
469 |
+
padding: 50px 0 0 0;
|
470 |
+
}
|
471 |
+
#vp_registration .vp_register-plugin h3 {
|
472 |
+
font-size: 15px;
|
473 |
+
color: #333;
|
474 |
+
text-shadow: 0 1px 0 #FFF;
|
475 |
+
margin: 0 0 5px 0;
|
476 |
+
}
|
477 |
+
#vp_registration .vp_register-plugin p {
|
478 |
+
margin: 0 0 15px 0;
|
479 |
+
color: #666;
|
480 |
+
}
|
481 |
+
#vp_registration .vp_register-plugin fieldset {}
|
482 |
+
#vp_registration .vp_register-plugin textarea {
|
483 |
+
display: block;
|
484 |
+
width: 350px;
|
485 |
+
height: 60px;
|
486 |
+
border: 1px solid #999;
|
487 |
+
box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
|
488 |
+
padding: 5px;
|
489 |
+
font-size: 14px;
|
490 |
+
font-family: Georgia, Constantia, "Palatino Linotype", "Book Antiqua", serif;;
|
491 |
+
-webkit-border-radius: 3px;
|
492 |
+
-moz-border-radius: 3px;
|
493 |
+
border-radius: 3px;
|
494 |
+
}
|
495 |
+
#vp_registration .vp_register-plugin button {
|
496 |
+
-webkit-font-smoothing: antialiased;
|
497 |
+
float: left;
|
498 |
+
font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
499 |
+
padding: 0;
|
500 |
+
border: none !important;
|
501 |
+
background: transparent;
|
502 |
+
text-decoration: none;
|
503 |
+
color: #333;
|
504 |
+
font-size: 13px;
|
505 |
+
text-shadow: 0 1px 0 #FFF;
|
506 |
+
cursor: pointer;
|
507 |
+
position: relative;
|
508 |
+
top: 10px;
|
509 |
+
left: -4px;
|
510 |
+
}
|
511 |
+
#vp_registration .vp_register-plugin button strong {
|
512 |
+
float: left;
|
513 |
+
padding: 7px 25px;
|
514 |
+
border: 1px solid #999;
|
515 |
+
-webkit-border-radius: 30px;
|
516 |
+
-moz-border-radius: 30px;
|
517 |
+
border-radius: 30px;
|
518 |
+
|
519 |
+
background: #ffffff; /* Old browsers */
|
520 |
+
background: -moz-linear-gradient(top, #ffffff 0%, #dddddd 100%); /* FF3.6+ */
|
521 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#dddddd)); /* Chrome,Safari4+ */
|
522 |
+
background: -webkit-linear-gradient(top, #ffffff 0%,#dddddd 100%); /* Chrome10+,Safari5.1+ */
|
523 |
+
background: -o-linear-gradient(top, #ffffff 0%,#dddddd 100%); /* Opera11.10+ */
|
524 |
+
background: -ms-linear-gradient(top, #ffffff 0%,#dddddd 100%); /* IE10+ */
|
525 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dddddd',GradientType=0 ); /* IE6-9 */
|
526 |
+
background: linear-gradient(top, #ffffff 0%,#dddddd 100%); /* W3C */
|
527 |
+
}
|
528 |
+
#vp_registration .vp_register-plugin button strong:active { background: #CCC; position: relative; top: 1px; }
|
529 |
+
|
530 |
+
|
531 |
+
|
532 |
+
/* Progress Bars */
|
533 |
+
#vp_progress {
|
534 |
+
font-family: Helvetica, Arial, Sans-serif;
|
535 |
+
}
|
536 |
+
#vp_progress:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
537 |
+
|
538 |
+
#vp_progress .vp_graphs {
|
539 |
+
background: #333 url(images/noise.png) repeat 0 0;
|
540 |
+
color: #FFF;
|
541 |
+
float: left;
|
542 |
+
width: 380px;
|
543 |
+
padding: 0;
|
544 |
+
-webkit-border-radius: 6px;
|
545 |
+
-moz-border-radius: 6px;
|
546 |
+
border-radius: 6px;
|
547 |
+
-webkit-font-smoothing: antialiased;
|
548 |
+
}
|
549 |
+
#vp_progress .vp_graphs:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
550 |
+
|
551 |
+
#vp_progress .vp_graphs h1 {
|
552 |
+
color: #FFF;
|
553 |
+
text-shadow: 0 -1px 0 rgba(0,0,0,0.4);
|
554 |
+
padding: 20px 30px 20px 30px;
|
555 |
+
margin: 0;
|
556 |
+
border-bottom: 1px solid rgba(255,255,255,0.05);
|
557 |
+
|
558 |
+
font-size: 24px;
|
559 |
+
font-weight: normal;
|
560 |
+
font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
561 |
+
line-height: 140%;
|
562 |
+
}
|
563 |
+
#vp_progress .vp_graphs ul {
|
564 |
+
padding: 0 0 5px 0;
|
565 |
+
float: left;
|
566 |
+
width: 380px;
|
567 |
+
background: rgba(0,0,0,0.1);
|
568 |
+
}
|
569 |
+
#vp_progress .vp_graphs ul li {
|
570 |
+
float: left;
|
571 |
+
clear: both;
|
572 |
+
margin: 0;
|
573 |
+
width: 320px;
|
574 |
+
padding: 15px 30px;
|
575 |
+
line-height: 100%;
|
576 |
+
border-top: 1px solid rgba(0,0,0,0.3);
|
577 |
+
border-bottom: 1px solid rgba(255,255,255,0.05);
|
578 |
+
}
|
579 |
+
#vp_progress .vp_graphs ul li.completed { }
|
580 |
+
#vp_progress .vp_graphs ul li.completed .bar { }
|
581 |
+
#vp_progress .vp_graphs ul li.completed .bar span {
|
582 |
+
background: rgb(41,154,11);
|
583 |
+
background: -moz-linear-gradient(top, rgba(41,154,11,1) 0%, rgba(41,154,11,1) 100%);
|
584 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(41,154,11,1)), color-stop(100%,rgba(41,154,11,1)));
|
585 |
+
background: -webkit-linear-gradient(top, rgba(41,154,11,1) 0%,rgba(41,154,11,1) 100%);
|
586 |
+
background: -o-linear-gradient(top, rgba(41,154,11,1) 0%,rgba(41,154,11,1) 100%);
|
587 |
+
background: -ms-linear-gradient(top, rgba(41,154,11,1) 0%,rgba(41,154,11,1) 100%);
|
588 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#299a0b', endColorstr='#299a0b',GradientType=0 );
|
589 |
+
background: linear-gradient(top, rgba(41,154,11,1) 0%,rgba(41,154,11,1) 100%);
|
590 |
+
}
|
591 |
+
#vp_progress .vp_graphs ul li.completed .percentage,
|
592 |
+
#vp_progress .vp_graphs ul li.completed .title {
|
593 |
+
color: #FFF;
|
594 |
+
}
|
595 |
+
|
596 |
+
#vp_progress .bar {
|
597 |
+
float: left;
|
598 |
+
width: 215px;
|
599 |
+
padding: 4px;
|
600 |
+
background: #252525 url(images/noise.png) repeat 0 0;
|
601 |
+
margin: 0 5px 0 0;
|
602 |
+
border: 1px solid rgba(255,255,255,0.1);
|
603 |
+
-webkit-border-radius: 20px;
|
604 |
+
-moz-border-radius: 20px;
|
605 |
+
border-radius: 20px;
|
606 |
+
box-shadow: inset 0 1px 1px rgba(0,0,0,0.6);
|
607 |
+
}
|
608 |
+
#vp_progress .bar span {
|
609 |
+
float: left;
|
610 |
+
height: 22px;
|
611 |
+
|
612 |
+
background: #63b6db;
|
613 |
+
background: -moz-linear-gradient(top, #63b6db 0%, #309dcf 100%);
|
614 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#63b6db), color-stop(100%,#309dcf));
|
615 |
+
background: -webkit-linear-gradient(top, #63b6db 0%,#309dcf 100%);
|
616 |
+
background: -o-linear-gradient(top, #63b6db 0%,#309dcf 100%);
|
617 |
+
background: -ms-linear-gradient(top, #63b6db 0%,#309dcf 100%);
|
618 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#63b6db', endColorstr='#309dcf',GradientType=0 );
|
619 |
+
background: linear-gradient(top, #63b6db 0%,#309dcf 100%);
|
620 |
+
|
621 |
+
|
622 |
+
box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
|
623 |
+
|
624 |
+
-webkit-border-radius: 20px;
|
625 |
+
-moz-border-radius: 20px;
|
626 |
+
border-radius: 20px;
|
627 |
+
}
|
628 |
+
#vp_progress .percentage {
|
629 |
+
float: right;
|
630 |
+
position: relative;
|
631 |
+
top: 10px;
|
632 |
+
margin: 0;
|
633 |
+
width: 30px;
|
634 |
+
text-align: right;
|
635 |
+
font-size: 11px;
|
636 |
+
font-weight: bold;
|
637 |
+
color: #999;
|
638 |
+
}
|
639 |
+
#vp_progress .title {
|
640 |
+
float: left;
|
641 |
+
width: 60px;
|
642 |
+
position: relative;
|
643 |
+
top: 10px;
|
644 |
+
font-size: 12px;
|
645 |
+
color: #CCC;
|
646 |
+
}
|
647 |
+
|
648 |
+
#vp_progress .vp_progress-description {
|
649 |
+
margin: 0 0 0 400px;
|
650 |
+
padding: 20px 20px 0 20px;
|
651 |
+
}
|
652 |
+
#vp_progress .vp_progress-description h3 {
|
653 |
+
font-size: 12px;
|
654 |
+
color: #AAA;
|
655 |
+
}
|
656 |
+
#vp_progress .vp_progress-description ul {
|
657 |
+
margin: 0 0 20px 0;
|
658 |
+
}
|
659 |
+
#vp_progress .vp_progress-description li {
|
660 |
+
list-style: square;
|
661 |
+
color: #777;
|
662 |
+
margin: 0 0 15px 0;
|
663 |
+
font-size: 12px;
|
664 |
+
line-height: 160%;
|
665 |
+
}
|
666 |
+
#vp_progress .vp_progress-description li strong {
|
667 |
+
color: #555;
|
668 |
+
}
|
669 |
+
#vp_progress .vp_progress-description p {
|
670 |
+
font-size: 12px;
|
671 |
+
color: #999;
|
672 |
+
font-style: italic;
|
673 |
+
line-height: 160%;
|
674 |
+
margin: 0 0 30px 0;
|
675 |
+
}
|
676 |
+
|
677 |
+
|
678 |
+
@media only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3, '/', 2), only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
|
679 |
+
#vp-head h2 { background-image: url(images/plugin-shield-2x.png); }
|
680 |
+
#no-access-credentials p { background-image: url(images/dashboard-icon-sprite-2x.png); }
|
681 |
+
#wpadminbar #wp-admin-bar-vp-notice strong .ab-icon { background-image: url(images/vp-toolbar-icon-trans-2x.png); }
|
682 |
+
}
|
vaultpress.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: VaultPress
|
4 |
* Plugin URI: http://vaultpress.com/?utm_source=plugin-uri&utm_medium=plugin-description&utm_campaign=1.0
|
5 |
* Description: Protect your content, themes, plugins, and settings with <strong>realtime backup</strong> and <strong>automated security scanning</strong> from <a href="http://vaultpress.com/?utm_source=wp-admin&utm_medium=plugin-description&utm_campaign=1.0" rel="nofollow">VaultPress</a>. Activate, enter your registration key, and never worry again. <a href="http://vaultpress.com/help/?utm_source=wp-admin&utm_medium=plugin-description&utm_campaign=1.0" rel="nofollow">Need some help?</a>
|
6 |
-
* Version: 1.4.
|
7 |
* Author: Automattic
|
8 |
* Author URI: http://vaultpress.com/?utm_source=author-uri&utm_medium=plugin-description&utm_campaign=1.0
|
9 |
* License: GPL2+
|
@@ -18,7 +18,7 @@ if ( !defined( 'ABSPATH' ) )
|
|
18 |
class VaultPress {
|
19 |
var $option_name = 'vaultpress';
|
20 |
var $db_version = 3;
|
21 |
-
var $plugin_version = '1.4.
|
22 |
|
23 |
function VaultPress() {
|
24 |
$this->__construct();
|
@@ -198,32 +198,6 @@ class VaultPress {
|
|
198 |
add_action( $filter, array( $this, 'error_notice' ) );
|
199 |
}
|
200 |
}
|
201 |
-
?>
|
202 |
-
|
203 |
-
<style type="text/css">
|
204 |
-
#toplevel_page_vaultpress div.wp-menu-image {
|
205 |
-
background: url(<?php echo esc_url( $this->server_url() ); ?>images/vp-icon-sprite.png?20111216) center top no-repeat;
|
206 |
-
background-size: 28px 84px;
|
207 |
-
}
|
208 |
-
|
209 |
-
.admin-color-classic #toplevel_page_vaultpress div.wp-menu-image {
|
210 |
-
background-position: center -28px;
|
211 |
-
}
|
212 |
-
|
213 |
-
#toplevel_page_vaultpress.current div.wp-menu-image,
|
214 |
-
#toplevel_page_vaultpress:hover div.wp-menu-image {
|
215 |
-
background-position: center bottom;
|
216 |
-
}
|
217 |
-
|
218 |
-
@media only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
|
219 |
-
#toplevel_page_vaultpress div.wp-menu-image {
|
220 |
-
background-image: url(<?php echo esc_url( $this->server_url() ); ?>images/vp-icon-sprite-2x.png?20111216);
|
221 |
-
}
|
222 |
-
}
|
223 |
-
</style>
|
224 |
-
|
225 |
-
<?php
|
226 |
-
|
227 |
}
|
228 |
|
229 |
function admin_menu() {
|
@@ -249,8 +223,10 @@ class VaultPress {
|
|
249 |
if ( !current_user_can( 'manage_options' ) || !is_admin() )
|
250 |
return;
|
251 |
|
252 |
-
|
253 |
-
|
|
|
|
|
254 |
}
|
255 |
|
256 |
// display a security threat notice if one exists
|
@@ -952,7 +928,7 @@ class VaultPress {
|
|
952 |
$this->update_option( 'service_ips', $newval );
|
953 |
}
|
954 |
|
955 |
-
$external_data = $this->request_firewall_update(
|
956 |
if ( $external_data ) {
|
957 |
$external_newval = array( 'updated' => time(), 'data' => $external_data );
|
958 |
update_option( 'vaultpress_service_ips_external', $external_newval );
|
3 |
* Plugin Name: VaultPress
|
4 |
* Plugin URI: http://vaultpress.com/?utm_source=plugin-uri&utm_medium=plugin-description&utm_campaign=1.0
|
5 |
* Description: Protect your content, themes, plugins, and settings with <strong>realtime backup</strong> and <strong>automated security scanning</strong> from <a href="http://vaultpress.com/?utm_source=wp-admin&utm_medium=plugin-description&utm_campaign=1.0" rel="nofollow">VaultPress</a>. Activate, enter your registration key, and never worry again. <a href="http://vaultpress.com/help/?utm_source=wp-admin&utm_medium=plugin-description&utm_campaign=1.0" rel="nofollow">Need some help?</a>
|
6 |
+
* Version: 1.4.8
|
7 |
* Author: Automattic
|
8 |
* Author URI: http://vaultpress.com/?utm_source=author-uri&utm_medium=plugin-description&utm_campaign=1.0
|
9 |
* License: GPL2+
|
18 |
class VaultPress {
|
19 |
var $option_name = 'vaultpress';
|
20 |
var $db_version = 3;
|
21 |
+
var $plugin_version = '1.4.8';
|
22 |
|
23 |
function VaultPress() {
|
24 |
$this->__construct();
|
198 |
add_action( $filter, array( $this, 'error_notice' ) );
|
199 |
}
|
200 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
}
|
202 |
|
203 |
function admin_menu() {
|
223 |
if ( !current_user_can( 'manage_options' ) || !is_admin() )
|
224 |
return;
|
225 |
|
226 |
+
wp_enqueue_style( 'vaultpress-nav', plugins_url( '/nav-styles.css', __FILE__ ), false, date( 'Ymd' ) );
|
227 |
+
|
228 |
+
if ( isset( $_GET['page'] ) && 'vaultpress' == $_GET['page'] )
|
229 |
+
wp_enqueue_style( 'vaultpress', plugins_url( '/styles.css', __FILE__ ), false, date( 'Ymd' ) );
|
230 |
}
|
231 |
|
232 |
// display a security threat notice if one exists
|
928 |
$this->update_option( 'service_ips', $newval );
|
929 |
}
|
930 |
|
931 |
+
$external_data = $this->request_firewall_update( true );
|
932 |
if ( $external_data ) {
|
933 |
$external_newval = array( 'updated' => time(), 'data' => $external_data );
|
934 |
update_option( 'vaultpress_service_ips_external', $external_newval );
|