Anti-spam - Version 7.2.5

Version Description

Download this release

Release Info

Developer webtemyk
Plugin Icon 128x128 Anti-spam
Version 7.2.5
Comparing to
See all releases

Code changes from version 7.2.1 to 7.2.5

Files changed (158) hide show
  1. admin/assets/css/dashboard-dashboard.css +3 -3
  2. admin/assets/css/setup/page-setup.css +2 -2
  3. admin/assets/css/titan-security.css +18 -18
  4. admin/assets/js/dashboard.js +19 -19
  5. admin/assets/js/firewall/firewall-block-ip.js +3 -3
  6. admin/assets/js/firewall/firewall-dashboard.js +7 -7
  7. admin/assets/js/import.js +9 -9
  8. admin/assets/js/install-addons.js +15 -15
  9. admin/boot.php +10 -16
  10. admin/class-activation.php +2 -2
  11. admin/class-page-titan-basic.php +4 -4
  12. admin/pages/class-page-backup.php +2 -2
  13. admin/pages/class-page-two-factor.php +2 -2
  14. admin/pages/class-pages-antispam.php +4 -4
  15. admin/pages/class-pages-check.php +4 -4
  16. admin/pages/class-pages-components-license.php +5 -5
  17. admin/pages/class-pages-components.php +5 -5
  18. admin/pages/class-pages-dashboard.php +2 -2
  19. admin/pages/class-pages-license.php +8 -8
  20. admin/pages/class-pages-logs.php +2 -2
  21. admin/pages/class-pages-plugin-settings.php +3 -3
  22. admin/pages/class-pages-scanner.php +4 -4
  23. admin/pages/class-pages-sitechecker.php +2 -2
  24. admin/pages/class-pages-tweaks.php +3 -3
  25. admin/pages/firewall/class-pages-bruteforce.php +3 -3
  26. admin/pages/firewall/class-pages-firewall-attacks-log.php +1 -1
  27. admin/pages/firewall/class-pages-firewall-blocking.php +2 -2
  28. admin/pages/firewall/class-pages-firewall-login-attempts.php +1 -1
  29. admin/pages/firewall/class-pages-firewall-settings.php +2 -2
  30. admin/pages/firewall/class-pages-firewall.php +1 -1
  31. admin/pages/setup/class-pages-setup.php +6 -6
  32. admin/pages/setup/steps/class-step-congratulation.php +3 -3
  33. admin/pages/setup/steps/class-step-default.php +5 -5
  34. admin/pages/setup/steps/class-step-plugins.php +2 -2
  35. admin/pages/setup/steps/class-step-security-audit.php +2 -2
  36. admin/pages/setup/steps/class-step-setting-antispam.php +1 -1
  37. admin/pages/setup/steps/class-step-setting-scan-malware.php +2 -2
  38. admin/pages/setup/steps/class-step-setting-tweaks.php +1 -1
  39. anti-spam.php +25 -11
  40. includes/antispam/assets/js/settings.js +2 -2
  41. includes/audit/assets/js/audit_ajax.js +2 -2
  42. includes/class-titan-security-plugin.php +3 -3
  43. includes/class-views.php +4 -4
  44. includes/class.module-base.php +1 -1
  45. includes/functions.php +31 -8
  46. includes/helpers.php +4 -4
  47. includes/logger/assets/js/base.js +2 -2
  48. includes/scanner/assets/js/scanner.js +2 -2
  49. includes/scanner/classes/scanner/{Match.php → Result.php} +3 -3
  50. includes/scanner/classes/scanner/SignaturePool.php +2 -2
  51. includes/scanner/classes/scanner/boot.php +1 -1
  52. includes/scanner/views/results.php +3 -3
  53. includes/scanner/views/scanner.php +2 -2
  54. includes/sitechecker/assets/js/app.js +3 -3
  55. includes/sitechecker/assets/js/sitechecker.js +3 -3
  56. includes/vulnerabilities/assets/js/vulnerability_ajax.js +2 -2
  57. libs/antispam-premium/admin/assets/js/check-existing-comments.js +2 -2
  58. libs/antispam-premium/admin/boot.php +2 -2
  59. libs/antispam-premium/admin/pages/class-pages-settings.php +2 -2
  60. libs/factory/bootstrap/assets/css-min/bootstrap.accordion.min.css +1 -1
  61. libs/factory/bootstrap/assets/css-min/bootstrap.blue.min.css +1 -1
  62. libs/factory/bootstrap/assets/css-min/bootstrap.coffee.min.css +1 -1
  63. libs/factory/bootstrap/assets/css-min/bootstrap.core.min.css +2 -2
  64. libs/factory/bootstrap/assets/css-min/bootstrap.datetimepicker.min.css +1 -1
  65. libs/factory/bootstrap/assets/css-min/bootstrap.ectoplasm.min.css +1 -1
  66. libs/factory/bootstrap/assets/css-min/bootstrap.form-group.min.css +1 -1
  67. libs/factory/bootstrap/assets/css-min/bootstrap.form-metabox.min.css +1 -1
  68. libs/factory/bootstrap/assets/css-min/bootstrap.light.min.css +1 -1
  69. libs/factory/bootstrap/assets/css-min/bootstrap.midnight.min.css +1 -1
  70. libs/factory/bootstrap/assets/css-min/bootstrap.ocean.min.css +1 -1
  71. libs/factory/bootstrap/assets/css-min/bootstrap.separator.min.css +1 -1
  72. libs/factory/bootstrap/assets/css-min/bootstrap.sunrise.min.css +1 -1
  73. libs/factory/bootstrap/assets/css-min/bootstrap.tab.min.css +1 -1
  74. libs/factory/bootstrap/assets/css-min/bootstrap.wp-editor.min.css +1 -1
  75. libs/factory/bootstrap/assets/css-min/control.checkbox.min.css +1 -1
  76. libs/factory/bootstrap/assets/css-min/control.color-and-opacity.min.css +1 -1
  77. libs/factory/bootstrap/assets/css-min/control.color.min.css +1 -1
  78. libs/factory/bootstrap/assets/css-min/control.dropdown-and-colors.min.css +1 -1
  79. libs/factory/bootstrap/assets/css-min/control.dropdown.min.css +1 -1
  80. libs/factory/bootstrap/assets/css-min/control.fonts.min.css +1 -1
  81. libs/factory/bootstrap/assets/css-min/control.list.min.css +1 -1
  82. libs/factory/bootstrap/assets/css-min/control.multiple-textbox.min.css +1 -1
  83. libs/factory/bootstrap/assets/css-min/control.pattern.min.css +1 -1
  84. libs/factory/bootstrap/assets/css-min/control.radio-colors.min.css +1 -1
  85. libs/factory/bootstrap/assets/css-min/holder.more-link.min.css +1 -1
  86. libs/factory/bootstrap/assets/css-min/plugin.gradient-picker.min.css +1 -1
  87. libs/factory/bootstrap/assets/css-min/plugin.paddings-editor.min.css +1 -1
  88. libs/factory/bootstrap/assets/css/bootstrap.accordion.css +6 -6
  89. libs/factory/bootstrap/assets/css/bootstrap.blue.css +13 -13
  90. libs/factory/bootstrap/assets/css/bootstrap.coffee.css +13 -13
  91. libs/factory/bootstrap/assets/css/bootstrap.core.css +1773 -1773
  92. libs/factory/bootstrap/assets/css/bootstrap.datetimepicker.css +71 -71
  93. libs/factory/bootstrap/assets/css/bootstrap.ectoplasm.css +13 -13
  94. libs/factory/bootstrap/assets/css/bootstrap.form-group.css +9 -9
  95. libs/factory/bootstrap/assets/css/bootstrap.form-metabox.css +8 -8
  96. libs/factory/bootstrap/assets/css/bootstrap.light.css +13 -13
  97. libs/factory/bootstrap/assets/css/bootstrap.midnight.css +13 -13
  98. libs/factory/bootstrap/assets/css/bootstrap.ocean.css +13 -13
  99. libs/factory/bootstrap/assets/css/bootstrap.separator.css +1 -1
  100. libs/factory/bootstrap/assets/css/bootstrap.sunrise.css +13 -13
  101. libs/factory/bootstrap/assets/css/bootstrap.tab.css +20 -20
  102. libs/factory/bootstrap/assets/css/bootstrap.wp-editor.css +10 -10
  103. libs/factory/bootstrap/assets/css/control.checkbox.css +15 -15
  104. libs/factory/bootstrap/assets/css/control.color-and-opacity.css +6 -6
  105. libs/factory/bootstrap/assets/css/control.color.css +7 -7
  106. libs/factory/bootstrap/assets/css/control.dropdown-and-colors.css +4 -4
  107. libs/factory/bootstrap/assets/css/control.dropdown.css +14 -14
  108. libs/factory/bootstrap/assets/css/control.fonts.css +6 -6
  109. libs/factory/bootstrap/assets/css/control.list.css +13 -13
  110. libs/factory/bootstrap/assets/css/control.multiple-textbox.css +7 -7
  111. libs/factory/bootstrap/assets/css/control.pattern.css +31 -31
  112. libs/factory/bootstrap/assets/css/control.radio-colors.css +6 -6
  113. libs/factory/bootstrap/assets/css/holder.more-link.css +5 -5
  114. libs/factory/bootstrap/assets/css/plugin.gradient-picker.css +23 -23
  115. libs/factory/bootstrap/assets/css/plugin.paddings-editor.css +19 -19
  116. libs/factory/bootstrap/assets/js-min/bootstrap.accordion.min.js +1 -1
  117. libs/factory/bootstrap/assets/js-min/bootstrap.collapse.min.js +1 -1
  118. libs/factory/bootstrap/assets/js-min/bootstrap.datetimepicker.min.js +1 -1
  119. libs/factory/bootstrap/assets/js-min/bootstrap.dropdown.min.js +1 -1
  120. libs/factory/bootstrap/assets/js-min/bootstrap.modal.min.js +1 -1
  121. libs/factory/bootstrap/assets/js-min/control.checkbox.min.js +1 -1
  122. libs/factory/bootstrap/assets/js-min/control.color-and-opacity.min.js +1 -1
  123. libs/factory/bootstrap/assets/js-min/control.color.min.js +1 -1
  124. libs/factory/bootstrap/assets/js-min/control.dropdown-and-colors.min.js +1 -1
  125. libs/factory/bootstrap/assets/js-min/control.dropdown.min.js +1 -1
  126. libs/factory/bootstrap/assets/js-min/control.fonts.min.js +1 -1
  127. libs/factory/bootstrap/assets/js-min/control.gradient.min.js +1 -1
  128. libs/factory/bootstrap/assets/js-min/control.integer.min.js +1 -1
  129. libs/factory/bootstrap/assets/js-min/control.list.min.js +1 -1
  130. libs/factory/bootstrap/assets/js-min/control.multiple-textbox.min.js +1 -1
  131. libs/factory/bootstrap/assets/js-min/control.pattern.min.js +1 -1
  132. libs/factory/bootstrap/assets/js-min/holder.more-link.min.js +1 -1
  133. libs/factory/bootstrap/assets/js-min/plugin.gradient-picker.min.js +1 -1
  134. libs/factory/bootstrap/assets/js-min/plugin.iris.min.js +1 -1
  135. libs/factory/bootstrap/assets/js-min/plugin.paddings-editor.min.js +1 -1
  136. libs/factory/bootstrap/assets/js/bootstrap.accordion.js +2 -2
  137. libs/factory/bootstrap/assets/js/bootstrap.collapse.js +2 -2
  138. libs/factory/bootstrap/assets/js/bootstrap.datetimepicker.js +25 -25
  139. libs/factory/bootstrap/assets/js/bootstrap.dropdown.js +2 -2
  140. libs/factory/bootstrap/assets/js/bootstrap.modal.js +7 -7
  141. libs/factory/bootstrap/assets/js/control.checkbox.js +3 -3
  142. libs/factory/bootstrap/assets/js/control.color-and-opacity.js +1 -1
  143. libs/factory/bootstrap/assets/js/control.color.js +8 -8
  144. libs/factory/bootstrap/assets/js/control.dropdown-and-colors.js +3 -3
  145. libs/factory/bootstrap/assets/js/control.dropdown.js +3 -3
  146. libs/factory/bootstrap/assets/js/control.fonts.js +3 -3
  147. libs/factory/bootstrap/assets/js/control.gradient.js +3 -3
  148. libs/factory/bootstrap/assets/js/control.integer.js +3 -3
  149. libs/factory/bootstrap/assets/js/control.list.js +3 -3
  150. libs/factory/bootstrap/assets/js/control.multiple-textbox.js +2 -2
  151. libs/factory/bootstrap/assets/js/control.pattern.js +4 -4
  152. libs/factory/bootstrap/assets/js/holder.more-link.js +2 -2
  153. libs/factory/bootstrap/assets/js/plugin.gradient-picker.js +4 -4
  154. libs/factory/bootstrap/assets/js/plugin.iris.js +9 -9
  155. libs/factory/bootstrap/assets/js/plugin.paddings-editor.js +3 -3
  156. libs/factory/bootstrap/boot.php +9 -9
  157. libs/factory/bootstrap/includes/functions.php +10 -10
  158. libs/factory/clearfy/assets/css/clearfy-base.css +17 -17
admin/assets/css/dashboard-dashboard.css CHANGED
@@ -106,13 +106,13 @@
106
  border-radius: 5px !important;
107
  }
108
 
109
- .factory-bootstrap-439 .factory-buttons-way .factory-on.active {
110
  background-color: #5d05b7 !important;
111
  box-shadow: none !important;
112
  border: none !important;
113
  }
114
 
115
- .factory-bootstrap-439 .factory-buttons-way .factory-off.active {
116
  background-color: #5d05b7 !important;
117
  box-shadow: none !important;
118
  border: none !important;
@@ -122,7 +122,7 @@
122
  background: #fff !important;
123
  }
124
 
125
- .factory-bootstrap-439 .nav-tabs > li.active > a, .factory-bootstrap-439 .nav-tabs > li.active > a:focus, .factory-bootstrap-439 .nav-tabs > li.active > a:hover {
126
  background-color: #efefef !important;
127
  }
128
 
106
  border-radius: 5px !important;
107
  }
108
 
109
+ .factory-bootstrap-442 .factory-buttons-way .factory-on.active {
110
  background-color: #5d05b7 !important;
111
  box-shadow: none !important;
112
  border: none !important;
113
  }
114
 
