A2 Optimized WP - Version 2.0.3

Version Description

*Added dmatteson as a plugin author

Download this release

Release Info

Developer A2BCool
Plugin Icon 128x128 A2 Optimized WP
Version 2.0.3
Comparing to
See all releases

Code changes from version 2.0.1 to 2.0.3

A2_Optimized_OptionsManager.php CHANGED
@@ -447,13 +447,6 @@ class A2_Optimized_OptionsManager {
447
 
448
  $optionMetaData = $this->getOptionMetaData();
449
 
450
- $csrf_token = 0;
451
- /*$kbpage = $this->curl('https://www.a2hosting.com/kb');
452
-
453
-
454
- if (preg_match('/name="csrf_token" value="([a-z0-9]{40})"/', $kbpage, $csrf_match)) {
455
- $csrf_token = $csrf_match[1];
456
- }*/
457
 
458
  $optimization_status = "";
459
 
@@ -505,12 +498,9 @@ HTML;
505
  <div class='hiddenFields'>
506
  <input type="hidden" name="ACT" value="25" />
507
  <input type="hidden" name="RP" value="kb/results" />
508
- <input type="hidden" name="site_id" value="1" />
509
- <input type="hidden" name="csrf_token" value="{$csrf_token}" />
510
  </div>
511
  <input type="text" id="kb-search-request" name="keywords" placeholder="Search The A2 Knowledge Base">
512
  <button class='btn btn-success' type='submit'>Search</button>
513
- <div id='honeypot'><input type='text' class='input'></div>
514
  </form>
515
  </div>
516
  </div>
@@ -551,8 +541,7 @@ HTML;
551
  echo <<<HTML
552
 
553
 
554
-
555
- <section id="content-general">
556
  <div class="wrap">
557
  <div>
558
  <div>
447
 
448
  $optionMetaData = $this->getOptionMetaData();
449
 
 
 
 
 
 
 
 
450
 
451
  $optimization_status = "";
452
 
498
  <div class='hiddenFields'>
499
  <input type="hidden" name="ACT" value="25" />
500
  <input type="hidden" name="RP" value="kb/results" />
 
 
501
  </div>
502
  <input type="text" id="kb-search-request" name="keywords" placeholder="Search The A2 Knowledge Base">
503
  <button class='btn btn-success' type='submit'>Search</button>
 
504
  </form>
505
  </div>
506
  </div>
541
  echo <<<HTML
542
 
543
 
544
+ <section id="a2opt-content-general">
 
545
  <div class="wrap">
546
  <div>
547
  <div>
a2-optimized.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: A2 Optimized WP
4
  Plugin URI: https://wordpress.org/plugins/a2-optimized/
5
- Version: 2.0.1
6
  Author: A2 Hosting
7
  Author URI: https://www.a2hosting.com/
8
  Description: A2 Optimized - WordPress Optimization Plugin
2
  /*
3
  Plugin Name: A2 Optimized WP
4
  Plugin URI: https://wordpress.org/plugins/a2-optimized/
5
+ Version: 2.0.3
6
  Author: A2 Hosting
7
  Author URI: https://www.a2hosting.com/
8
  Description: A2 Optimized - WordPress Optimization Plugin
assets/css/style.css CHANGED
@@ -1,93 +1,101 @@
1
 
2
- div #honeypot {display: none;}
3
- div.kb-search {text-align:center}
4
- .kb-search input#kb-search-request {font-size: 18px; border-radius: 5px; color: #999; padding: 3px;}
5
- .kb-search button { font-size: 14px; padding: 6px 12px; vertical-align:top; }
6
- .btn.large { font-size: 15px; line-height: normal; padding: 9px 14px 9px; -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px; }
7
 
8
- .input-large, input.large { width: auto; }
9
- .input-large, input.large, textarea.large, select.large { width: 210px; }
10
- input[type=button], input[type=reset], input[type=submit] { width: auto; height: auto; }
11
- button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
12
-
13
- body{
14
- background-color: transparent !important;
15
  }
16
 
17
- .big-search .kb-search #kb-search-request {width: 300px;}
18
-
19
-
 
 
 
 
 
 
 
 
 
 
20
 
21
- #content-general {
22
  width:898px;
23
  border-left:1px solid #caced3;
24
  border-right:1px solid #caced3;
25
  padding:15px 20px 0 20px;
26
  background:#fff;
27
  }
28
- .fade{
 
29
  opacity: 100 !important;
30
  }
31
- .checkbox{
 
32
  width:24px;
33
  height:24px;
34
  float:left;
35
  background: url(../images/icons.png) no-repeat -452px -112px;
36
  }
37
- .checkbox.checked{
 
38
  background: url(../images/icons.png) no-repeat -424px -112px;
39
  }
40
- .optimization-status{
 
41
  width:260px;
42
  float:left;
43
  font-size:1.2em;
44
  }
45
 
46
- .glyphicon-ok{
47
  color:green;
48
  }
49
 
50
- .glyphicon-warning-sign{
51
  color:orange;
52
  }
53
- .glyphicon-exclamation-sign{
54
  color:red;
55
  }
56
 
57
- .danger{
58
  color:red;
59
  }
60
 
61
- .warning{
62
  color:orange;
63
  }
64
 
65
- .success{
66
  color:green;
67
  }
68
 
69
 
70
 
71
- .badge-warning{
72
  background-color:orange !important;
73
  }
74
- .badge-danger{
75
  background-color:red !important;
76
  }
77
- .badge-success{
78
  background-color:green !important;
79
  }
80
- .badge-default{
81
  background-color:blue !important;
82
  }
83
 
84
- .optimization-item{
85
  padding:10px;
86
  border-width: 0 0 2px 0;
87
  border-style: solid;
88
  }
89
 
90
- .tab-content{
91
  background-color:#fff;
92
  padding:10px;
93
  border-color: #dddddd;
@@ -96,28 +104,28 @@ body{
96
  }
97
 
98
 
99
- a.a2-exclusive{
100
  display: block;
101
  width: 250px;
102
  height: 19px;
103
  background: url(../images/a2-exclusive.png) no-repeat;
104
  }
105
 
106
- .optimization-item .optimization-item-one{
107
  float:left;
108
  width:44px;
109
  font-size:36px
110
  }
111
 
112
- .optimization-item .optimization-item-two{
113
  float:left;
114
  }
115
 
116
- .optimization-item .optimization-item-three{
117
  clear:both;
118
  }
119
 
120
- .optimization-item .optimization-item-four{
121
  clear:both;
122
  }
123
 
1
 
 
 
 
 
 
2
 
3
+ #a2opt-content-general #kb-search-request {
4
+ font-size: 18px;
5
+ border-radius: 5px;
6
+ color: #999;
7
+ padding: 3px;
8
+ width: 300px;
 
9
  }
10
 
11
+ #a2opt-content-general .kb-search button {
12
+ font-size: 14px;
13
+ padding: 6px 12px;
14
+ vertical-align:top;
15
+ }
16
+ #a2opt-content-general .btn.large {
17
+ font-size: 15px;
18
+ line-height: normal;
19
+ padding: 9px 14px 9px;
20
+ -webkit-border-radius: 6px;
21
+ -moz-border-radius: 6px;
22
+ border-radius: 6px;
23
+ }
24
 
25
+ #a2opt-content-general {
26
  width:898px;
27
  border-left:1px solid #caced3;
28
  border-right:1px solid #caced3;
29
  padding:15px 20px 0 20px;
30
  background:#fff;
31
  }
32
+
33
+ #a2opt-content-general .fade{
34
  opacity: 100 !important;
35
  }
36
+
37
+ #a2opt-content-general .checkbox{
38
  width:24px;
39
  height:24px;
40
  float:left;
41
  background: url(../images/icons.png) no-repeat -452px -112px;
42
  }
43
+
44
+ #a2opt-content-general .checkbox.checked{
45
  background: url(../images/icons.png) no-repeat -424px -112px;
46
  }
47
+
48
+ #a2opt-content-general .optimization-status{
49
  width:260px;
50
  float:left;
51
  font-size:1.2em;
52
  }
53
 
54
+ #a2opt-content-general .glyphicon-ok{
55
  color:green;
56
  }
57
 
58
+ #a2opt-content-general .glyphicon-warning-sign{
59
  color:orange;
60
  }
61
+ #a2opt-content-general .glyphicon-exclamation-sign{
62
  color:red;
63
  }
64
 
65
+ #a2opt-content-general .danger{
66
  color:red;
67
  }
68
 
69
+ #a2opt-content-general .warning{
70
  color:orange;
71
  }
72
 
73
+ #a2opt-content-general .success{
74
  color:green;
75
  }
76
 
77
 
78
 
79
+ #a2opt-content-general .badge-warning{
80
  background-color:orange !important;
81
  }
82
+ #a2opt-content-general .badge-danger{
83
  background-color:red !important;
84
  }
85
+ #a2opt-content-general .badge-success{
86
  background-color:green !important;
87
  }
88
+ #a2opt-content-general .badge-default{
89
  background-color:blue !important;
90
  }
91
 
92
+ #a2opt-content-general .optimization-item{
93
  padding:10px;
94
  border-width: 0 0 2px 0;
95
  border-style: solid;
96
  }
97
 
98
+ #a2opt-content-general .tab-content{
99
  background-color:#fff;
100
  padding:10px;
101
  border-color: #dddddd;
104
  }
105
 
106
 
107
+ #a2opt-content-general a.a2-exclusive{
108
  display: block;
109
  width: 250px;
110
  height: 19px;
111
  background: url(../images/a2-exclusive.png) no-repeat;
112
  }
113
 
114
+ #a2opt-content-general .optimization-item .optimization-item-one{
115
  float:left;
116
  width:44px;
117
  font-size:36px
118
  }
119
 
120
+ #a2opt-content-general .optimization-item .optimization-item-two{
121
  float:left;
122
  }
123
 
124
+ #a2opt-content-general .optimization-item .optimization-item-three{
125
  clear:both;
126
  }
127
 
128
+ #a2opt-content-general .optimization-item .optimization-item-four{
129
  clear:both;
130
  }
131
 
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === A2 Optimized WP ===
2
- Contributors: A2BCool, a2hosting
3
  Tags: Speed, Optimize, Secure, Fast, W3 Total Cache, W3TC, Hosting
4
  Requires at least: 3.5
5
- Tested up to: 4.3.1
6
- Stable tag: 4.3.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -140,6 +140,12 @@ Yes. A2 Optimized works on any host that supports WordPress. Yes. A2 Optimize
140
 
141
  == Changelog ==
142
 
 
 
 
 
 
 
143
  = 2.0.1 =
144
  *minor bug fixes
145
  *check for PHP version >= 5.3
1
  === A2 Optimized WP ===
2
+ Contributors: A2BCool, a2hosting, dmatteson
3
  Tags: Speed, Optimize, Secure, Fast, W3 Total Cache, W3TC, Hosting
4
  Requires at least: 3.5
5
+ Tested up to: 4.4.1
6
+ Stable tag: 4.4.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
140
 
141
  == Changelog ==
142
 
143
+ = 2.0.3 =
144
+ *Added dmatteson as a plugin author
145
+
146
+ = 2.0.2 =
147
+ *added namespace class to css to prevent collision with other plugins
148
+
149
  = 2.0.1 =
150
  *minor bug fixes
151
  *check for PHP version >= 5.3