115
+ .factory-bootstrap-442 .factory-buttons-way .factory-off.active {
116
  background-color: #5d05b7 !important;
117
  box-shadow: none !important;
118
  border: none !important;
122
  background: #fff !important;
123
  }
124
 
125
+ .factory-bootstrap-442 .nav-tabs > li.active > a, .factory-bootstrap-442 .nav-tabs > li.active > a:focus, .factory-bootstrap-442 .nav-tabs > li.active > a:hover {
126
  background-color: #efefef !important;
127
  }
128
 
admin/assets/css/setup/page-setup.css CHANGED
@@ -1,7 +1,7 @@
1
- .w-factory-clearfy-230-setup-steps li.active {
2
  border-color: #5d05b7 !important;
3
  }
4
- .w-factory-clearfy-230-setup-steps li.active::before {
5
  border-color: #5d05b7 !important;
6
  }
7
  .wtitan-status-circular {
1
+ .w-factory-clearfy-233-setup-steps li.active {
2
  border-color: #5d05b7 !important;
3
  }
4
+ .w-factory-clearfy-233-setup-steps li.active::before {
5
  border-color: #5d05b7 !important;
6
  }
7
  .wtitan-status-circular {
admin/assets/css/titan-security.css CHANGED
@@ -6,7 +6,7 @@ h2.nav-tab-wrapper {
6
  background-color:#5d05b7 !important;
7
  }
8
 
9
- /*#WBCR .wbcr-factory-pages-438-impressive-page-template .alert
10
  {
11
  padding: 10px !important;
12
  /*position: absolute !important;
@@ -14,39 +14,39 @@ h2.nav-tab-wrapper {
14
 
15
  opacity: 0.8;
16
  }*/
17
- #WBCR .wbcr-factory-pages-438-impressive-page-template .wbcr-factory-page-inner-wrap .nav-tab {
18
 
19
  /*opacity: 0.8;*/
20
  }
21
 
22
- #WBCR .wbcr-factory-pages-438-impressive-page-template .wbcr-factory-page-inner-wrap .nav-tab {
23
  border-radius: 5px 5px 0 0;
24
  }
25
 
26
- #WBCR .wbcr-factory-pages-438-impressive-page-template .wbcr-factory-page-header {
27
  background-color: #5d05b7 !important;
28
  }
29
 
30
- #WBCR .wbcr-factory-pages-438-impressive-page-template .wbcr-factory-left-navigation-bar ul .wbcr-factory-nav-tab a {
31
  border-left: 5px solid #efefef !important;
32
  }
33
 
34
- #WBCR .wbcr-factory-pages-438-impressive-page-template .wbcr-factory-left-navigation-bar ul .wbcr-factory-nav-tab.wbcr-factory-active-tab {
35
  border: 0 !important;
36
  }
37
 
38
- #WBCR .wbcr-factory-pages-438-impressive-page-template .wbcr-factory-left-navigation-bar ul .wbcr-factory-nav-tab.wbcr-factory-active-tab a,
39
- #WBCR .wbcr-factory-pages-438-impressive-page-template .wbcr-factory-left-navigation-bar ul .wbcr-factory-nav-tab a:hover {
40
  color: #5d05b7 !important;
41
  border-left: 5px solid #5d05b7 !important;
42
  }
43
 
44
- #WBCR .wbcr-factory-pages-438-impressive-page-template .wbcr-factory-left-navigation-bar ul .wbcr-factory-nav-tab.wbcr-factory-active-tab a .dashicons,
45
- #WBCR .wbcr-factory-pages-438-impressive-page-template .wbcr-factory-left-navigation-bar ul .wbcr-factory-nav-tab a:hover .dashicons {
46
  color: #5d05b7 !important;
47
  }
48
 
49
- #WBCR .wbcr-factory-pages-438-impressive-page-template .wbcr-factory-page-header .wbcr-factory-button.wbcr-factory-type-save {
50
  background-color: #5d05b7 !important;
51
  color: #ffffff !important;
52
  display: block;
@@ -57,36 +57,36 @@ h2.nav-tab-wrapper {
57
  border: 2px solid #ffffff;
58
  }
59
 
60
- #WBCR .wbcr-factory-pages-438-impressive-page-template .wbcr-factory-page-header .wbcr-factory-button.wbcr-factory-type-save:hover {
61
  background-color: #ffffff !important;
62
  color: #5d05b7 !important;
63
  border-color: #5d05b7 !important;
64
  }
65
 
66
- #WBCR .wbcr-factory-pages-438-impressive-page-template input[type="checkbox"]:checked::before {
67
  content: url(data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%235d05b7%27%2F%3E%3C%2Fsvg%3E) !important;
68
  }
69
 
70
  /*--------------------------*/
71
- .factory-bootstrap-439 select.form-control {
72
  display: inline;
73
  background: #fff url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55%;
74
  background-size: 16px 16px !important;
75
  }
76
 
77
- .factory-bootstrap-439 .btn-default.active, .factory-bootstrap-439 .btn-default:active {
78
  background: #b083de !important;
79
  color: #ffffff !important;
80
  }
81
 
82
- .factory-bootstrap-439 .btn-primary {
83
  background: #5d05b7 !important;
84
  border-color: #27004e !important;
85
  box-shadow: none !important;
86
  -webkit-box-shadow: none !important;
87
  }
88
 
89
- .factory-bootstrap-439 .factory-buttons-way .factory-on.active {
90
  background-color: #b083de !important;
91
  -webkit-box-shadow: inset 0 1px 1px #8651bd !important;
92
  box-shadow: inset 0 1px 3px #8651bd !important;
@@ -95,7 +95,7 @@ h2.nav-tab-wrapper {
95
  border-left: 1px solid #8651bd !important;
96
  }
97
 
98
- .factory-bootstrap-439 .factory-buttons-way .factory-off.active {
99
  background-color: #b083de !important;
100
  -webkit-box-shadow: inset 0 1px 1px #8651bd !important;
101
  box-shadow: inset 0 1px 3px #8651bd !important;
6
  background-color:#5d05b7 !important;
7
  }
8
 
9
+ /*#WBCR .wbcr-factory-pages-441-impressive-page-template .alert
10
  {
11
  padding: 10px !important;
12
  /*position: absolute !important;
14
 
15
  opacity: 0.8;
16
  }*/
17
+ #WBCR .wbcr-factory-pages-441-impressive-page-template .wbcr-factory-page-inner-wrap .nav-tab {
18
 
19
  /*opacity: 0.8;*/
20
  }
21
 
22
+ #WBCR .wbcr-factory-pages-441-impressive-page-template .wbcr-factory-page-inner-wrap .nav-tab {
23
  border-radius: 5px 5px 0 0;
24
  }
25
 
26
+ #WBCR .wbcr-factory-pages-441-impressive-page-template .wbcr-factory-page-header {
27
  background-color: #5d05b7 !important;
28
  }
29
 
30
+ #WBCR .wbcr-factory-pages-441-impressive-page-template .wbcr-factory-left-navigation-bar ul .wbcr-factory-nav-tab a {
31
  border-left: 5px solid #efefef !important;
32
  }
33
 
34
+ #WBCR .wbcr-factory-pages-441-impressive-page-template .wbcr-factory-left-navigation-bar ul .wbcr-factory-nav-tab.wbcr-factory-active-tab {
35
  border: 0 !important;
36
  }
37
 
38
+ #WBCR .wbcr-factory-pages-441-impressive-page-template .wbcr-factory-left-navigation-bar ul .wbcr-factory-nav-tab.wbcr-factory-active-tab a,
39
+ #WBCR .wbcr-factory-pages-441-impressive-page-template .wbcr-factory-left-navigation-bar ul .wbcr-factory-nav-tab a:hover {
40
  color: #5d05b7 !important;
41
  border-left: 5px solid #5d05b7 !important;
42
  }
43
 
44
+ #WBCR .wbcr-factory-pages-441-impressive-page-template .wbcr-factory-left-navigation-bar ul .wbcr-factory-nav-tab.wbcr-factory-active-tab a .dashicons,
45
+ #WBCR .wbcr-factory-pages-441-impressive-page-template .wbcr-factory-left-navigation-bar ul .wbcr-factory-nav-tab a:hover .dashicons {
46
  color: #5d05b7 !important;
47
  }
48
 
49
+ #WBCR .wbcr-factory-pages-441-impressive-page-template .wbcr-factory-page-header .wbcr-factory-button.wbcr-factory-type-save {
50
  background-color: #5d05b7 !important;
51
  color: #ffffff !important;
52
  display: block;
57
  border: 2px solid #ffffff;
58
  }
59
 
60
+ #WBCR .wbcr-factory-pages-441-impressive-page-template .wbcr-factory-page-header .wbcr-factory-button.wbcr-factory-type-save:hover {
61
  background-color: #ffffff !important;
62
  color: #5d05b7 !important;
63
  border-color: #5d05b7 !important;
64
  }
65
 
66
+ #WBCR .wbcr-factory-pages-441-impressive-page-template input[type="checkbox"]:checked::before {
67
  content: url(data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%235d05b7%27%2F%3E%3C%2Fsvg%3E) !important;
68
  }
69
 
70
  /*--------------------------*/
71
+ .factory-bootstrap-442 select.form-control {
72
  display: inline;
73
  background: #fff url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55%;
74
  background-size: 16px 16px !important;
75
  }
76
 
77
+ .factory-bootstrap-442 .btn-default.active, .factory-bootstrap-442 .btn-default:active {
78
  background: #b083de !important;
79
  color: #ffffff !important;
80
  }
81
 
82
+ .factory-bootstrap-442 .btn-primary {
83
  background: #5d05b7 !important;
84
  border-color: #27004e !important;
85
  box-shadow: none !important;
86
  -webkit-box-shadow: none !important;
87
  }
88
 
89
+ .factory-bootstrap-442 .factory-buttons-way .factory-on.active {
90
  background-color: #b083de !important;
91
  -webkit-box-shadow: inset 0 1px 1px #8651bd !important;
92
  box-shadow: inset 0 1px 3px #8651bd !important;
95
  border-left: 1px solid #8651bd !important;
96
  }
97
 
98
+ .factory-bootstrap-442 .factory-buttons-way .factory-off.active {
99
  background-color: #b083de !important;
100
  -webkit-box-shadow: inset 0 1px 1px #8651bd !important;
101
  box-shadow: inset 0 1px 3px #8651bd !important;
admin/assets/js/dashboard.js CHANGED
@@ -24,11 +24,11 @@ jQuery(document).ready(function ($) {
24
  console.log(data);
25
 
26
  if (data) {
27
- noticeId = $.wbcr_factory_clearfy_230.app.showNotice(data.error_message, 'danger');
28
  }
29
 
30
  setTimeout(function () {
31
- $.wbcr_factory_clearfy_230.app.hideNotice(noticeId);
32
  }, 5000);
33
  return;
34
  } else {
@@ -43,7 +43,7 @@ jQuery(document).ready(function ($) {
43
  console.log(xhr.responseText);
44
  console.log(thrownError);
45
 
46
- var noticeId = $.wbcr_factory_clearfy_230.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
47
  }
48
  });
49
  });
@@ -68,13 +68,13 @@ jQuery(document).ready(function ($) {
68
  block.removeClass('wt-block-loading');
69
 
70
  if (data.error_message) {
71
- noticeId = $.wbcr_factory_clearfy_230.app.showNotice(data.error_message, 'danger');
72
  } else {
73
- noticeId = $.wbcr_factory_clearfy_230.app.showNotice(data.message, 'success');
74
  }
75
 
76
  setTimeout(function () {
77
- $.wbcr_factory_clearfy_230.app.hideNotice(noticeId);
78
  }, 5000);
79
  return;
80
 
@@ -85,7 +85,7 @@ jQuery(document).ready(function ($) {
85
  console.log(xhr.responseText);
86
  console.log(thrownError);
87
 
88
- var noticeId = $.wbcr_factory_clearfy_230.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
89
  }
90
  });
91
  });
@@ -112,19 +112,19 @@ jQuery(document).ready(function ($) {
112
  if (!data || data.error) {
113
 
114
  if (data) {
115
- noticeId = $.wbcr_factory_clearfy_230.app.showNotice(data.error_message, 'danger');
116
  }
117
 
118
  setTimeout(function () {
119
- $.wbcr_factory_clearfy_230.app.hideNotice(noticeId);
120
  }, 5000);
121
  return;
122
  } else {
123
  if (data) {
124
- noticeId = $.wbcr_factory_clearfy_230.app.showNotice(data.message, 'success');
125
  }
126
  setTimeout(function () {
127
- $.wbcr_factory_clearfy_230.app.hideNotice(noticeId);
128
  }, 5000);
129
  }
130
  $('.wt-scanner-speed-button').removeClass('disabled');
@@ -136,7 +136,7 @@ jQuery(document).ready(function ($) {
136
  console.log(xhr.responseText);
137
  console.log(thrownError);
138
 
139
- var noticeId = $.wbcr_factory_clearfy_230.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
140
  }
141
  });
142
 
@@ -164,19 +164,19 @@ jQuery(document).ready(function ($) {
164
  if (!data || data.error) {
165
 
166
  if (data) {
167
- noticeId = $.wbcr_factory_clearfy_230.app.showNotice(data.error_message, 'danger');
168
  }
169
 
170
  setTimeout(function () {
171
- $.wbcr_factory_clearfy_230.app.hideNotice(noticeId);
172
  }, 5000);
173
  return;
174
  } else {
175
  if (data) {
176
- noticeId = $.wbcr_factory_clearfy_230.app.showNotice(data.message, 'success');
177
  }
178
  setTimeout(function () {
179
- $.wbcr_factory_clearfy_230.app.hideNotice(noticeId);
180
  }, 5000);
181
  }
182
  $('.wt-scanner-schedule-button').removeClass('disabled');
@@ -188,7 +188,7 @@ jQuery(document).ready(function ($) {
188
  console.log(xhr.responseText);
189
  console.log(thrownError);
190
 
191
- var noticeId = $.wbcr_factory_clearfy_230.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
192
  }
193
  });
194
 
@@ -213,9 +213,9 @@ jQuery(document).ready(function ($) {
213
  jQuery('[data-action="digest-state"][disabled]').removeAttr('disabled');
214
  btn.attr('disabled', 'disabled');
215
 
216
- var noticeId = jQuery.wbcr_factory_clearfy_230.app.showNotice(msg, type);
217
  setTimeout(function () {
218
- jQuery.wbcr_factory_clearfy_230.app.hideNotice(noticeId);
219
  }, 5000);
220
  });
221
  })
24
  console.log(data);
25
 
26
  if (data) {
27
+ noticeId = $.wbcr_factory_clearfy_233.app.showNotice(data.error_message, 'danger');
28
  }
29
 
30
  setTimeout(function () {
31
+ $.wbcr_factory_clearfy_233.app.hideNotice(noticeId);
32
  }, 5000);
33
  return;
34
  } else {
43
  console.log(xhr.responseText);
44
  console.log(thrownError);
45
 
46
+ var noticeId = $.wbcr_factory_clearfy_233.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
47
  }
48
  });
49
  });
68
  block.removeClass('wt-block-loading');
69
 
70
  if (data.error_message) {
71
+ noticeId = $.wbcr_factory_clearfy_233.app.showNotice(data.error_message, 'danger');
72
  } else {
73
+ noticeId = $.wbcr_factory_clearfy_233.app.showNotice(data.message, 'success');
74
  }
75
 
76
  setTimeout(function () {
77
+ $.wbcr_factory_clearfy_233.app.hideNotice(noticeId);
78
  }, 5000);
79
  return;
80
 
85
  console.log(xhr.responseText);
86
  console.log(thrownError);
87
 
88
+ var noticeId = $.wbcr_factory_clearfy_233.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
89
  }
90
  });
91
  });
112
  if (!data || data.error) {
113
 
114
  if (data) {
115
+ noticeId = $.wbcr_factory_clearfy_233.app.showNotice(data.error_message, 'danger');
116
  }
117
 
118
  setTimeout(function () {
119
+ $.wbcr_factory_clearfy_233.app.hideNotice(noticeId);
120
  }, 5000);
121
  return;
122
  } else {
123
  if (data) {
124
+ noticeId = $.wbcr_factory_clearfy_233.app.showNotice(data.message, 'success');
125
  }
126
  setTimeout(function () {
127
+ $.wbcr_factory_clearfy_233.app.hideNotice(noticeId);
128
  }, 5000);
129
  }
130
  $('.wt-scanner-speed-button').removeClass('disabled');
136
  console.log(xhr.responseText);
137
  console.log(thrownError);
138
 
139
+ var noticeId = $.wbcr_factory_clearfy_233.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
140
  }
141
  });
142
 
164
  if (!data || data.error) {
165
 
166
  if (data) {
167
+ noticeId = $.wbcr_factory_clearfy_233.app.showNotice(data.error_message, 'danger');
168
  }
169
 
170
  setTimeout(function () {
171
+ $.wbcr_factory_clearfy_233.app.hideNotice(noticeId);
172
  }, 5000);
173
  return;
174
  } else {
175
  if (data) {
176
+ noticeId = $.wbcr_factory_clearfy_233.app.showNotice(data.message, 'success');
177
  }
178
  setTimeout(function () {
179
+ $.wbcr_factory_clearfy_233.app.hideNotice(noticeId);
180
  }, 5000);
181
  }
182
  $('.wt-scanner-schedule-button').removeClass('disabled');
188
  console.log(xhr.responseText);
189
  console.log(thrownError);
190
 
191
+ var noticeId = $.wbcr_factory_clearfy_233.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
192
  }
193
  });
194
 
213
  jQuery('[data-action="digest-state"][disabled]').removeAttr('disabled');
214
  btn.attr('disabled', 'disabled');
215
 
216
+ var noticeId = jQuery.wbcr_factory_clearfy_233.app.showNotice(msg, type);
217
  setTimeout(function () {
218
+ jQuery.wbcr_factory_clearfy_233.app.hideNotice(noticeId);
219
  }, 5000);
220
  });
221
  })
admin/assets/js/firewall/firewall-block-ip.js CHANGED
@@ -80,11 +80,11 @@
80
  console.log(data);
81
 
82
  if (data) {
83
- noticeId = $.wbcr_factory_clearfy_230.app.showNotice(data.error_message, 'danger');
84
  }
85
 
86
  setTimeout(function () {
87
- $.wbcr_factory_clearfy_230.app.hideNotice(noticeId);
88
  }, 5000);
89
  return data;
90
  }
@@ -96,7 +96,7 @@
96
  console.log(xhr.responseText);
97
  console.log(thrownError);
98
 
99
- var noticeId = $.wbcr_factory_clearfy_230.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
100
  reject(thrownError);
101
  Swal.close();
102
  }
80
  console.log(data);
81
 
82
  if (data) {
83
+ noticeId = $.wbcr_factory_clearfy_233.app.showNotice(data.error_message, 'danger');
84
  }
85
 
86
  setTimeout(function () {
87
+ $.wbcr_factory_clearfy_233.app.hideNotice(noticeId);
88
  }, 5000);
89
  return data;
90
  }
96
  console.log(xhr.responseText);
97
  console.log(thrownError);
98
 
99
+ var noticeId = $.wbcr_factory_clearfy_233.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
100
  reject(thrownError);
101
  Swal.close();
102
  }
admin/assets/js/firewall/firewall-dashboard.js CHANGED
@@ -40,11 +40,11 @@ jQuery(document).ready(function ($) {
40
  console.log(data);
41
 
42
  if (data) {
43
- noticeId = $.wbcr_factory_clearfy_230.app.showNotice(data.error_message, 'danger');
44
  }
45
 
46
  setTimeout(function () {
47
- $.wbcr_factory_clearfy_230.app.hideNotice(noticeId);
48
  }, 5000);
49
  return;
50
  }
@@ -55,7 +55,7 @@ jQuery(document).ready(function ($) {
55
  console.log(xhr.responseText);
56
  console.log(thrownError);
57
 
58
- var noticeId = $.wbcr_factory_clearfy_230.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
59
  }
60
  });
61
  });
@@ -104,11 +104,11 @@ jQuery(document).ready(function ($) {
104
  console.log(data);
105
 
106
  if (data) {
107
- noticeId = $.wbcr_factory_clearfy_230.app.showNotice(data.error_message, 'danger');
108
  }
109
 
110
  setTimeout(function () {
111
- $.wbcr_factory_clearfy_230.app.hideNotice(noticeId);
112
  }, 5000);
113
  return data;
114
  }
@@ -120,7 +120,7 @@ jQuery(document).ready(function ($) {
120
  console.log(xhr.responseText);
121
  console.log(thrownError);
122
 
123
- var noticeId = $.wbcr_factory_clearfy_230.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
124
  reject(thrownError)
125
  }
126
  });
@@ -265,7 +265,7 @@ jQuery(document).ready(function ($) {
265
  console.log(xhr.responseText);
266
  console.log(thrownError);
267
 
268
- var noticeId = $.wbcr_factory_clearfy_230.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
269
 
270
  }
271
  });
40
  console.log(data);
41
 
42
  if (data) {
43
+ noticeId = $.wbcr_factory_clearfy_233.app.showNotice(data.error_message, 'danger');
44
  }
45
 
46
  setTimeout(function () {
47
+ $.wbcr_factory_clearfy_233.app.hideNotice(noticeId);
48
  }, 5000);
49
  return;
50
  }
55
  console.log(xhr.responseText);
56
  console.log(thrownError);
57
 
58
+ var noticeId = $.wbcr_factory_clearfy_233.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
59
  }
60
  });
61
  });
104
  console.log(data);
105
 
106
  if (data) {
107
+ noticeId = $.wbcr_factory_clearfy_233.app.showNotice(data.error_message, 'danger');
108
  }
109
 
110
  setTimeout(function () {
111
+ $.wbcr_factory_clearfy_233.app.hideNotice(noticeId);
112
  }, 5000);
113
  return data;
114
  }
120
  console.log(xhr.responseText);
121
  console.log(thrownError);
122
 
123
+ var noticeId = $.wbcr_factory_clearfy_233.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
124
  reject(thrownError)
125
  }
126
  });
265
  console.log(xhr.responseText);
266
  console.log(thrownError);
267
 
268
+ var noticeId = $.wbcr_factory_clearfy_233.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
269
 
270
  }
271
  });
admin/assets/js/import.js CHANGED
@@ -20,12 +20,12 @@
20
  $this = $(this);
21
 
22
  if (!settings) {
23
- $.wbcr_factory_clearfy_230.app.showNotice('Import options is empty!', 'danger');
24
  return false;
25
  }
26
 
27
  if (void 0 == wtitan_ajax || !wtitan_ajax.import_options_nonce) {
28
- $.wbcr_factory_clearfy_230.app.showNotice('Unknown Javascript error, most likely the wtitan_ajax variable does not exist!', 'danger');
29
  return false;
30
  }
31
 
@@ -39,7 +39,7 @@
39
  $this.prop('disabled', false);
40
 
41
  if (response.data.update_notice) {
42
- $.wbcr_factory_clearfy_230.app.showNotice(response.data.update_notice);
43
  } else {
44
  $('.wbcr-clr-update-package').closest('.wbcr-factory-warning-notice').remove();
45
  }
@@ -73,15 +73,15 @@
73
  console.log(data);
74
 
75
  if (data) {
76
- noticeId = $.wbcr_factory_clearfy_230.app.showNotice(data.error_message, 'danger');
77
  } else {
78
  if (void 0 !== wtitan_ajax) {
79
- noticeId = $.wbcr_factory_clearfy_230.app.showNotice(wtitan_ajax.i18n.unknown_error, 'danger');
80
  }
81
  }
82
 
83
  setTimeout(function () {
84
- $.wbcr_factory_clearfy_230.app.hideNotice(noticeId);
85
  }, 5000);
86
  return;
87
  }
@@ -90,10 +90,10 @@
90
 
91
  if (!request_data.flush_redirect) {
92
  if (void 0 !== wtitan_ajax) {
93
- noticeId = $.wbcr_factory_clearfy_230.app.showNotice(wtitan_ajax.i18n.success_update_settings, 'success');
94
 
95
  setTimeout(function () {
96
- $.wbcr_factory_clearfy_230.app.hideNotice(noticeId);
97
  }, 5000);
98
  }
99
  return;
@@ -108,7 +108,7 @@
108
  console.log(xhr.responseText);
109
  console.log(thrownError);
110
 
111
- var noticeId = $.wbcr_factory_clearfy_230.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
112
  }
113
  });
114
  }
20
  $this = $(this);
21
 
22
  if (!settings) {
23
+ $.wbcr_factory_clearfy_233.app.showNotice('Import options is empty!', 'danger');
24
  return false;
25
  }
26
 
27
  if (void 0 == wtitan_ajax || !wtitan_ajax.import_options_nonce) {
28
+ $.wbcr_factory_clearfy_233.app.showNotice('Unknown Javascript error, most likely the wtitan_ajax variable does not exist!', 'danger');
29
  return false;
30
  }
31
 
39
  $this.prop('disabled', false);
40
 
41
  if (response.data.update_notice) {
42
+ $.wbcr_factory_clearfy_233.app.showNotice(response.data.update_notice);
43
  } else {
44
  $('.wbcr-clr-update-package').closest('.wbcr-factory-warning-notice').remove();
45
  }
73
  console.log(data);
74
 
75
  if (data) {
76
+ noticeId = $.wbcr_factory_clearfy_233.app.showNotice(data.error_message, 'danger');
77
  } else {
78
  if (void 0 !== wtitan_ajax) {
79
+ noticeId = $.wbcr_factory_clearfy_233.app.showNotice(wtitan_ajax.i18n.unknown_error, 'danger');
80
  }
81
  }
82
 
83
  setTimeout(function () {
84
+ $.wbcr_factory_clearfy_233.app.hideNotice(noticeId);
85
  }, 5000);
86
  return;
87
  }
90
 
91
  if (!request_data.flush_redirect) {
92
  if (void 0 !== wtitan_ajax) {
93
+ noticeId = $.wbcr_factory_clearfy_233.app.showNotice(wtitan_ajax.i18n.success_update_settings, 'success');
94
 
95
  setTimeout(function () {
96
+ $.wbcr_factory_clearfy_233.app.hideNotice(noticeId);
97
  }, 5000);
98
  }
99
  return;
108
  console.log(xhr.responseText);
109
  console.log(thrownError);
110
 
111
+ var noticeId = $.wbcr_factory_clearfy_233.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
112
  }
113
  });
114
  }
admin/assets/js/install-addons.js CHANGED
@@ -53,16 +53,16 @@
53
 
54
  $this.addClass('disabled').text(button_i18n.loading);
55
 
56
- $.wbcr_factory_clearfy_230.hooks.run('clearfy/components/pre_update', [$this, data]);
57
 
58
  self.sendRequest(data, function (response) {
59
  if (!response || !response.success) {
60
 
61
  if (response.data && response.data.error_message) {
62
- $.wbcr_factory_clearfy_230.app.showNotice(response.data.error_message, 'danger');
63
  }
64
 
65
- $.wbcr_factory_clearfy_230.hooks.run('clearfy/components/update_error', [
66
  $this,
67
  data,
68
  response.data.error_message,
@@ -78,7 +78,7 @@
78
  if (storage == 'freemius') {
79
  if (response.data.update_notice) {
80
  if (!$('.wtitan-update-package').length) {
81
- $.wbcr_factory_clearfy_230.app.showNotice(response.data.update_notice);
82
  }
83
  } else {
84
  if ($('.wtitan-update-package').length) {
@@ -97,7 +97,7 @@
97
  $this.removeClass('button-default').addClass('button-primary');
98
  }
99
 
100
- $.wbcr_factory_clearfy_230.hooks.run('clearfy/components/installed', [
101
  $this,
102
  data,
103
  response
@@ -148,7 +148,7 @@
148
  $this.closest('.plugin-card').find('.settings-button').show();
149
  }
150
 
151
- $.wbcr_factory_clearfy_230.hooks.run('clearfy/components/pre_activate', [
152
  $this,
153
  data,
154
  response
@@ -196,7 +196,7 @@
196
  $this.closest('.wbcr-hide-after-action').remove();
197
  }
198
 
199
- $.wbcr_factory_clearfy_230.hooks.run('clearfy/components/deactivated', [
200
  $this,
201
  data,
202
  response
@@ -219,7 +219,7 @@
219
  $this.remove();
220
  }
221
 
222
- $.wbcr_factory_clearfy_230.hooks.run('clearfy/components/deleted', [$this, data, response]);
223
  }
224
  } else {
225
  if (plugin_action == 'install') {
@@ -230,10 +230,10 @@
230
  $this.text(button_i18n[plugin_action]);
231
 
232
  if (response.data.need_rewrite_rules && !$('.wtitan-need-rewrite-rules-message').length) {
233
- $.wbcr_factory_clearfy_230.app.showNotice(response.data.need_rewrite_rules, 'warning');
234
  }
235
 
236
- $.wbcr_factory_clearfy_230.hooks.run('clearfy/components/updated', [$this, data, response]);
237
  });
238
 
239
  return false;
@@ -256,7 +256,7 @@
256
  self.sendRequest(data, function (response) {
257
  if (!response || !response.success) {
258
  if (response.data && response.data.error_message) {
259
- $.wbcr_factory_clearfy_230.app.showNotice(response.data.error_message, 'danger');
260
  }
261
  return;
262
  }
@@ -319,17 +319,17 @@
319
  self.setComponentDeactivate(componentButton);
320
 
321
  if (response.data && response.data.error_message) {
322
- $.wbcr_factory_clearfy_230.app.showNotice(response.data.error_message, 'danger');
323
  }
324
 
325
- $.wbcr_factory_clearfy_230.hooks.run('clearfy/components/activated_error', [sendData.plugin]);
326
  return;
327
  }
328
 
329
  componentButton.removeClass('button-primary').text(button_i18n['deactivate']);
330
  self.setComponentActivate(componentButton);
331
 
332
- $.wbcr_factory_clearfy_230.hooks.run('clearfy/components/activated', [sendData.plugin]);
333
  });
334
  },
335
 
@@ -348,7 +348,7 @@
348
  console.log(xhr.responseText);
349
  console.log(thrownError);
350
 
351
- $.wbcr_factory_clearfy_230.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
352
  }
353
  });
354
  }
53
 
54
  $this.addClass('disabled').text(button_i18n.loading);
55
 
56
+ $.wbcr_factory_clearfy_233.hooks.run('clearfy/components/pre_update', [$this, data]);
57
 
58
  self.sendRequest(data, function (response) {
59
  if (!response || !response.success) {
60
 
61
  if (response.data && response.data.error_message) {
62
+ $.wbcr_factory_clearfy_233.app.showNotice(response.data.error_message, 'danger');
63
  }
64
 
65
+ $.wbcr_factory_clearfy_233.hooks.run('clearfy/components/update_error', [
66
  $this,
67
  data,
68
  response.data.error_message,
78
  if (storage == 'freemius') {
79
  if (response.data.update_notice) {
80
  if (!$('.wtitan-update-package').length) {
81
+ $.wbcr_factory_clearfy_233.app.showNotice(response.data.update_notice);
82
  }
83
  } else {
84
  if ($('.wtitan-update-package').length) {
97
  $this.removeClass('button-default').addClass('button-primary');
98
  }
99
 
100
+ $.wbcr_factory_clearfy_233.hooks.run('clearfy/components/installed', [
101
  $this,
102
  data,
103
  response
148
  $this.closest('.plugin-card').find('.settings-button').show();
149
  }
150
 
151
+ $.wbcr_factory_clearfy_233.hooks.run('clearfy/components/pre_activate', [
152
  $this,
153
  data,
154
  response
196
  $this.closest('.wbcr-hide-after-action').remove();
197
  }
198
 
199
+ $.wbcr_factory_clearfy_233.hooks.run('clearfy/components/deactivated', [
200
  $this,
201
  data,
202
  response
219
  $this.remove();
220
  }
221
 
222
+ $.wbcr_factory_clearfy_233.hooks.run('clearfy/components/deleted', [$this, data, response]);
223
  }
224
  } else {
225
  if (plugin_action == 'install') {
230
  $this.text(button_i18n[plugin_action]);
231
 
232
  if (response.data.need_rewrite_rules && !$('.wtitan-need-rewrite-rules-message').length) {
233
+ $.wbcr_factory_clearfy_233.app.showNotice(response.data.need_rewrite_rules, 'warning');
234
  }
235
 
236
+ $.wbcr_factory_clearfy_233.hooks.run('clearfy/components/updated', [$this, data, response]);
237
  });
238
 
239
  return false;
256
  self.sendRequest(data, function (response) {
257
  if (!response || !response.success) {
258
  if (response.data && response.data.error_message) {
259
+ $.wbcr_factory_clearfy_233.app.showNotice(response.data.error_message, 'danger');
260
  }
261
  return;
262
  }
319
  self.setComponentDeactivate(componentButton);
320
 
321
  if (response.data && response.data.error_message) {
322
+ $.wbcr_factory_clearfy_233.app.showNotice(response.data.error_message, 'danger');
323
  }
324
 
325
+ $.wbcr_factory_clearfy_233.hooks.run('clearfy/components/activated_error', [sendData.plugin]);
326
  return;
327
  }
328
 
329
  componentButton.removeClass('button-primary').text(button_i18n['deactivate']);
330
  self.setComponentActivate(componentButton);
331
 
332
+ $.wbcr_factory_clearfy_233.hooks.run('clearfy/components/activated', [sendData.plugin]);
333
  });
334
  },
335
 
348
  console.log(xhr.responseText);
349
  console.log(thrownError);
350
 
351
+ $.wbcr_factory_clearfy_233.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
352
  }
353
  });
354
  }
admin/boot.php CHANGED
@@ -27,7 +27,7 @@ add_filter('wbcr/factory/pages/impressive/widgets', function ($widgets, $positio
27
 
28
  if( $plugin->getPluginName() == \WBCR\Titan\Plugin::app()->getPluginName() ) {
29
 
30
- if(\WBCR\Titan\Plugin::app()->premium->is_activate() ) {
31
  unset($widgets['donate_widget']);
32
 
33
  if( $position == 'right' ) {
@@ -43,6 +43,7 @@ add_filter('wbcr/factory/pages/impressive/widgets', function ($widgets, $positio
43
  unset($widgets['business_suggetion']);
44
  unset($widgets['info_widget']);
45
  unset($widgets['rating_widget']);
 
46
  }
47
  }
48
  }
@@ -66,7 +67,7 @@ add_action('admin_init', function () {
66
  if( \WBCR\Titan\Plugin\Helper::is_need_show_setup_page() ) {
67
  try {
68
  $redirect_url = '';
69
- if( class_exists('Wbcr_FactoryPages438') ) {
70
  $redirect_url = $plugin->getPluginPageUrl('setup', ['wtitan_setup_page_viewed' => 1]);
71
  }
72
  if( $redirect_url ) {
@@ -107,30 +108,23 @@ add_action( 'wbcr/factory/pages/impressive/header', function ( $plugin_name ) {
107
  * that put all unapproved comments to spam check queue.
108
  */
109
  add_action('wbcr/factory/admin_notices', function ($notices, $plugin_name) {
110
- if( $plugin_name != \WBCR\Titan\Plugin::app()->getPluginName() || defined('WTITAN_PLUGIN_ACTIVE') ) {
111
  return $notices;
112
  }
113
 
114
- if( !\WBCR\Titan\Plugin::app()->is_premium() ) {
115
- return $notices;
116
- }
117
-
118
- $about_plugin_url = "https://anti-spam.space";
119
- $install_plugin_url = admin_url('update.php?action=install-plugin&plugin=anti-spam&_wpnonce=' . wp_create_nonce('activate-plugin_titan-security'));
120
-
121
- $notice_text = sprintf(__('Thanks for activating the premium Titan security plugin. You got a bonus, premium <a href="%s" target="_blank" rel="noopener">Anti-spam</a> plugin. Want to <a href="%s" target="_blank" rel="noopener">install it now</a>?', "titan-security"), $about_plugin_url, $install_plugin_url);
122
 
123
  $notices[] = [
124
- 'id' => 'wtitan_bonus_suggestion',
125
  'type' => 'success',
126
- /*'where' => [
127
  'edit-comments',
128
  'plugins',
129
  'themes',
130
  'dashboard',
131
  'edit',
132
  'settings'
133
- ],*/
134
  'dismissible' => true,
135
  'dismiss_expires' => 0,
136
  'text' => '<p><strong>Titan:</strong><br>' . $notice_text . '</p>'
@@ -154,8 +148,8 @@ add_action('wbcr/factory/admin_notices', function ($notices, $plugin_name) {
154
  echo '<div class="alert alert-warning wbcr-factory-warning-notice wtitan-get-plugins-scanner__notice"><p><span class="dashicons dashicons-plugins-checked"></span> ' . $notice_text . '</p></div>';
155
  *///$obj->printWarningNotice($notice_text);
156
 
157
- /** @var \Wbcr_Factory439_Plugin $plugin */
158
- /** @var \Wbcr_FactoryPages438_ImpressiveThemplate $obj */
159
  /*if ( ( \WBCR\Titan\Plugin::app()->premium->is_activate() ) || ( $plugin->getPluginName() != \WBCR\Titan\Plugin::app()->getPluginName() ) || $obj->id == 'license' ) {
160
  return;
161
  }
27
 
28
  if( $plugin->getPluginName() == \WBCR\Titan\Plugin::app()->getPluginName() ) {
29
 
30
+ if( \WBCR\Titan\Plugin::app()->premium->is_activate() ) {
31
  unset($widgets['donate_widget']);
32
 
33
  if( $position == 'right' ) {
43
  unset($widgets['business_suggetion']);
44
  unset($widgets['info_widget']);
45
  unset($widgets['rating_widget']);
46
+ $widgets['adverts_widget'] = wtitan_get_sidebar_adverts_widget();
47
  }
48
  }
49
  }
67
  if( \WBCR\Titan\Plugin\Helper::is_need_show_setup_page() ) {
68
  try {
69
  $redirect_url = '';
70
+ if( class_exists('Wbcr_FactoryPages441') ) {
71
  $redirect_url = $plugin->getPluginPageUrl('setup', ['wtitan_setup_page_viewed' => 1]);
72
  }
73
  if( $redirect_url ) {
108
  * that put all unapproved comments to spam check queue.
109
  */
110
  add_action('wbcr/factory/admin_notices', function ($notices, $plugin_name) {
111
+ if( $plugin_name != \WBCR\Titan\Plugin::app()->getPluginName() ) {
112
  return $notices;
113
  }
114
 
115
+ $notice_text = sprintf(__('Maintenance, Security, Backups & Support for your WordPress Install. <a href="%s" target="_blank" rel="noopener">Now 49$/month!</a>', "titan-security"), 'https://cm-wp.com/wp-support/');
 
 
 
 
 
 
 
116
 
117
  $notices[] = [
118
+ 'id' => 'wtitan_creativemotion_support_suggestion',
119
  'type' => 'success',
120
+ 'where' => [
121
  'edit-comments',
122
  'plugins',
123
  'themes',
124
  'dashboard',
125
  'edit',
126
  'settings'
127
+ ],
128
  'dismissible' => true,
129
  'dismiss_expires' => 0,
130
  'text' => '<p><strong>Titan:</strong><br>' . $notice_text . '</p>'
148
  echo '<div class="alert alert-warning wbcr-factory-warning-notice wtitan-get-plugins-scanner__notice"><p><span class="dashicons dashicons-plugins-checked"></span> ' . $notice_text . '</p></div>';
149
  *///$obj->printWarningNotice($notice_text);
150
 
151
+ /** @var \Wbcr_Factory442_Plugin $plugin */
152
+ /** @var \Wbcr_FactoryPages441_ImpressiveThemplate $obj */
153
  /*if ( ( \WBCR\Titan\Plugin::app()->premium->is_activate() ) || ( $plugin->getPluginName() != \WBCR\Titan\Plugin::app()->getPluginName() ) || $obj->id == 'license' ) {
154
  return;
155
  }
admin/class-activation.php CHANGED
@@ -7,7 +7,7 @@ namespace WBCR\Titan;
7
  *
8
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
9
  * @copyright (c) 26.10.2019, Webcraftic
10
- * @see Wbcr_Factory439_Activator
11
  * @version 1.0
12
  */
13
 
@@ -16,7 +16,7 @@ if( !defined('ABSPATH') ) {
16
  exit;
17
  }
18
 
19
- class Activation extends \Wbcr_Factory439_Activator {
20
 
21
  /**
22
  * Runs activation actions.
7
  *
8
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
9
  * @copyright (c) 26.10.2019, Webcraftic
10
+ * @see Wbcr_Factory442_Activator
11
  * @version 1.0
12
  */
13
 
16
  exit;
17
  }
18
 
19
+ class Activation extends \Wbcr_Factory442_Activator {
20
 
21
  /**
22
  * Runs activation actions.
admin/class-page-titan-basic.php CHANGED
@@ -14,17 +14,17 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  * @copyright (c) 2020 Creative Motion
15
  * @version 1.0
16
  */
17
- class Base extends \Wbcr_FactoryClearfy230_PageBase {
18
 
19
  /**
20
  * Scanner page constructor.
21
  *
22
- * @param \Wbcr_Factory439_Plugin $plugin
23
  *
24
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
25
  *
26
  */
27
- public function __construct( \Wbcr_Factory439_Plugin $plugin ) {
28
  parent::__construct( $plugin );
29
  $this->menuIcon = WTITAN_PLUGIN_URL . '/admin/assets/img/titan-icon.png';
30
  }
@@ -96,7 +96,7 @@ class Base extends \Wbcr_FactoryClearfy230_PageBase {
96
  $page_url = $args[0];
97
  }
98
 
99
- $page_url = apply_filters( 'wbcr_factory_pages_438_imppage_rating_widget_url', $page_url, $this->plugin->getPluginName(), $this->getResultId() );
100
 
101
  ?>
102
  <div class="wbcr-factory-sidebar-widget">
14
  * @copyright (c) 2020 Creative Motion
15
  * @version 1.0
16
  */
17
+ class Base extends \Wbcr_FactoryClearfy233_PageBase {
18
 
19
  /**
20
  * Scanner page constructor.
21
  *
22
+ * @param \Wbcr_Factory442_Plugin $plugin
23
  *
24
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
25
  *
26
  */
27
+ public function __construct( \Wbcr_Factory442_Plugin $plugin ) {
28
  parent::__construct( $plugin );
29
  $this->menuIcon = WTITAN_PLUGIN_URL . '/admin/assets/img/titan-icon.png';
30
  }
96
  $page_url = $args[0];
97
  }
98
 
99
+ $page_url = apply_filters( 'wbcr_factory_pages_441_imppage_rating_widget_url', $page_url, $this->plugin->getPluginName(), $this->getResultId() );
100
 
101
  ?>
102
  <div class="wbcr-factory-sidebar-widget">
admin/pages/class-page-backup.php CHANGED
@@ -11,7 +11,7 @@ class Backup extends Base
11
  * The id of the page in the admin menu.
12
  *
13
  * Mainly used to navigate between pages.
14
- * @see FactoryPages438_AdminPage
15
  *
16
  * @since 1.0.0
17
  * @var string
@@ -63,7 +63,7 @@ class Backup extends Base
63
  *
64
  * @return void
65
  * @since 1.0.0
66
- * @see Wbcr_FactoryPages438_AdminPage
67
  *
68
  */
69
  public function assets( $scripts, $styles )
11
  * The id of the page in the admin menu.
12
  *
13
  * Mainly used to navigate between pages.
14
+ * @see FactoryPages441_AdminPage
15
  *
16
  * @since 1.0.0
17
  * @var string
63
  *
64
  * @return void
65
  * @since 1.0.0
66
+ * @see Wbcr_FactoryPages441_AdminPage
67
  *
68
  */
69
  public function assets( $scripts, $styles )
admin/pages/class-page-two-factor.php CHANGED
@@ -14,7 +14,7 @@ class TwoFactor extends Base
14
  * The id of the page in the admin menu.
15
  *
16
  * Mainly used to navigate between pages.
17
- * @see FactoryPages438_AdminPage
18
  *
19
  * @since 1.0.0
20
  * @var string
@@ -60,7 +60,7 @@ class TwoFactor extends Base
60
  *
61
  * @return void
62
  * @since 1.0.0
63
- * @see Wbcr_FactoryPages438_AdminPage
64
  *
65
  */
66
  public function assets($scripts, $styles)
14
  * The id of the page in the admin menu.
15
  *
16
  * Mainly used to navigate between pages.
17
+ * @see FactoryPages441_AdminPage
18
  *
19
  * @since 1.0.0
20
  * @var string
60
  *
61
  * @return void
62
  * @since 1.0.0
63
+ * @see Wbcr_FactoryPages441_AdminPage
64
  *
65
  */
66
  public function assets($scripts, $styles)
admin/pages/class-pages-antispam.php CHANGED
@@ -84,12 +84,12 @@ class Antispam extends Base {
84
  /**
85
  * Antispam page constructor.
86
  *
87
- * @param \Wbcr_Factory439_Plugin $plugin
88
  *
89
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
90
  *
91
  */
92
- public function __construct( \Wbcr_Factory439_Plugin $plugin ) {
93
  $this->menu_title = __( 'Anti-spam', 'titan-security' );
94
  $this->page_menu_short_description = __( 'Detected and stoped spam', 'titan-security' );
95
 
@@ -102,7 +102,7 @@ class Antispam extends Base {
102
  *
103
  * @return void
104
  * @since 6.2
105
- * @see Wbcr_FactoryPages438_AdminPage
106
  *
107
  */
108
  public function assets( $scripts, $styles ) {
@@ -111,7 +111,7 @@ class Antispam extends Base {
111
  $this->styles->add( $this->MODULE_URL . '/assets/css/settings.css' );
112
  $this->scripts->add( $this->MODULE_URL . '/assets/js/settings.js', [
113
  'jquery',
114
- 'wbcr-factory-clearfy-230-global'
115
  ], 'wantispam-settings' );
116
  }
117
 
84
  /**
85
  * Antispam page constructor.
86
  *
87
+ * @param \Wbcr_Factory442_Plugin $plugin
88
  *
89
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
90
  *
91
  */
92
+ public function __construct( \Wbcr_Factory442_Plugin $plugin ) {
93
  $this->menu_title = __( 'Anti-spam', 'titan-security' );
94
  $this->page_menu_short_description = __( 'Detected and stoped spam', 'titan-security' );
95
 
102
  *
103
  * @return void
104
  * @since 6.2
105
+ * @see Wbcr_FactoryPages441_AdminPage
106
  *
107
  */
108
  public function assets( $scripts, $styles ) {
111
  $this->styles->add( $this->MODULE_URL . '/assets/css/settings.css' );
112
  $this->scripts->add( $this->MODULE_URL . '/assets/js/settings.js', [
113
  'jquery',
114
+ 'wbcr-factory-clearfy-233-global'
115
  ], 'wantispam-settings' );
116
  }
117
 
admin/pages/class-pages-check.php CHANGED
@@ -71,12 +71,12 @@ class Check extends Base {
71
  /**
72
  * Scanner page constructor.
73
  *
74
- * @param \Wbcr_Factory439_Plugin $plugin
75
  *
76
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
77
  *
78
  */
79
- public function __construct( \Wbcr_Factory439_Plugin $plugin ) {
80
  $this->plugin = $plugin;
81
 
82
  $this->menu_title = __( 'Audit', 'titan-security' );
@@ -93,12 +93,12 @@ class Check extends Base {
93
  /**
94
  * {@inheritDoc}
95
  * @param $notices
96
- * @param \Wbcr_Factory439_Plugin $plugin
97
  *
98
  * @return array
99
  * @since 6.5.2
100
  *
101
- * @see \FactoryPages438_ImpressiveThemplate
102
  */
103
  public function getActionNotices( $notices ) {
104
 
71
  /**
72
  * Scanner page constructor.
73
  *
74
+ * @param \Wbcr_Factory442_Plugin $plugin
75
  *
76
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
77
  *
78
  */
79
+ public function __construct( \Wbcr_Factory442_Plugin $plugin ) {
80
  $this->plugin = $plugin;
81
 
82
  $this->menu_title = __( 'Audit', 'titan-security' );
93
  /**
94
  * {@inheritDoc}
95
  * @param $notices
96
+ * @param \Wbcr_Factory442_Plugin $plugin
97
  *
98
  * @return array
99
  * @since 6.5.2
100
  *
101
+ * @see \FactoryPages441_ImpressiveThemplate
102
  */
103
  public function getActionNotices( $notices ) {
104
 
admin/pages/class-pages-components-license.php CHANGED
@@ -58,13 +58,13 @@ class Components_License extends Base {
58
 
59
  /**
60
  * WCL_LicensePage constructor.
61
- * @param \Wbcr_Factory439_Plugin $plugin
62
  *
63
  * @since 7.0.2
64
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
65
  *
66
  */
67
- public function __construct(\Wbcr_Factory439_Plugin $plugin)
68
  {
69
  $this->menu_title = __('License', 'titan-security');
70
  $this->page_menu_short_description = __('Product activation', 'titan-security');
@@ -78,7 +78,7 @@ class Components_License extends Base {
78
  *
79
  * @return void
80
  * @since 7.0.2
81
- * @see FactoryPages438_AdminPage
82
  *
83
  */
84
  public function assets($scripts, $styles)
@@ -88,8 +88,8 @@ class Components_License extends Base {
88
  $this->styles->add(WTITAN_PLUGIN_URL . '/admin/assets/css/components.css');
89
 
90
  /**
91
- * @param \Wbcr_Factory439_StyleList $styles
92
- * @param \Wbcr_Factory439_ScriptList $scripts
93
  *
94
  * @since 7.0.2
95
  *
58
 
59
  /**
60
  * WCL_LicensePage constructor.
61
+ * @param \Wbcr_Factory442_Plugin $plugin
62
  *
63
  * @since 7.0.2
64
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
65
  *
66
  */
67
+ public function __construct(\Wbcr_Factory442_Plugin $plugin)
68
  {
69
  $this->menu_title = __('License', 'titan-security');
70
  $this->page_menu_short_description = __('Product activation', 'titan-security');
78
  *
79
  * @return void
80
  * @since 7.0.2
81
+ * @see FactoryPages441_AdminPage
82
  *
83
  */
84
  public function assets($scripts, $styles)
88
  $this->styles->add(WTITAN_PLUGIN_URL . '/admin/assets/css/components.css');
89
 
90
  /**
91
+ * @param \Wbcr_Factory442_StyleList $styles
92
+ * @param \Wbcr_Factory442_ScriptList $scripts
93
  *
94
  * @since 7.0.2
95
  *
admin/pages/class-pages-components.php CHANGED
@@ -27,7 +27,7 @@ class Components extends Base {
27
  * Mainly used to navigate between pages.
28
  *
29
  * @since 7.0.3
30
- * @see FactoryPages438_AdminPage
31
  *
32
  * @var string
33
  */
@@ -73,7 +73,7 @@ class Components extends Base {
73
  *
74
  * @return void
75
  * @since 7.0.2
76
- * @see FactoryPages438_AdminPage
77
  *
78
  */
79
  public function assets($scripts, $styles)
@@ -83,8 +83,8 @@ class Components extends Base {
83
  $this->styles->add(WTITAN_PLUGIN_URL . '/admin/assets/css/components.css');
84
 
85
  /**
86
- * @param \Wbcr_Factory439_StyleList $styles
87
- * @param \Wbcr_Factory439_ScriptList $scripts
88
  *
89
  * @since 7.0.3
90
  *
@@ -99,7 +99,7 @@ class Components extends Base {
99
  * @param Plugin $plugin
100
  *
101
  * @return array
102
- * @see 'libs\factory\pages\templates\FactoryPages438_ImpressiveThemplate'
103
  */
104
  public function getActionNotices($notices)
105
  {
27
  * Mainly used to navigate between pages.
28
  *
29
  * @since 7.0.3
30
+ * @see FactoryPages441_AdminPage
31
  *
32
  * @var string
33
  */
73
  *
74
  * @return void
75
  * @since 7.0.2
76
+ * @see FactoryPages441_AdminPage
77
  *
78
  */
79
  public function assets($scripts, $styles)
83
  $this->styles->add(WTITAN_PLUGIN_URL . '/admin/assets/css/components.css');
84
 
85
  /**
86
+ * @param \Wbcr_Factory442_StyleList $styles
87
+ * @param \Wbcr_Factory442_ScriptList $scripts
88
  *
89
  * @since 7.0.3
90
  *
99
  * @param Plugin $plugin
100
  *
101
  * @return array
102
+ * @see 'libs\factory\pages\templates\FactoryPages441_ImpressiveThemplate'
103
  */
104
  public function getActionNotices($notices)
105
  {
admin/pages/class-pages-dashboard.php CHANGED
@@ -129,12 +129,12 @@ class Dashboard extends Base {
129
  /**
130
  * Logs constructor.
131
  *
132
- * @param \Wbcr_Factory439_Plugin $plugin
133
  *
134
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
135
  *
136
  */
137
- public function __construct( \Wbcr_Factory439_Plugin $plugin ) {
138
  $this->plugin = $plugin;
139
 
140
  $this->menu_title = __( 'Titan Anti-spam', 'titan-security' );
129
  /**
130
  * Logs constructor.
131
  *
132
+ * @param \Wbcr_Factory442_Plugin $plugin
133
  *
134
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
135
  *
136
  */
137
+ public function __construct( \Wbcr_Factory442_Plugin $plugin ) {
138
  $this->plugin = $plugin;
139
 
140
  $this->menu_title = __( 'Titan Anti-spam', 'titan-security' );
admin/pages/class-pages-license.php CHANGED
@@ -16,7 +16,7 @@ if( !defined('ABSPATH') ) {
16
  *
17
  * @copyright (c) 2018 Webraftic Ltd
18
  */
19
- class License extends \Wbcr_FactoryClearfy230_LicensePage {
20
 
21
  /**
22
  * {@inheritdoc}
@@ -58,12 +58,12 @@ class License extends \Wbcr_FactoryClearfy230_LicensePage {
58
  /**
59
  * WCL_LicensePage constructor.
60
  *
61
- * @param \Wbcr_Factory439_Plugin $plugin
62
  *
63
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
64
  *
65
  */
66
- public function __construct(\Wbcr_Factory439_Plugin $plugin)
67
  {
68
  $this->menu_title = __('License', 'titan-security');
69
  $this->page_menu_short_description = __('Product activation', 'titan-security');
@@ -126,12 +126,12 @@ class License extends \Wbcr_FactoryClearfy230_LicensePage {
126
  /**
127
  * {@inheritDoc}
128
  * @param $notices
129
- * @param \Wbcr_Factory439_Plugin $plugin
130
  *
131
  * @return array
132
  * @since 6.5.2
133
  *
134
- * @see \FactoryPages438_ImpressiveThemplate
135
  */
136
  /*public function getActionNotices($notices)
137
  {
@@ -280,14 +280,14 @@ class License extends \Wbcr_FactoryClearfy230_LicensePage {
280
  if( $this->is_premium ):
281
  ?>
282
  <p style="margin-top: 10px;">
283
- <?php printf(__('<a href="%s" target="_blank" rel="noopener">Lean more</a> about the premium version and get the license key to activate it now!', 'wbcr_factory_clearfy_230'), $this->plugin->get_support()->get_pricing_url(true, 'license_page')); ?>
284
  </p>
285
  <?php else: ?>
286
  <p style="margin-top: 10px;">
287
- <?php printf(__('Can’t find your key? Go to <a href="%s" target="_blank" rel="noopener">this page</a> and login using the e-mail address associated with your purchase.', 'wbcr_factory_clearfy_230'), "https://users.freemius.com/") ?>
288
  </p>
289
  <p style="margin-top: 10px;">
290
- <?php printf(__('We use certain personal data, such as your email address. By activating the license, you confirm that you have read the <a href="https://titansitescanner.com/terms-of-use/">Terms of Service</a> and <a href="https://titansitescanner.com/privacy/">Privacy Policy (in accordance with GDPR)</a>', 'wbcr_factory_clearfy_230'), $this->plugin->get_support()->get_contacts_url(true, 'license_page')) ?>
291
  </p>
292
  <?php endif;
293
  }
16
  *
17
  * @copyright (c) 2018 Webraftic Ltd
18
  */
19
+ class License extends \Wbcr_FactoryClearfy233_LicensePage {
20
 
21
  /**
22
  * {@inheritdoc}
58
  /**
59
  * WCL_LicensePage constructor.
60
  *
61
+ * @param \Wbcr_Factory442_Plugin $plugin
62
  *
63
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
64
  *
65
  */
66
+ public function __construct(\Wbcr_Factory442_Plugin $plugin)
67
  {
68
  $this->menu_title = __('License', 'titan-security');
69
  $this->page_menu_short_description = __('Product activation', 'titan-security');
126
  /**
127
  * {@inheritDoc}
128
  * @param $notices
129
+ * @param \Wbcr_Factory442_Plugin $plugin
130
  *
131
  * @return array
132
  * @since 6.5.2
133
  *
134
+ * @see \FactoryPages441_ImpressiveThemplate
135
  */
136
  /*public function getActionNotices($notices)
137
  {
280
  if( $this->is_premium ):
281
  ?>
282
  <p style="margin-top: 10px;">
283
+ <?php printf(__('<a href="%s" target="_blank" rel="noopener">Lean more</a> about the premium version and get the license key to activate it now!', 'wbcr_factory_clearfy_233'), $this->plugin->get_support()->get_pricing_url(true, 'license_page')); ?>
284
  </p>
285
  <?php else: ?>
286
  <p style="margin-top: 10px;">
287
+ <?php printf(__('Can’t find your key? Go to <a href="%s" target="_blank" rel="noopener">this page</a> and login using the e-mail address associated with your purchase.', 'wbcr_factory_clearfy_233'), "https://users.freemius.com/") ?>
288
  </p>
289
  <p style="margin-top: 10px;">
290
+ <?php printf(__('We use certain personal data, such as your email address. By activating the license, you confirm that you have read the <a href="https://titansitescanner.com/terms-of-use/">Terms of Service</a> and <a href="https://titansitescanner.com/privacy/">Privacy Policy (in accordance with GDPR)</a>', 'wbcr_factory_clearfy_233'), $this->plugin->get_support()->get_contacts_url(true, 'license_page')) ?>
291
  </p>
292
  <?php endif;
293
  }
admin/pages/class-pages-logs.php CHANGED
@@ -50,12 +50,12 @@ class Logs extends Base {
50
  /**
51
  * Logs constructor.
52
  *
53
- * @param \Wbcr_Factory439_Plugin $plugin
54
  *
55
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
56
  *
57
  */
58
- public function __construct( \Wbcr_Factory439_Plugin $plugin ) {
59
 
60
  $this->menu_title = __( 'Error Log', 'titan-security' );
61
  $this->page_menu_short_description = __( 'Plugin debug report', 'titan-security' );
50
  /**
51
  * Logs constructor.
52
  *
53
+ * @param \Wbcr_Factory442_Plugin $plugin
54
  *
55
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
56
  *
57
  */
58
+ public function __construct( \Wbcr_Factory442_Plugin $plugin ) {
59
 
60
  $this->menu_title = __( 'Error Log', 'titan-security' );
61
  $this->page_menu_short_description = __( 'Plugin debug report', 'titan-security' );
admin/pages/class-pages-plugin-settings.php CHANGED
@@ -4,7 +4,7 @@ namespace WBCR\Titan\Page;
4
 
5
  use WBCR\Titan\Plugin;
6
  use WBCR\Titan\Plugin\Helper;
7
- use Wbcr_Factory439_Plugin;
8
 
9
  /**
10
  * The plugin Settings.
@@ -46,9 +46,9 @@ class PluginSettings extends Base {
46
  public $page_menu_position = 2;
47
 
48
  /**
49
- * @param Wbcr_Factory439_Plugin $plugin
50
  */
51
- public function __construct( Wbcr_Factory439_Plugin $plugin ) {
52
  $this->menu_title = __( 'Settings', 'titan-security' );
53
  $this->page_menu_short_description = __( 'Global plugin settings', 'titan-security' );
54
 
4
 
5
  use WBCR\Titan\Plugin;
6
  use WBCR\Titan\Plugin\Helper;
7
+ use Wbcr_Factory442_Plugin;
8
 
9
  /**
10
  * The plugin Settings.
46
  public $page_menu_position = 2;
47
 
48
  /**
49
+ * @param Wbcr_Factory442_Plugin $plugin
50
  */
51
+ public function __construct( Wbcr_Factory442_Plugin $plugin ) {
52
  $this->menu_title = __( 'Settings', 'titan-security' );
53
  $this->page_menu_short_description = __( 'Global plugin settings', 'titan-security' );
54
 
admin/pages/class-pages-scanner.php CHANGED
@@ -4,8 +4,8 @@ namespace WBCR\Titan\Page;
4
 
5
  use WBCR\Titan;
6
 
7
- use Wbcr_Factory439_Plugin;
8
- use Wbcr_FactoryClearfy230_PageBase;
9
 
10
  if ( ! defined( 'ABSPATH' ) ) {
11
  exit;
@@ -57,10 +57,10 @@ class Scanner extends Base {
57
  /**
58
  * Scanner constructor.
59
  *
60
- * @param Wbcr_Factory439_Plugin $plugin
61
  *
62
  */
63
- public function __construct( Wbcr_Factory439_Plugin $plugin ) {
64
  $this->plugin = $plugin;
65
 
66
  $this->menu_title = __( 'Scanner', 'titan-security' );
4
 
5
  use WBCR\Titan;
6
 
7
+ use Wbcr_Factory442_Plugin;
8
+ use Wbcr_FactoryClearfy233_PageBase;
9
 
10
  if ( ! defined( 'ABSPATH' ) ) {
11
  exit;
57
  /**
58
  * Scanner constructor.
59
  *
60
+ * @param Wbcr_Factory442_Plugin $plugin
61
  *
62
  */
63
+ public function __construct( Wbcr_Factory442_Plugin $plugin ) {
64
  $this->plugin = $plugin;
65
 
66
  $this->menu_title = __( 'Scanner', 'titan-security' );
admin/pages/class-pages-sitechecker.php CHANGED
@@ -65,10 +65,10 @@ class SiteChecker extends Base {
65
  /**
66
  * Site Checker constructor.
67
  *
68
- * @param \Wbcr_Factory439_Plugin $plugin
69
  *
70
  */
71
- public function __construct( \Wbcr_Factory439_Plugin $plugin ) {
72
  $this->plugin = $plugin;
73
 
74
  $this->menu_title = __( 'Site Checker', 'titan-security' );
65
  /**
66
  * Site Checker constructor.
67
  *
68
+ * @param \Wbcr_Factory442_Plugin $plugin
69
  *
70
  */
71
+ public function __construct( \Wbcr_Factory442_Plugin $plugin ) {
72
  $this->plugin = $plugin;
73
 
74
  $this->menu_title = __( 'Site Checker', 'titan-security' );
admin/pages/class-pages-tweaks.php CHANGED
@@ -45,12 +45,12 @@ class Tweaks extends Base {
45
  /**
46
  * WBCR\Page\Settings constructor.
47
  *
48
- * @param \Wbcr_Factory439_Plugin $plugin
49
  *
50
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
51
  *
52
  */
53
- public function __construct( \Wbcr_Factory439_Plugin $plugin ) {
54
  $this->menu_title = __( 'Tweaks', 'titan-security' );
55
  $this->page_menu_short_description = __( 'Security tweaks', 'titan-security' );
56
 
@@ -66,7 +66,7 @@ class Tweaks extends Base {
66
  *
67
  * @return void
68
  * @since 6.2
69
- * @see Wbcr_FactoryPages438_AdminPage
70
  *
71
  */
72
  public function assets( $scripts, $styles ) {
45
  /**
46
  * WBCR\Page\Settings constructor.
47
  *
48
+ * @param \Wbcr_Factory442_Plugin $plugin
49
  *
50
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
51
  *
52
  */
53
+ public function __construct( \Wbcr_Factory442_Plugin $plugin ) {
54
  $this->menu_title = __( 'Tweaks', 'titan-security' );
55
  $this->page_menu_short_description = __( 'Security tweaks', 'titan-security' );
56
 
66
  *
67
  * @return void
68
  * @since 6.2
69
+ * @see Wbcr_FactoryPages441_AdminPage
70
  *
71
  */
72
  public function assets( $scripts, $styles ) {
admin/pages/firewall/class-pages-bruteforce.php CHANGED
@@ -49,12 +49,12 @@ class Brute_Force extends Base {
49
  /**
50
  * Logs constructor.
51
  *
52
- * @param \Wbcr_Factory439_Plugin $plugin
53
  *
54
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
55
  *
56
  */
57
- public function __construct( \Wbcr_Factory439_Plugin $plugin ) {
58
  $this->plugin = $plugin;
59
 
60
  $this->menu_title = __( 'Limit login Attempts', 'titan-security' );
@@ -71,7 +71,7 @@ class Brute_Force extends Base {
71
  *
72
  * @return void
73
  * @since 6.2
74
- * @see Wbcr_FactoryPages438_AdminPage
75
  *
76
  */
77
  public function assets( $scripts, $styles ) {
49
  /**
50
  * Logs constructor.
51
  *
52
+ * @param \Wbcr_Factory442_Plugin $plugin
53
  *
54
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
55
  *
56
  */
57
+ public function __construct( \Wbcr_Factory442_Plugin $plugin ) {
58
  $this->plugin = $plugin;
59
 
60
  $this->menu_title = __( 'Limit login Attempts', 'titan-security' );
71
  *
72
  * @return void
73
  * @since 6.2
74
+ * @see Wbcr_FactoryPages441_AdminPage
75
  *
76
  */
77
  public function assets( $scripts, $styles ) {
admin/pages/firewall/class-pages-firewall-attacks-log.php CHANGED
@@ -64,7 +64,7 @@ class Firewall_Attacks_Log extends Base {
64
  /**
65
  * Logs constructor.
66
  *
67
- * @param \Wbcr_Factory439_Plugin $plugin
68
  *
69
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
70
  *
64
  /**
65
  * Logs constructor.
66
  *
67
+ * @param \Wbcr_Factory442_Plugin $plugin
68
  *
69
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
70
  *
admin/pages/firewall/class-pages-firewall-blocking.php CHANGED
@@ -65,7 +65,7 @@ class Firewall_Blocking extends Base {
65
  /**
66
  * WBCR\Page\Settings constructor.
67
  *
68
- * @param \Wbcr_Factory439_Plugin $plugin
69
  *
70
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
71
  *
@@ -85,7 +85,7 @@ class Firewall_Blocking extends Base {
85
  *
86
  * @return void
87
  * @since 6.2
88
- * @see Wbcr_FactoryPages438_AdminPage
89
  *
90
  */
91
  public function assets( $scripts, $styles ) {
65
  /**
66
  * WBCR\Page\Settings constructor.
67
  *
68
+ * @param \Wbcr_Factory442_Plugin $plugin
69
  *
70
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
71
  *
85
  *
86
  * @return void
87
  * @since 6.2
88
+ * @see Wbcr_FactoryPages441_AdminPage
89
  *
90
  */
91
  public function assets( $scripts, $styles ) {
admin/pages/firewall/class-pages-firewall-login-attempts.php CHANGED
@@ -64,7 +64,7 @@ class Firewall_Login_Attempts extends Base {
64
  /**
65
  * Logs constructor.
66
  *
67
- * @param \Wbcr_Factory439_Plugin $plugin
68
  *
69
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
70
  *
64
  /**
65
  * Logs constructor.
66
  *
67
+ * @param \Wbcr_Factory442_Plugin $plugin
68
  *
69
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
70
  *
admin/pages/firewall/class-pages-firewall-settings.php CHANGED
@@ -52,7 +52,7 @@ class Firewall_Settings extends Base {
52
  /**
53
  * WBCR\Page\Settings constructor.
54
  *
55
- * @param \Wbcr_Factory439_Plugin $plugin
56
  *
57
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
58
  *
@@ -73,7 +73,7 @@ class Firewall_Settings extends Base {
73
  *
74
  * @return void
75
  * @since 6.2
76
- * @see Wbcr_FactoryPages438_AdminPage
77
  *
78
  */
79
  public function assets( $scripts, $styles ) {
52
  /**
53
  * WBCR\Page\Settings constructor.
54
  *
55
+ * @param \Wbcr_Factory442_Plugin $plugin
56
  *
57
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
58
  *
73
  *
74
  * @return void
75
  * @since 6.2
76
+ * @see Wbcr_FactoryPages441_AdminPage
77
  *
78
  */
79
  public function assets( $scripts, $styles ) {
admin/pages/firewall/class-pages-firewall.php CHANGED
@@ -51,7 +51,7 @@ class Firewall extends Base {
51
  /**
52
  * Logs constructor.
53
  *
54
- * @param \Wbcr_Factory439_Plugin $plugin
55
  *
56
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
57
  *
51
  /**
52
  * Logs constructor.
53
  *
54
+ * @param \Wbcr_Factory442_Plugin $plugin
55
  *
56
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
57
  *
admin/pages/setup/class-pages-setup.php CHANGED
@@ -13,21 +13,21 @@ if( !defined('ABSPATH') ) {
13
  exit;
14
  }
15
 
16
- class Setup extends \WBCR\FactoryClearfy230\Pages\Setup {
17
 
18
  /**
19
- * @param \Wbcr_Factory439_Plugin $plugin
20
  */
21
- public function __construct(\Wbcr_Factory439_Plugin $plugin)
22
  {
23
  parent::__construct($plugin);
24
 
25
  $path = WTITAN_PLUGIN_DIR . '/admin/pages/setup/steps';
26
 
27
- #Step 1 is default \WBCR\FactoryClearfy230\Pages\Step_Plugins
28
  $this->register_step($path . '/class-step-default.php', '\WBCR\Titan\Page\Step_Default');
29
 
30
- #Step 2 \WBCR\FactoryClearfy230\Pages\Step_Plugins
31
  $this->register_step($path . '/class-step-plugins.php', '\WBCR\Titan\Page\Step_Plugins');
32
  #Step 3
33
  $this->register_step($path . '/class-step-security-audit.php', '\WBCR\Titan\Page\Step_Security_Audit');
@@ -53,7 +53,7 @@ class Setup extends \WBCR\FactoryClearfy230\Pages\Setup {
53
  *
54
  * @return void
55
  * @since 1.0.0
56
- * @see FactoryPages438_AdminPage
57
  *
58
  */
59
  public function assets($scripts, $styles)
13
  exit;
14
  }
15
 
16
+ class Setup extends \WBCR\FactoryClearfy233\Pages\Setup {
17
 
18
  /**
19
+ * @param \Wbcr_Factory442_Plugin $plugin
20
  */
21
+ public function __construct(\Wbcr_Factory442_Plugin $plugin)
22
  {
23
  parent::__construct($plugin);
24
 
25
  $path = WTITAN_PLUGIN_DIR . '/admin/pages/setup/steps';
26
 
27
+ #Step 1 is default \WBCR\FactoryClearfy233\Pages\Step_Plugins
28
  $this->register_step($path . '/class-step-default.php', '\WBCR\Titan\Page\Step_Default');
29
 
30
+ #Step 2 \WBCR\FactoryClearfy233\Pages\Step_Plugins
31
  $this->register_step($path . '/class-step-plugins.php', '\WBCR\Titan\Page\Step_Plugins');
32
  #Step 3
33
  $this->register_step($path . '/class-step-security-audit.php', '\WBCR\Titan\Page\Step_Security_Audit');
53
  *
54
  * @return void
55
  * @since 1.0.0
56
+ * @see FactoryPages441_AdminPage
57
  *
58
  */
59
  public function assets($scripts, $styles)
admin/pages/setup/steps/class-step-congratulation.php CHANGED
@@ -8,7 +8,7 @@ namespace WBCR\Titan\Page;
8
  * @copyright (c) 23.07.2020, Webcraftic
9
  * @version 1.0
10
  */
11
- class Step_Congratulation extends \WBCR\FactoryClearfy230\Pages\Step_Custom {
12
 
13
  protected $prev_id = 'step5';
14
  protected $id = 'step6';
@@ -23,7 +23,7 @@ class Step_Congratulation extends \WBCR\FactoryClearfy230\Pages\Step_Custom {
23
  *
24
  * @return void
25
  * @since 1.0.0
26
- * @see FactoryPages438_AdminPage
27
  *
28
  */
29
  public function assets($scripts, $styles)
@@ -37,7 +37,7 @@ class Step_Congratulation extends \WBCR\FactoryClearfy230\Pages\Step_Custom {
37
  {
38
  $pricing_page_url = $this->plugin->get_support()->get_pricing_url(true, 'setup_wizard');
39
  ?>
40
- <div class="w-factory-clearfy-230-setup__inner-wrap">
41
  <h3><?php _e("Congratulations, the plugin configuration is complete!", "titan-security"); ?></h3>
42
  <script>
43
  jQuery(document).ready(function($) {
8
  * @copyright (c) 23.07.2020, Webcraftic
9
  * @version 1.0
10
  */
11
+ class Step_Congratulation extends \WBCR\FactoryClearfy233\Pages\Step_Custom {
12
 
13
  protected $prev_id = 'step5';
14
  protected $id = 'step6';
23
  *
24
  * @return void
25
  * @since 1.0.0
26
+ * @see FactoryPages441_AdminPage
27
  *
28
  */
29
  public function assets($scripts, $styles)
37
  {
38
  $pricing_page_url = $this->plugin->get_support()->get_pricing_url(true, 'setup_wizard');
39
  ?>
40
+ <div class="w-factory-clearfy-233-setup__inner-wrap">
41
  <h3><?php _e("Congratulations, the plugin configuration is complete!", "titan-security"); ?></h3>
42
  <script>
43
  jQuery(document).ready(function($) {
admin/pages/setup/steps/class-step-default.php CHANGED
@@ -8,7 +8,7 @@ namespace WBCR\Titan\Page;
8
  * @copyright (c) 23.07.2020, Webcraftic
9
  * @version 1.0
10
  */
11
- class Step_Default extends \WBCR\FactoryClearfy230\Pages\Step_Custom {
12
 
13
  protected $id = 'step0';
14
  protected $next_id = 'step1';
@@ -21,12 +21,12 @@ class Step_Default extends \WBCR\FactoryClearfy230\Pages\Step_Custom {
21
  public function html()
22
  {
23
  ?>
24
- <div class="w-factory-clearfy-230-setup__inner-wrap">
25
- <div class="w-factory-clearfy-230-setup-step__new_onboarding-wrapper">
26
- <p class="w-factory-clearfy-230-setup-step__new_onboarding-welcome">
27
  <?php _e('Welcome to', 'titan-security') ?>
28
  </p>
29
- <h1 class="w-factory-clearfy-230-logo">
30
  <img src="<?php echo WTITAN_PLUGIN_URL; ?>/admin/assets/img/logo9.png" alt="">
31
  </h1>
32
  <p><?php _e('Protect your site from external and internal threats in just 2 minutes.', 'titan-security') ?></p>
8
  * @copyright (c) 23.07.2020, Webcraftic
9
  * @version 1.0
10
  */
11
+ class Step_Default extends \WBCR\FactoryClearfy233\Pages\Step_Custom {
12
 
13
  protected $id = 'step0';
14
  protected $next_id = 'step1';
21
  public function html()
22
  {
23
  ?>
24
+ <div class="w-factory-clearfy-233-setup__inner-wrap">
25
+ <div class="w-factory-clearfy-233-setup-step__new_onboarding-wrapper">
26
+ <p class="w-factory-clearfy-233-setup-step__new_onboarding-welcome">
27
  <?php _e('Welcome to', 'titan-security') ?>
28
  </p>
29
+ <h1 class="w-factory-clearfy-233-logo">
30
  <img src="<?php echo WTITAN_PLUGIN_URL; ?>/admin/assets/img/logo9.png" alt="">
31
  </h1>
32
  <p><?php _e('Protect your site from external and internal threats in just 2 minutes.', 'titan-security') ?></p>
admin/pages/setup/steps/class-step-plugins.php CHANGED
@@ -8,7 +8,7 @@ namespace WBCR\Titan\Page;
8
  * @copyright (c) 23.07.2020, Webcraftic
9
  * @version 1.0
10
  */
11
- class Step_Plugins extends \WBCR\FactoryClearfy230\Pages\Step_Custom {
12
 
13
  protected $prev_id = 'step0';
14
  protected $id = 'step1';
@@ -23,7 +23,7 @@ class Step_Plugins extends \WBCR\FactoryClearfy230\Pages\Step_Custom {
23
  {
24
  $install_hide_login_page_btn = $this->plugin->get_install_component_button('wordpress', 'hide-login-page/hide-login-page.php');
25
  ?>
26
- <div class="w-factory-clearfy-230-setup__inner-wrap">
27
  <h3><?php _e('Installing plugins', 'titan-security') ?></h3>
28
  <p style="text-align: left;"><?php _e('We analyzed your site and decided that in order to get the maximum result in
29
  optimizing your site, you will need to install additional plugins.', 'titan-security') ?></p>
8
  * @copyright (c) 23.07.2020, Webcraftic
9
  * @version 1.0
10
  */
11
+ class Step_Plugins extends \WBCR\FactoryClearfy233\Pages\Step_Custom {
12
 
13
  protected $prev_id = 'step0';
14
  protected $id = 'step1';
23
  {
24
  $install_hide_login_page_btn = $this->plugin->get_install_component_button('wordpress', 'hide-login-page/hide-login-page.php');
25
  ?>
26
+ <div class="w-factory-clearfy-233-setup__inner-wrap">
27
  <h3><?php _e('Installing plugins', 'titan-security') ?></h3>
28
  <p style="text-align: left;"><?php _e('We analyzed your site and decided that in order to get the maximum result in
29
  optimizing your site, you will need to install additional plugins.', 'titan-security') ?></p>
admin/pages/setup/steps/class-step-security-audit.php CHANGED
@@ -8,7 +8,7 @@ namespace WBCR\Titan\Page;
8
  * @copyright (c) 23.07.2020, Webcraftic
9
  * @version 1.0
10
  */
11
- class Step_Security_Audit extends \WBCR\FactoryClearfy230\Pages\Step_Custom {
12
 
13
  protected $prev_id = 'step1';
14
  protected $id = 'step2';
@@ -78,7 +78,7 @@ class Step_Security_Audit extends \WBCR\FactoryClearfy230\Pages\Step_Custom {
78
  });
79
  });
80
  </script>
81
- <div class="w-factory-clearfy-230-setup__inner-wrap">
82
  <h3><?php _e("Security Audit", "titan-security"); ?> (<?php _e("Issues", "titan-security"); ?>)</h3>
83
  <p style="text-align: left;">
84
  <?php _e("We will audit your site for potential threats, vulnerabilities and security issues. Please see the list
8
  * @copyright (c) 23.07.2020, Webcraftic
9
  * @version 1.0
10
  */
11
+ class Step_Security_Audit extends \WBCR\FactoryClearfy233\Pages\Step_Custom {
12
 
13
  protected $prev_id = 'step1';
14
  protected $id = 'step2';
78
  });
79
  });
80
  </script>
81
+ <div class="w-factory-clearfy-233-setup__inner-wrap">
82
  <h3><?php _e("Security Audit", "titan-security"); ?> (<?php _e("Issues", "titan-security"); ?>)</h3>
83
  <p style="text-align: left;">
84
  <?php _e("We will audit your site for potential threats, vulnerabilities and security issues. Please see the list
admin/pages/setup/steps/class-step-setting-antispam.php CHANGED
@@ -8,7 +8,7 @@ namespace WBCR\Titan\Page;
8
  * @copyright (c) 23.07.2020, Webcraftic
9
  * @version 1.0
10
  */
11
- class Step_Setting_Antispam extends \WBCR\FactoryClearfy230\Pages\Step_Form {
12
 
13
  protected $prev_id = 'step4';
14
  protected $id = 'step5';
8
  * @copyright (c) 23.07.2020, Webcraftic
9
  * @version 1.0
10
  */
11
+ class Step_Setting_Antispam extends \WBCR\FactoryClearfy233\Pages\Step_Form {
12
 
13
  protected $prev_id = 'step4';
14
  protected $id = 'step5';
admin/pages/setup/steps/class-step-setting-scan-malware.php CHANGED
@@ -9,7 +9,7 @@ namespace WBCR\Titan\Page;
9
  * @copyright (c) 23.07.2020, Webcraftic
10
  * @version 1.0
11
  */
12
- class Step_Scan_Malware extends \WBCR\FactoryClearfy230\Pages\Step_Custom {
13
 
14
  protected $prev_id = 'step2';
15
  protected $id = 'step3';
@@ -60,7 +60,7 @@ class Step_Scan_Malware extends \WBCR\FactoryClearfy230\Pages\Step_Custom {
60
  }
61
 
62
  ?>
63
- <div class="w-factory-clearfy-230-setup__inner-wrap">
64
  <h3><?php _e("Scan Malware", 'titan-security'); ?></h3>
65
  <p style="text-align: left;">
66
  <?php _e("Titan Scanner to check your website for viruses and malicious code. After scan, you will receive a detailed report on the crawl of your site.", 'titan-security'); ?>
9
  * @copyright (c) 23.07.2020, Webcraftic
10
  * @version 1.0
11
  */
12
+ class Step_Scan_Malware extends \WBCR\FactoryClearfy233\Pages\Step_Custom {
13
 
14
  protected $prev_id = 'step2';
15
  protected $id = 'step3';
60
  }
61
 
62
  ?>
63
+ <div class="w-factory-clearfy-233-setup__inner-wrap">
64
  <h3><?php _e("Scan Malware", 'titan-security'); ?></h3>
65
  <p style="text-align: left;">
66
  <?php _e("Titan Scanner to check your website for viruses and malicious code. After scan, you will receive a detailed report on the crawl of your site.", 'titan-security'); ?>
admin/pages/setup/steps/class-step-setting-tweaks.php CHANGED
@@ -8,7 +8,7 @@ namespace WBCR\Titan\Page;
8
  * @copyright (c) 23.07.2020, Webcraftic
9
  * @version 1.0
10
  */
11
- class Step_Setting_Tweaks extends \WBCR\FactoryClearfy230\Pages\Step_Form {
12
 
13
  protected $prev_id = 'step3';
14
  protected $id = 'step4';
8
  * @copyright (c) 23.07.2020, Webcraftic
9
  * @version 1.0
10
  */
11
+ class Step_Setting_Tweaks extends \WBCR\FactoryClearfy233\Pages\Step_Form {
12
 
13
  protected $prev_id = 'step3';
14
  protected $id = 'step4';
anti-spam.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Titan Anti-spam & Security
4
  Plugin URI: http://wordpress.org/plugins/anti-spam/
5
  Description: Titan Security - Anti-spam, Anti-virus, Firewall and Malware Scan
6
- Version: 7.2.1
7
  Author: CreativeMotion
8
  Text Domain: titan-security
9
  Author URI: https://cm-wp.com/
@@ -62,6 +62,20 @@ $wtitan_plugin_info = [
62
  ]
63
  ],
64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  // PLUGIN PREMIUM SETTINGS
66
  'has_premium' => true,
67
  'license_settings' => [
@@ -78,7 +92,7 @@ $wtitan_plugin_info = [
78
  ]
79
  ]
80
  ],
81
-
82
  // PLUGIN SUBSCRIBE FORM
83
  'subscribe_widget' => true,
84
  'subscribe_settings' => ['group_id' => '105407158'],
@@ -93,21 +107,21 @@ $wtitan_plugin_info = [
93
 
94
  // FRAMEWORK MODULES
95
  'load_factory_modules' => [
96
- ['libs/factory/bootstrap', 'factory_bootstrap_439', 'admin'],
97
- ['libs/factory/forms', 'factory_forms_436', 'admin'],
98
- ['libs/factory/pages', 'factory_pages_438', 'admin'],
99
- ['libs/factory/clearfy', 'factory_clearfy_230', 'all'],
100
- ['libs/factory/freemius', 'factory_freemius_126', 'all'],
101
- ['libs/factory/feedback', 'factory_feedback_108', 'admin']
102
  ],
103
  'load_plugin_components' => array()
104
 
105
  ];
106
 
107
- $wtitan_compatibility = new Wbcr_Factory439_Requirements(__FILE__, array_merge($wtitan_plugin_info, [
108
  'plugin_already_activate' => defined('WTITAN_PLUGIN_ACTIVE'),
109
- 'required_php_version' => '5.6',
110
- 'required_wp_version' => '4.9.0',
111
  'required_clearfy_check_component' => false
112
  ]));
113
 
3
  Plugin Name: Titan Anti-spam & Security
4
  Plugin URI: http://wordpress.org/plugins/anti-spam/
5
  Description: Titan Security - Anti-spam, Anti-virus, Firewall and Malware Scan
6
+ Version: 7.2.5
7
  Author: CreativeMotion
8
  Text Domain: titan-security
9
  Author URI: https://cm-wp.com/
62
  ]
63
  ],
64
 
65
+ 'has_updates' => true,
66
+ 'updates_settings' => [
67
+ 'repository' => 'github',
68
+ 'alternate_updates_mode' => true,
69
+ 'github_username' => 'Creative-Motion-Development', // обязательно, имя пользователя репозитория в Github
70
+ 'github_authorize_token' => '', // необязательно, только если репозиторий приватный
71
+ 'github_repository' => 'wp-plugin-titan-security', // необязательно, если не заполнено берется из slug
72
+ 'slug' => 'anti-spam', // обязательно, slug плагина
73
+ 'maybe_rollback' => false,
74
+ 'rollback_settings' => [
75
+ 'prev_stable_version' => '0.0.0'
76
+ ]
77
+ ],
78
+
79
  // PLUGIN PREMIUM SETTINGS
80
  'has_premium' => true,
81
  'license_settings' => [
92
  ]
93
  ]
94
  ],
95
+
96
  // PLUGIN SUBSCRIBE FORM
97
  'subscribe_widget' => true,
98
  'subscribe_settings' => ['group_id' => '105407158'],
107
 
108
  // FRAMEWORK MODULES
109
  'load_factory_modules' => [
110
+ ['libs/factory/bootstrap', 'factory_bootstrap_442', 'admin'],
111
+ ['libs/factory/forms', 'factory_forms_439', 'admin'],
112
+ ['libs/factory/pages', 'factory_pages_441', 'admin'],
113
+ ['libs/factory/clearfy', 'factory_clearfy_233', 'all'],
114
+ ['libs/factory/freemius', 'factory_freemius_130', 'all'],
115
+ ['libs/factory/feedback', 'factory_feedback_109', 'admin']
116
  ],
117
  'load_plugin_components' => array()
118
 
119
  ];
120
 
121
+ $wtitan_compatibility = new Wbcr_Factory442_Requirements(__FILE__, array_merge($wtitan_plugin_info, [
122
  'plugin_already_activate' => defined('WTITAN_PLUGIN_ACTIVE'),
123
+ 'required_php_version' => '7.0',
124
+ 'required_wp_version' => '5.2.0',
125
  'required_clearfy_check_component' => false
126
  ]));
127
 
includes/antispam/assets/js/settings.js CHANGED
@@ -12,8 +12,8 @@
12
 
13
  $.wantispam = {};
14
 
15
- if ($.wbcr_factory_clearfy_230) {
16
- $.wantispam = $.wbcr_factory_clearfy_230;
17
  }
18
 
19
  $('.factory-checkbox--disabled.wantispam-checkbox-premium-label').click(function (e) {
12
 
13
  $.wantispam = {};
14
 
15
+ if ($.wbcr_factory_clearfy_233) {
16
+ $.wantispam = $.wbcr_factory_clearfy_233;
17
  }
18
 
19
  $('.factory-checkbox--disabled.wantispam-checkbox-premium-label').click(function (e) {
includes/audit/assets/js/audit_ajax.js CHANGED
@@ -23,9 +23,9 @@ function audit_ajax(action_before = true) {
23
  jQuery('#wt-checker-check').removeAttr('disabled');
24
  } else loader.attr('data-status', loader.attr('data-status') + 1);
25
 
26
- var noticeId = jQuery.wbcr_factory_clearfy_230.app.showNotice('Security audit success', 'success');
27
  setTimeout(function () {
28
- jQuery.wbcr_factory_clearfy_230.app.hideNotice(noticeId);
29
  }, 5000);
30
 
31
  if (action_before) {
23
  jQuery('#wt-checker-check').removeAttr('disabled');
24
  } else loader.attr('data-status', loader.attr('data-status') + 1);
25
 
26
+ var noticeId = jQuery.wbcr_factory_clearfy_233.app.showNotice('Security audit success', 'success');
27
  setTimeout(function () {
28
+ jQuery.wbcr_factory_clearfy_233.app.hideNotice(noticeId);
29
  }, 5000);
30
 
31
  if (action_before) {
includes/class-titan-security-plugin.php CHANGED
@@ -13,7 +13,7 @@ if( !defined('ABSPATH') ) {
13
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
14
  * @copyright (c) 20.10.2019, Webcraftic
15
  */
16
- class Plugin extends \Wbcr_Factory439_Plugin {
17
 
18
  /**
19
  * Number of comments that will be sent for verification
@@ -24,7 +24,7 @@ class Plugin extends \Wbcr_Factory439_Plugin {
24
 
25
  /**
26
  * @see self::app()
27
- * @var \Wbcr_Factory439_Plugin
28
  */
29
  private static $app;
30
 
@@ -83,7 +83,7 @@ class Plugin extends \Wbcr_Factory439_Plugin {
83
  * Используется для получения настроек плагина, информации о плагине, для доступа к вспомогательным
84
  * классам.
85
  *
86
- * @return \Wbcr_Factory439_Plugin|\WBCR\Titan\Plugin
87
  * @since 6.0
88
  */
89
  public static function app()
13
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
14
  * @copyright (c) 20.10.2019, Webcraftic
15
  */
16
+ class Plugin extends \Wbcr_Factory442_Plugin {
17
 
18
  /**
19
  * Number of comments that will be sent for verification
24
 
25
  /**
26
  * @see self::app()
27
+ * @var \Wbcr_Factory442_Plugin
28
  */
29
  private static $app;
30
 
83
  * Используется для получения настроек плагина, информации о плагине, для доступа к вспомогательным
84
  * классам.
85
  *
86
+ * @return \Wbcr_Factory442_Plugin|\WBCR\Titan\Plugin
87
  * @since 6.0
88
  */
89
  public static function app()
includes/class-views.php CHANGED
@@ -63,14 +63,14 @@ class Views {
63
  *
64
  * @param string $template The template name.
65
  * @param mixed $data Some data to pass to the template.
66
- * @param \Wbcr_FactoryClearfy230_PageBase $page
67
  *
68
  * @return bool|string The page contents. False if the template doesn't exist.
69
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
70
  * @since 1.3.0
71
  *
72
  */
73
- public function get_template( $template, $data = [], \Wbcr_FactoryClearfy230_PageBase $page = null ) {
74
  $template = str_replace( '_', '-', $template );
75
 
76
  if ( false !== strpos( $template, '/' ) ) {
@@ -96,7 +96,7 @@ class Views {
96
  *
97
  * @param string $template The template name.
98
  * @param mixed $data Some data to pass to the template.
99
- * @param \Wbcr_FactoryClearfy230_PageBase $page
100
  *
101
  * @since 1.3.0
102
  *
@@ -104,7 +104,7 @@ class Views {
104
  * @access public
105
  *
106
  */
107
- public function print_template( $template, $data = [], \Wbcr_FactoryClearfy230_PageBase $page = null ) {
108
  echo $this->get_template( $template, $data, $page );
109
  }
110
  }
63
  *
64
  * @param string $template The template name.
65
  * @param mixed $data Some data to pass to the template.
66
+ * @param \Wbcr_FactoryClearfy233_PageBase $page
67
  *
68
  * @return bool|string The page contents. False if the template doesn't exist.
69
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
70
  * @since 1.3.0
71
  *
72
  */
73
+ public function get_template( $template, $data = [], \Wbcr_FactoryClearfy233_PageBase $page = null ) {
74
  $template = str_replace( '_', '-', $template );
75
 
76
  if ( false !== strpos( $template, '/' ) ) {
96
  *
97
  * @param string $template The template name.
98
  * @param mixed $data Some data to pass to the template.
99
+ * @param \Wbcr_FactoryClearfy233_PageBase $page
100
  *
101
  * @since 1.3.0
102
  *
104
  * @access public
105
  *
106
  */
107
+ public function print_template( $template, $data = [], \Wbcr_FactoryClearfy233_PageBase $page = null ) {
108
  echo $this->get_template( $template, $data, $page );
109
  }
110
  }
includes/class.module-base.php CHANGED
@@ -21,7 +21,7 @@ abstract class Module_Base {
21
  * Plugin object
22
  *
23
  * @since 7.0
24
- * @var \Wbcr_Factory439_Plugin
25
  */
26
  public $plugin;
27
 
21
  * Plugin object
22
  *
23
  * @since 7.0
24
+ * @var \Wbcr_Factory442_Plugin
25
  */
26
  public $plugin;
27
 
includes/functions.php CHANGED
@@ -11,7 +11,7 @@ use WBCR\Titan\Client\Client;
11
  use WBCR\Titan\Client\Entity\CmsCheckItem;
12
  use WBCR\Titan\Logger\Writter;
13
  use WBCR\Titan\MalwareScanner\HashListPool;
14
- use WBCR\Titan\MalwareScanner\Match;
15
  use WBCR\Titan\MalwareScanner\Scanner;
16
  use WBCR\Titan\MalwareScanner\Signature;
17
  use WBCR\Titan\Plugin;
@@ -53,7 +53,7 @@ add_action('titan_malware_weekly_digest', 'titan_malware_weekly_digest');
53
  function titan_malware_weekly_digest()
54
  {
55
  /**
56
- * @var Match[] $matched
57
  */
58
  $matched = get_option(Plugin::app()->getPrefix() . 'matched_weekly', []);
59
 
@@ -111,7 +111,7 @@ function titan_scheduled_scanner()
111
  $matched = Plugin::app()->getOption('scanner_malware_matched', []);
112
 
113
  foreach($scanner->scan($files_count) as $match) {
114
- /** @var Match $match */
115
  if( $match->getSignature()->getSever() === Signature::SEVER_CRITICAL ) {
116
  array_unshift($matched, $match);
117
  } else {
@@ -267,7 +267,7 @@ function titan_remove_scheduler_scanner()
267
  Plugin::app()->updateOption('scanner_status', 'stopped');
268
 
269
  try {
270
- /** @var Match[] $matched */
271
  $matched = get_option(Plugin::app()->getPrefix() . 'scanner_malware_matched', []);
272
  $weeklyMatched = get_option(Plugin::app()->getPrefix() . 'matched_weekly', []);
273
 
@@ -349,8 +349,8 @@ function collect_wp_hash_sum($path = ABSPATH)
349
  * This is necessary to remind the user to update the configuration of the plugin components,
350
  * Otherwise, the newly activated components will not be involved in the work of the plugin.
351
  *
352
- * @param Wbcr_Factory439_Plugin $plugin
353
- * @param Wbcr_FactoryPages438_ImpressiveThemplate $obj
354
  *
355
  * @return bool
356
  */
@@ -449,7 +449,7 @@ function titan_set_scanner_speed_deactive()
449
  /**
450
  * @return int|float [Memory limit in MB]
451
  */
452
- function get_memory_limit()
453
  {
454
  $mem = ini_get('memory_limit');
455
  $last = $mem[strlen($mem) - 1];
@@ -477,7 +477,7 @@ function get_memory_limit()
477
 
478
  function get_recommended_scanner_speed()
479
  {
480
- $mem = get_memory_limit();
481
  if( $mem > 100 ) {
482
  $recommendation = Scanner::SPEED_FAST;
483
  } elseif( $mem > 60 ) {
@@ -552,3 +552,26 @@ function titan_init_check_schedule()
552
  Plugin::app()->updatePopulateOption('scanner_schedule_last_time', date_i18n($format_date));
553
  }
554
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  use WBCR\Titan\Client\Entity\CmsCheckItem;
12
  use WBCR\Titan\Logger\Writter;
13
  use WBCR\Titan\MalwareScanner\HashListPool;
14
+ use WBCR\Titan\MalwareScanner\Result;
15
  use WBCR\Titan\MalwareScanner\Scanner;
16
  use WBCR\Titan\MalwareScanner\Signature;
17
  use WBCR\Titan\Plugin;
53
  function titan_malware_weekly_digest()
54
  {
55
  /**
56
+ * @var Result[] $matched
57
  */
58
  $matched = get_option(Plugin::app()->getPrefix() . 'matched_weekly', []);
59
 
111
  $matched = Plugin::app()->getOption('scanner_malware_matched', []);
112
 
113
  foreach($scanner->scan($files_count) as $match) {
114
+ /** @var Result $match */
115
  if( $match->getSignature()->getSever() === Signature::SEVER_CRITICAL ) {
116
  array_unshift($matched, $match);
117
  } else {
267
  Plugin::app()->updateOption('scanner_status', 'stopped');
268
 
269
  try {
270
+ /** @var Result[] $matched */
271
  $matched = get_option(Plugin::app()->getPrefix() . 'scanner_malware_matched', []);
272
  $weeklyMatched = get_option(Plugin::app()->getPrefix() . 'matched_weekly', []);
273
 
349
  * This is necessary to remind the user to update the configuration of the plugin components,
350
  * Otherwise, the newly activated components will not be involved in the work of the plugin.
351
  *
352
+ * @param Wbcr_Factory442_Plugin $plugin
353
+ * @param Wbcr_FactoryPages441_ImpressiveThemplate $obj
354
  *
355
  * @return bool
356
  */
449
  /**
450
  * @return int|float [Memory limit in MB]
451
  */
452
+ function titan_get_memory_limit()
453
  {
454
  $mem = ini_get('memory_limit');
455
  $last = $mem[strlen($mem) - 1];
477
 
478
  function get_recommended_scanner_speed()
479
  {
480
+ $mem = titan_get_memory_limit();
481
  if( $mem > 100 ) {
482
  $recommendation = Scanner::SPEED_FAST;
483
  } elseif( $mem > 60 ) {
552
  Plugin::app()->updatePopulateOption('scanner_schedule_last_time', date_i18n($format_date));
553
  }
554
  }
555
+
556
+ /**
557
+ * Return premium widget markup
558
+ *
559
+ * @return string
560
+ */
561
+ function wtitan_get_sidebar_adverts_widget()
562
+ {
563
+ ob_start();
564
+ ?>
565
+ <div id="wtitan-adverts-widget" class="wbcr-factory-sidebar-widget">
566
+ <a href="https://cm-wp.com/wp-support/" target="_blank" rel="noopener noreferrer">
567
+ <img src="https://api.cm-wp.com/wp-content/uploads/2021/01/vertical_maintance.jpg" width="100%" alt="">
568
+ </a>
569
+ </div>
570
+ <?php
571
+
572
+ $output = ob_get_contents();
573
+
574
+ ob_end_clean();
575
+
576
+ return $output;
577
+ }
includes/helpers.php CHANGED
@@ -103,7 +103,7 @@ class Helper {
103
  */
104
  public static function maybeGetPostJson($name)
105
  {
106
- return \WbcrFactoryClearfy230_Helpers::maybeGetPostJson($name);
107
  }
108
 
109
  /**
@@ -115,7 +115,7 @@ class Helper {
115
  */
116
  public static function getEscapeJson(array $data)
117
  {
118
- return \WbcrFactoryClearfy230_Helpers::getEscapeJson($data);
119
  }
120
 
121
  /**
@@ -129,7 +129,7 @@ class Helper {
129
  */
130
  public static function recursiveSanitizeArray($array, $function)
131
  {
132
- return \WbcrFactoryClearfy230_Helpers::recursiveSanitizeArray($array, $function);
133
  }
134
 
135
  /*
@@ -139,7 +139,7 @@ class Helper {
139
  */
140
  public static function flushPageCache()
141
  {
142
- \WbcrFactoryClearfy230_Helpers::flushPageCache();
143
  }
144
 
145
  }
103
  */
104
  public static function maybeGetPostJson($name)
105
  {
106
+ return \WbcrFactoryClearfy233_Helpers::maybeGetPostJson($name);
107
  }
108
 
109
  /**
115
  */
116
  public static function getEscapeJson(array $data)
117
  {
118
+ return \WbcrFactoryClearfy233_Helpers::getEscapeJson($data);
119
  }
120