Anti-spam - Version 7.2.1

Version Description

  • Added: Subscribe form
  • Improved: Compatibility with Wordpress 5.6
  • Fixed: Minor bugs
Download this release

Release Info

Developer alexkovalevv
Plugin Icon 128x128 Anti-spam
Version 7.2.1
Comparing to
See all releases

Code changes from version 7.2.0 to 7.2.1

Files changed (169) 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 +22 -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 +38 -3
  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 +3 -3
  14. admin/pages/class-pages-antispam.php +5 -5
  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 +3 -3
  21. admin/pages/class-pages-plugin-settings.php +4 -4
  22. admin/pages/class-pages-scanner.php +4 -4
  23. admin/pages/class-pages-sitechecker.php +3 -3
  24. admin/pages/class-pages-tweaks.php +4 -4
  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 +12 -8
  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 +2 -2
  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/sitechecker/assets/js/app.js +3 -3
  50. includes/sitechecker/assets/js/sitechecker.js +3 -3
  51. includes/vulnerabilities/assets/js/vulnerability_ajax.js +2 -2
  52. libs/antispam-premium/admin/assets/js/check-existing-comments.js +2 -2
  53. libs/antispam-premium/admin/boot.php +2 -2
  54. libs/antispam-premium/admin/pages/class-pages-settings.php +2 -2
  55. libs/factory/bootstrap/assets/css-min/bootstrap.accordion.min.css +2 -2
  56. libs/factory/bootstrap/assets/css-min/bootstrap.blue.min.css +2 -2
  57. libs/factory/bootstrap/assets/css-min/bootstrap.coffee.min.css +2 -2
  58. libs/factory/bootstrap/assets/css-min/bootstrap.core.min.css +3 -3
  59. libs/factory/bootstrap/assets/css-min/bootstrap.datepicker.min.css +1 -1
  60. libs/factory/bootstrap/assets/css-min/bootstrap.datetimepicker.min.css +2 -2
  61. libs/factory/bootstrap/assets/css-min/bootstrap.ectoplasm.min.css +2 -2
  62. libs/factory/bootstrap/assets/css-min/bootstrap.form-group.min.css +2 -2
  63. libs/factory/bootstrap/assets/css-min/bootstrap.form-metabox.min.css +2 -2
  64. libs/factory/bootstrap/assets/css-min/bootstrap.light.min.css +2 -2
  65. libs/factory/bootstrap/assets/css-min/bootstrap.midnight.min.css +2 -2
  66. libs/factory/bootstrap/assets/css-min/bootstrap.ocean.min.css +2 -2
  67. libs/factory/bootstrap/assets/css-min/bootstrap.separator.min.css +2 -2
  68. libs/factory/bootstrap/assets/css-min/bootstrap.sunrise.min.css +2 -2
  69. libs/factory/bootstrap/assets/css-min/bootstrap.tab.min.css +2 -2
  70. libs/factory/bootstrap/assets/css-min/bootstrap.wp-editor.min.css +2 -2
  71. libs/factory/bootstrap/assets/css-min/control.checkbox.min.css +2 -2
  72. libs/factory/bootstrap/assets/css-min/control.color-and-opacity.min.css +2 -2
  73. libs/factory/bootstrap/assets/css-min/control.color.min.css +2 -2
  74. libs/factory/bootstrap/assets/css-min/control.dropdown-and-colors.min.css +2 -2
  75. libs/factory/bootstrap/assets/css-min/control.dropdown.min.css +2 -2
  76. libs/factory/bootstrap/assets/css-min/control.fonts.min.css +2 -2
  77. libs/factory/bootstrap/assets/css-min/control.list.min.css +2 -2
  78. libs/factory/bootstrap/assets/css-min/control.multiple-textbox.min.css +2 -2
  79. libs/factory/bootstrap/assets/css-min/control.pattern.min.css +2 -2
  80. libs/factory/bootstrap/assets/css-min/control.radio-colors.min.css +2 -2
  81. libs/factory/bootstrap/assets/css-min/holder.conrol-group.min.css +1 -1
  82. libs/factory/bootstrap/assets/css-min/holder.more-link.min.css +2 -2
  83. libs/factory/bootstrap/assets/css-min/plugin.chosen.min.css +1 -1
  84. libs/factory/bootstrap/assets/css-min/plugin.gradient-picker.min.css +2 -2
  85. libs/factory/bootstrap/assets/css-min/plugin.nouislider.min.css +1 -1
  86. libs/factory/bootstrap/assets/css-min/plugin.paddings-editor.min.css +2 -2
  87. libs/factory/bootstrap/assets/css/bootstrap.accordion.css +6 -6
  88. libs/factory/bootstrap/assets/css/bootstrap.blue.css +13 -13
  89. libs/factory/bootstrap/assets/css/bootstrap.coffee.css +13 -13
  90. libs/factory/bootstrap/assets/css/bootstrap.core.css +1773 -1773
  91. libs/factory/bootstrap/assets/css/bootstrap.datetimepicker.css +71 -71
  92. libs/factory/bootstrap/assets/css/bootstrap.ectoplasm.css +13 -13
  93. libs/factory/bootstrap/assets/css/bootstrap.form-group.css +9 -9
  94. libs/factory/bootstrap/assets/css/bootstrap.form-metabox.css +8 -8
  95. libs/factory/bootstrap/assets/css/bootstrap.light.css +13 -13
  96. libs/factory/bootstrap/assets/css/bootstrap.midnight.css +13 -13
  97. libs/factory/bootstrap/assets/css/bootstrap.ocean.css +13 -13
  98. libs/factory/bootstrap/assets/css/bootstrap.separator.css +1 -1
  99. libs/factory/bootstrap/assets/css/bootstrap.sunrise.css +13 -13
  100. libs/factory/bootstrap/assets/css/bootstrap.tab.css +20 -20
  101. libs/factory/bootstrap/assets/css/bootstrap.wp-editor.css +10 -10
  102. libs/factory/bootstrap/assets/css/control.checkbox.css +23 -13
  103. libs/factory/bootstrap/assets/css/control.color-and-opacity.css +6 -6
  104. libs/factory/bootstrap/assets/css/control.color.css +7 -7
  105. libs/factory/bootstrap/assets/css/control.dropdown-and-colors.css +4 -4
  106. libs/factory/bootstrap/assets/css/control.dropdown.css +14 -14
  107. libs/factory/bootstrap/assets/css/control.fonts.css +6 -6
  108. libs/factory/bootstrap/assets/css/control.list.css +13 -13
  109. libs/factory/bootstrap/assets/css/control.multiple-textbox.css +7 -7
  110. libs/factory/bootstrap/assets/css/control.pattern.css +31 -31
  111. libs/factory/bootstrap/assets/css/control.radio-colors.css +6 -6
  112. libs/factory/bootstrap/assets/css/holder.more-link.css +5 -5
  113. libs/factory/bootstrap/assets/css/plugin.gradient-picker.css +23 -23
  114. libs/factory/bootstrap/assets/css/plugin.paddings-editor.css +19 -19
  115. libs/factory/bootstrap/assets/js-min/bootstrap.accordion.min.js +2 -2
  116. libs/factory/bootstrap/assets/js-min/bootstrap.affix.min.js +1 -1
  117. libs/factory/bootstrap/assets/js-min/bootstrap.alert.min.js +1 -1
  118. libs/factory/bootstrap/assets/js-min/bootstrap.button.min.js +1 -1
  119. libs/factory/bootstrap/assets/js-min/bootstrap.carousel.min.js +1 -1
  120. libs/factory/bootstrap/assets/js-min/bootstrap.collapse.min.js +2 -2
  121. libs/factory/bootstrap/assets/js-min/bootstrap.datepicker.min.js +1 -1
  122. libs/factory/bootstrap/assets/js-min/bootstrap.datetimepicker.min.js +2 -2
  123. libs/factory/bootstrap/assets/js-min/bootstrap.dropdown.min.js +2 -2
  124. libs/factory/bootstrap/assets/js-min/bootstrap.modal.min.js +2 -2
  125. libs/factory/bootstrap/assets/js-min/bootstrap.popover.min.js +1 -1
  126. libs/factory/bootstrap/assets/js-min/bootstrap.scrollspy.min.js +1 -1
  127. libs/factory/bootstrap/assets/js-min/bootstrap.tab.min.js +1 -1
  128. libs/factory/bootstrap/assets/js-min/bootstrap.tooltip.min.js +1 -1
  129. libs/factory/bootstrap/assets/js-min/bootstrap.transition.min.js +1 -1
  130. libs/factory/bootstrap/assets/js-min/control.checkbox.min.js +2 -2
  131. libs/factory/bootstrap/assets/js-min/control.color-and-opacity.min.js +2 -2
  132. libs/factory/bootstrap/assets/js-min/control.color.min.js +2 -2
  133. libs/factory/bootstrap/assets/js-min/control.dropdown-and-colors.min.js +2 -2
  134. libs/factory/bootstrap/assets/js-min/control.dropdown.min.js +2 -2
  135. libs/factory/bootstrap/assets/js-min/control.fonts.min.js +2 -2
  136. libs/factory/bootstrap/assets/js-min/control.gradient.min.js +2 -2
  137. libs/factory/bootstrap/assets/js-min/control.integer.min.js +2 -2
  138. libs/factory/bootstrap/assets/js-min/control.list.min.js +2 -2
  139. libs/factory/bootstrap/assets/js-min/control.multiple-textbox.min.js +2 -2
  140. libs/factory/bootstrap/assets/js-min/control.pattern.min.js +2 -2
  141. libs/factory/bootstrap/assets/js-min/global.color-functions.min.js +1 -1
  142. libs/factory/bootstrap/assets/js-min/holder.conrol-group.min.js +1 -1
  143. libs/factory/bootstrap/assets/js-min/holder.more-link.min.js +2 -2
  144. libs/factory/bootstrap/assets/js-min/plugin.chosen.min.js +1 -1
  145. libs/factory/bootstrap/assets/js-min/plugin.color.min.js +1 -1
  146. libs/factory/bootstrap/assets/js-min/plugin.ddslick.min.js +1 -1
  147. libs/factory/bootstrap/assets/js-min/plugin.gradient-picker.min.js +2 -2
  148. libs/factory/bootstrap/assets/js-min/plugin.iris.min.js +2 -2
  149. libs/factory/bootstrap/assets/js-min/plugin.moment-with-locales.min.js +1 -1
  150. libs/factory/bootstrap/assets/js-min/plugin.nouislider.min.js +1 -1
  151. libs/factory/bootstrap/assets/js-min/plugin.paddings-editor.min.js +2 -2
  152. libs/factory/bootstrap/assets/js/bootstrap.accordion.js +2 -2
  153. libs/factory/bootstrap/assets/js/bootstrap.collapse.js +2 -2
  154. libs/factory/bootstrap/assets/js/bootstrap.datetimepicker.js +25 -25
  155. libs/factory/bootstrap/assets/js/bootstrap.dropdown.js +2 -2
  156. libs/factory/bootstrap/assets/js/bootstrap.modal.js +7 -7
  157. libs/factory/bootstrap/assets/js/control.checkbox.js +3 -3
  158. libs/factory/bootstrap/assets/js/control.color-and-opacity.js +1 -1
  159. libs/factory/bootstrap/assets/js/control.color.js +8 -8
  160. libs/factory/bootstrap/assets/js/control.dropdown-and-colors.js +3 -3
  161. libs/factory/bootstrap/assets/js/control.dropdown.js +3 -3
  162. libs/factory/bootstrap/assets/js/control.fonts.js +3 -3
  163. libs/factory/bootstrap/assets/js/control.gradient.js +3 -3
  164. libs/factory/bootstrap/assets/js/control.integer.js +3 -3
  165. libs/factory/bootstrap/assets/js/control.list.js +3 -3
  166. libs/factory/bootstrap/assets/js/control.multiple-textbox.js +2 -2
  167. libs/factory/bootstrap/assets/js/control.pattern.js +4 -4
  168. libs/factory/bootstrap/assets/js/holder.more-link.js +2 -2
  169. libs/factory/bootstrap/assets/js/plugin.gradient-picker.js +0 -1
admin/assets/css/dashboard-dashboard.css CHANGED
@@ -106,13 +106,13 @@
106
  border-radius: 5px !important;
107
  }
108
 
109
- .factory-bootstrap-436 .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-436 .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-436 .nav-tabs > li.active > a, .factory-bootstrap-436 .nav-tabs > li.active > a:focus, .factory-bootstrap-436 .nav-tabs > li.active > a:hover {
126
  background-color: #efefef !important;
127
  }
128
 
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
  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
 
admin/assets/css/setup/page-setup.css CHANGED
@@ -1,7 +1,7 @@
1
- .w-factory-clearfy-227-setup-steps li.active {
2
  border-color: #5d05b7 !important;
3
  }
4
- .w-factory-clearfy-227-setup-steps li.active::before {
5
  border-color: #5d05b7 !important;
6
  }
7
  .wtitan-status-circular {
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 {
admin/assets/css/titan-security.css CHANGED
@@ -2,7 +2,11 @@ h2.nav-tab-wrapper {
2
  margin-left: 10px !important;
3
  }
4
 
5
- /*#WBCR .wbcr-factory-pages-435-impressive-page-template .alert
 
 
 
 
6
  {
7
  padding: 10px !important;
8
  /*position: absolute !important;
@@ -10,39 +14,39 @@ h2.nav-tab-wrapper {
10
 
11
  opacity: 0.8;
12
  }*/
13
- #WBCR .wbcr-factory-pages-435-impressive-page-template .wbcr-factory-page-inner-wrap .nav-tab {
14
 
15
  /*opacity: 0.8;*/
16
  }
17
 
18
- #WBCR .wbcr-factory-pages-435-impressive-page-template .wbcr-factory-page-inner-wrap .nav-tab {
19
  border-radius: 5px 5px 0 0;
20
  }
21
 
22
- #WBCR .wbcr-factory-pages-435-impressive-page-template .wbcr-factory-page-header {
23
  background-color: #5d05b7 !important;
24
  }
25
 
26
- #WBCR .wbcr-factory-pages-435-impressive-page-template .wbcr-factory-left-navigation-bar ul .wbcr-factory-nav-tab a {
27
  border-left: 5px solid #efefef !important;
28
  }
29
 
30
- #WBCR .wbcr-factory-pages-435-impressive-page-template .wbcr-factory-left-navigation-bar ul .wbcr-factory-nav-tab.wbcr-factory-active-tab {
31
  border: 0 !important;
32
  }
33
 
34
- #WBCR .wbcr-factory-pages-435-impressive-page-template .wbcr-factory-left-navigation-bar ul .wbcr-factory-nav-tab.wbcr-factory-active-tab a,
35
- #WBCR .wbcr-factory-pages-435-impressive-page-template .wbcr-factory-left-navigation-bar ul .wbcr-factory-nav-tab a:hover {
36
  color: #5d05b7 !important;
37
  border-left: 5px solid #5d05b7 !important;
38
  }
39
 
40
- #WBCR .wbcr-factory-pages-435-impressive-page-template .wbcr-factory-left-navigation-bar ul .wbcr-factory-nav-tab.wbcr-factory-active-tab a .dashicons,
41
- #WBCR .wbcr-factory-pages-435-impressive-page-template .wbcr-factory-left-navigation-bar ul .wbcr-factory-nav-tab a:hover .dashicons {
42
  color: #5d05b7 !important;
43
  }
44
 
45
- #WBCR .wbcr-factory-pages-435-impressive-page-template .wbcr-factory-page-header .wbcr-factory-button.wbcr-factory-type-save {
46
  background-color: #5d05b7 !important;
47
  color: #ffffff !important;
48
  display: block;
@@ -53,36 +57,36 @@ h2.nav-tab-wrapper {
53
  border: 2px solid #ffffff;
54
  }
55
 
56
- #WBCR .wbcr-factory-pages-435-impressive-page-template .wbcr-factory-page-header .wbcr-factory-button.wbcr-factory-type-save:hover {
57
  background-color: #ffffff !important;
58
  color: #5d05b7 !important;
59
  border-color: #5d05b7 !important;
60
  }
61
 
62
- #WBCR .wbcr-factory-pages-435-impressive-page-template input[type="checkbox"]:checked::before {
63
  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;
64
  }
65
 
66
  /*--------------------------*/
67
- .factory-bootstrap-436 select.form-control {
68
  display: inline;
69
  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%;
70
  background-size: 16px 16px !important;
71
  }
72
 
73
- .factory-bootstrap-436 .btn-default.active, .factory-bootstrap-436 .btn-default:active {
74
  background: #b083de !important;
75
  color: #ffffff !important;
76
  }
77
 
78
- .factory-bootstrap-436 .btn-primary {
79
  background: #5d05b7 !important;
80
  border-color: #27004e !important;
81
  box-shadow: none !important;
82
  -webkit-box-shadow: none !important;
83
  }
84
 
85
- .factory-bootstrap-436 .factory-buttons-way .factory-on.active {
86
  background-color: #b083de !important;
87
  -webkit-box-shadow: inset 0 1px 1px #8651bd !important;
88
  box-shadow: inset 0 1px 3px #8651bd !important;
@@ -91,7 +95,7 @@ h2.nav-tab-wrapper {
91
  border-left: 1px solid #8651bd !important;
92
  }
93
 
94
- .factory-bootstrap-436 .factory-buttons-way .factory-off.active {
95
  background-color: #b083de !important;
96
  -webkit-box-shadow: inset 0 1px 1px #8651bd !important;
97
  box-shadow: inset 0 1px 3px #8651bd !important;
2
  margin-left: 10px !important;
3
  }
4
 
5
+ .wbcr-factory-subscribe-widget__button {
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
 
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
  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
  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;
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_227.app.showNotice(data.error_message, 'danger');
28
  }
29
 
30
  setTimeout(function () {
31
- $.wbcr_factory_clearfy_227.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_227.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_227.app.showNotice(data.error_message, 'danger');
72
  } else {
73
- noticeId = $.wbcr_factory_clearfy_227.app.showNotice(data.message, 'success');
74
  }
75
 
76
  setTimeout(function () {
77
- $.wbcr_factory_clearfy_227.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_227.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_227.app.showNotice(data.error_message, 'danger');
116
  }
117
 
118
  setTimeout(function () {
119
- $.wbcr_factory_clearfy_227.app.hideNotice(noticeId);
120
  }, 5000);
121
  return;
122
  } else {
123
  if (data) {
124
- noticeId = $.wbcr_factory_clearfy_227.app.showNotice(data.message, 'success');
125
  }
126
  setTimeout(function () {
127
- $.wbcr_factory_clearfy_227.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_227.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_227.app.showNotice(data.error_message, 'danger');
168
  }
169
 
170
  setTimeout(function () {
171
- $.wbcr_factory_clearfy_227.app.hideNotice(noticeId);
172
  }, 5000);
173
  return;
174
  } else {
175
  if (data) {
176
- noticeId = $.wbcr_factory_clearfy_227.app.showNotice(data.message, 'success');
177
  }
178
  setTimeout(function () {
179
- $.wbcr_factory_clearfy_227.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_227.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_227.app.showNotice(msg, type);
217
  setTimeout(function () {
218
- jQuery.wbcr_factory_clearfy_227.app.hideNotice(noticeId);
219
  }, 5000);
220
  });
221
  })
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
  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
  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
  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
  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
  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
  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
  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
  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
  })
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_227.app.showNotice(data.error_message, 'danger');
84
  }
85
 
86
  setTimeout(function () {
87
- $.wbcr_factory_clearfy_227.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_227.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_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
  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
  }
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_227.app.showNotice(data.error_message, 'danger');
44
  }
45
 
46
  setTimeout(function () {
47
- $.wbcr_factory_clearfy_227.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_227.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_227.app.showNotice(data.error_message, 'danger');
108
  }
109
 
110
  setTimeout(function () {
111
- $.wbcr_factory_clearfy_227.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_227.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_227.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_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
  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
  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
  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
  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
  });
admin/assets/js/import.js CHANGED
@@ -20,12 +20,12 @@
20
  $this = $(this);
21
 
22
  if (!settings) {
23
- $.wbcr_factory_clearfy_227.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_227.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_227.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_227.app.showNotice(data.error_message, 'danger');
77
  } else {
78
  if (void 0 !== wtitan_ajax) {
79
- noticeId = $.wbcr_factory_clearfy_227.app.showNotice(wtitan_ajax.i18n.unknown_error, 'danger');
80
  }
81
  }
82
 
83
  setTimeout(function () {
84
- $.wbcr_factory_clearfy_227.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_227.app.showNotice(wtitan_ajax.i18n.success_update_settings, 'success');
94
 
95
  setTimeout(function () {
96
- $.wbcr_factory_clearfy_227.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_227.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_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
  $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
  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
 
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
  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
  }
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_227.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_227.app.showNotice(response.data.error_message, 'danger');
63
  }
64
 
65
- $.wbcr_factory_clearfy_227.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_227.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_227.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_227.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_227.hooks.run('clearfy/components/deactivated', [
200
  $this,
201
  data,
202
  response
@@ -219,7 +219,7 @@
219
  $this.remove();
220
  }
221
 
222
- $.wbcr_factory_clearfy_227.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_227.app.showNotice(response.data.need_rewrite_rules, 'warning');
234
  }
235
 
236
- $.wbcr_factory_clearfy_227.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_227.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_227.app.showNotice(response.data.error_message, 'danger');
323
  }
324
 
325
- $.wbcr_factory_clearfy_227.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_227.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_227.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_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
  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
  $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
  $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
  $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
  $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
  $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
  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
  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
  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
  }
admin/boot.php CHANGED
@@ -15,6 +15,41 @@ if( !defined('ABSPATH') ) {
15
  exit;
16
  }
17
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  /**
19
  * Этот хук реализует условную логику перенаправления на страницу мастера настроек,
20
  * сразу после активации плагина.
@@ -31,7 +66,7 @@ add_action('admin_init', function () {
31
  if( \WBCR\Titan\Plugin\Helper::is_need_show_setup_page() ) {
32
  try {
33
  $redirect_url = '';
34
- if( class_exists('Wbcr_FactoryPages435') ) {
35
  $redirect_url = $plugin->getPluginPageUrl('setup', ['wtitan_setup_page_viewed' => 1]);
36
  }
37
  if( $redirect_url ) {
@@ -119,8 +154,8 @@ add_action('wbcr/factory/admin_notices', function ($notices, $plugin_name) {
119
  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>';
120
  *///$obj->printWarningNotice($notice_text);
121
 
122
- /** @var \Wbcr_Factory436_Plugin $plugin */
123
- /** @var \Wbcr_FactoryPages435_ImpressiveThemplate $obj */
124
  /*if ( ( \WBCR\Titan\Plugin::app()->premium->is_activate() ) || ( $plugin->getPluginName() != \WBCR\Titan\Plugin::app()->getPluginName() ) || $obj->id == 'license' ) {
125
  return;
126
  }
15
  exit;
16
  }
17
 
18
+ /**
19
+ * Widget with the offer to buy Clearfy Business
20
+ *
21
+ * @param array $widgets
22
+ * @param string $position
23
+ * @param Wbcr_Factory439_Plugin $plugin
24
+ */
25
+
26
+ add_filter('wbcr/factory/pages/impressive/widgets', function ($widgets, $position, $plugin) {
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' ) {
34
+ unset($widgets['adverts_widget']);
35
+ unset($widgets['business_suggetion']);
36
+ unset($widgets['rating_widget']);
37
+ unset($widgets['info_widget']);
38
+ }
39
+
40
+ return $widgets;
41
+ } else {
42
+ if( $position == 'right' ) {
43
+ unset($widgets['business_suggetion']);
44
+ unset($widgets['info_widget']);
45
+ unset($widgets['rating_widget']);
46
+ }
47
+ }
48
+ }
49
+
50
+ return $widgets;
51
+ }, 9999, 3);
52
+
53
  /**
54
  * Этот хук реализует условную логику перенаправления на страницу мастера настроек,
55
  * сразу после активации плагина.
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 ) {
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
  }
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_Factory436_Activator
11
  * @version 1.0
12
  */
13
 
@@ -16,7 +16,7 @@ if( !defined('ABSPATH') ) {
16
  exit;
17
  }
18
 
19
- class Activation extends \Wbcr_Factory436_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_Factory439_Activator
11
  * @version 1.0
12
  */
13
 
16
  exit;
17
  }
18
 
19
+ class Activation extends \Wbcr_Factory439_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_FactoryClearfy227_PageBase {
18
 
19
  /**
20
  * Scanner page constructor.
21
  *
22
- * @param \Wbcr_Factory436_Plugin $plugin
23
  *
24
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
25
  *
26
  */
27
- public function __construct( \Wbcr_Factory436_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_FactoryClearfy227_PageBase {
96
  $page_url = $args[0];
97
  }
98
 
99
- $page_url = apply_filters( 'wbcr_factory_pages_435_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_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
  $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">
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 FactoryPages435_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_FactoryPages435_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 FactoryPages438_AdminPage
15
  *
16
  * @since 1.0.0
17
  * @var string
63
  *
64
  * @return void
65
  * @since 1.0.0
66
+ * @see Wbcr_FactoryPages438_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 FactoryPages435_AdminPage
18
  *
19
  * @since 1.0.0
20
  * @var string
@@ -31,7 +31,7 @@ class TwoFactor extends Base
31
  /**
32
  * @var bool
33
  */
34
- public $show_right_sidebar_in_options = false;
35
 
36
  /**
37
  * @var object|\WBCR\Titan\Views
@@ -60,7 +60,7 @@ class TwoFactor extends Base
60
  *
61
  * @return void
62
  * @since 1.0.0
63
- * @see Wbcr_FactoryPages435_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 FactoryPages438_AdminPage
18
  *
19
  * @since 1.0.0
20
  * @var string
31
  /**
32
  * @var bool
33
  */
34
+ public $show_right_sidebar_in_options = true;
35
 
36
  /**
37
  * @var object|\WBCR\Titan\Views
60
  *
61
  * @return void
62
  * @since 1.0.0
63
+ * @see Wbcr_FactoryPages438_AdminPage
64
  *
65
  */
66
  public function assets($scripts, $styles)
admin/pages/class-pages-antispam.php CHANGED
@@ -39,7 +39,7 @@ class Antispam extends Base {
39
  * @since 6.0
40
  * @var bool
41
  */
42
- public $show_right_sidebar_in_options = false;
43
 
44
  /**
45
  *
@@ -84,12 +84,12 @@ class Antispam extends Base {
84
  /**
85
  * Antispam page constructor.
86
  *
87
- * @param \Wbcr_Factory436_Plugin $plugin
88
  *
89
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
90
  *
91
  */
92
- public function __construct( \Wbcr_Factory436_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_FactoryPages435_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-227-global'
115
  ], 'wantispam-settings' );
116
  }
117
 
39
  * @since 6.0
40
  * @var bool
41
  */
42
+ public $show_right_sidebar_in_options = true;
43
 
44
  /**
45
  *
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
  *
103
  * @return void
104
  * @since 6.2
105
+ * @see Wbcr_FactoryPages438_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-230-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_Factory436_Plugin $plugin
75
  *
76
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
77
  *
78
  */
79
- public function __construct( \Wbcr_Factory436_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_Factory436_Plugin $plugin
97
  *
98
  * @return array
99
  * @since 6.5.2
100
  *
101
- * @see \FactoryPages435_ImpressiveThemplate
102
  */
103
  public function getActionNotices( $notices ) {
104
 
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
  /**
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
 
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_Factory436_Plugin $plugin
62
  *
63
  * @since 7.0.2
64
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
65
  *
66
  */
67
- public function __construct(\Wbcr_Factory436_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 FactoryPages435_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_Factory436_StyleList $styles
92
- * @param \Wbcr_Factory436_ScriptList $scripts
93
  *
94
  * @since 7.0.2
95
  *
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
  *
79
  * @return void
80
  * @since 7.0.2
81
+ * @see FactoryPages438_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_Factory439_StyleList $styles
92
+ * @param \Wbcr_Factory439_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 FactoryPages435_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 FactoryPages435_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_Factory436_StyleList $styles
87
- * @param \Wbcr_Factory436_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\FactoryPages435_ImpressiveThemplate'
103
  */
104
  public function getActionNotices($notices)
105
  {
27
  * Mainly used to navigate between pages.
28
  *
29
  * @since 7.0.3
30
+ * @see FactoryPages438_AdminPage
31
  *
32
  * @var string
33
  */
73
  *
74
  * @return void
75
  * @since 7.0.2
76
+ * @see FactoryPages438_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_Factory439_StyleList $styles
87
+ * @param \Wbcr_Factory439_ScriptList $scripts
88
  *
89
  * @since 7.0.3
90
  *
99
  * @param Plugin $plugin
100
  *
101
  * @return array
102
+ * @see 'libs\factory\pages\templates\FactoryPages438_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_Factory436_Plugin $plugin
133
  *
134
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
135
  *
136
  */
137
- public function __construct( \Wbcr_Factory436_Plugin $plugin ) {
138
  $this->plugin = $plugin;
139
 
140
  $this->menu_title = __( 'Titan Anti-spam', 'titan-security' );
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' );
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_FactoryClearfy227_LicensePage {
20
 
21
  /**
22
  * {@inheritdoc}
@@ -58,12 +58,12 @@ class License extends \Wbcr_FactoryClearfy227_LicensePage {
58
  /**
59
  * WCL_LicensePage constructor.
60
  *
61
- * @param \Wbcr_Factory436_Plugin $plugin
62
  *
63
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
64
  *
65
  */
66
- public function __construct(\Wbcr_Factory436_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_FactoryClearfy227_LicensePage {
126
  /**
127
  * {@inheritDoc}
128
  * @param $notices
129
- * @param \Wbcr_Factory436_Plugin $plugin
130
  *
131
  * @return array
132
  * @since 6.5.2
133
  *
134
- * @see \FactoryPages435_ImpressiveThemplate
135
  */
136
  /*public function getActionNotices($notices)
137
  {
@@ -280,14 +280,14 @@ class License extends \Wbcr_FactoryClearfy227_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_227'), $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_227'), "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_227'), $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_FactoryClearfy230_LicensePage {
20
 
21
  /**
22
  * {@inheritdoc}
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
  /**
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
  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
  }
admin/pages/class-pages-logs.php CHANGED
@@ -45,17 +45,17 @@ class Logs extends Base {
45
  * @since 6.0
46
  * @var bool
47
  */
48
- public $show_right_sidebar_in_options = false;
49
 
50
  /**
51
  * Logs constructor.
52
  *
53
- * @param \Wbcr_Factory436_Plugin $plugin
54
  *
55
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
56
  *
57
  */
58
- public function __construct( \Wbcr_Factory436_Plugin $plugin ) {
59
 
60
  $this->menu_title = __( 'Error Log', 'titan-security' );
61
  $this->page_menu_short_description = __( 'Plugin debug report', 'titan-security' );
45
  * @since 6.0
46
  * @var bool
47
  */
48
+ public $show_right_sidebar_in_options = true;
49
 
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' );
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_Factory436_Plugin;
8
 
9
  /**
10
  * The plugin Settings.
@@ -38,7 +38,7 @@ class PluginSettings extends Base {
38
  /**
39
  * {@inheritdoc}
40
  */
41
- public $show_right_sidebar_in_options = false;
42
 
43
  /**
44
  * {@inheritdoc}
@@ -46,9 +46,9 @@ class PluginSettings extends Base {
46
  public $page_menu_position = 2;
47
 
48
  /**
49
- * @param Wbcr_Factory436_Plugin $plugin
50
  */
51
- public function __construct( Wbcr_Factory436_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_Factory439_Plugin;
8
 
9
  /**
10
  * The plugin Settings.
38
  /**
39
  * {@inheritdoc}
40
  */
41
+ public $show_right_sidebar_in_options = true;
42
 
43
  /**
44
  * {@inheritdoc}
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
 
admin/pages/class-pages-scanner.php CHANGED
@@ -4,8 +4,8 @@ namespace WBCR\Titan\Page;
4
 
5
  use WBCR\Titan;
6
 
7
- use Wbcr_Factory436_Plugin;
8
- use Wbcr_FactoryClearfy227_PageBase;
9
 
10
  if ( ! defined( 'ABSPATH' ) ) {
11
  exit;
@@ -57,10 +57,10 @@ class Scanner extends Base {
57
  /**
58
  * Scanner constructor.
59
  *
60
- * @param Wbcr_Factory436_Plugin $plugin
61
  *
62
  */
63
- public function __construct( Wbcr_Factory436_Plugin $plugin ) {
64
  $this->plugin = $plugin;
65
 
66
  $this->menu_title = __( 'Scanner', 'titan-security' );
4
 
5
  use WBCR\Titan;
6
 
7
+ use Wbcr_Factory439_Plugin;
8
+ use Wbcr_FactoryClearfy230_PageBase;
9
 
10
  if ( ! defined( 'ABSPATH' ) ) {
11
  exit;
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' );
admin/pages/class-pages-sitechecker.php CHANGED
@@ -35,7 +35,7 @@ class SiteChecker extends Base {
35
  /**
36
  * {@inheritdoc}
37
  */
38
- public $show_right_sidebar_in_options = false;
39
 
40
 
41
  /**
@@ -65,10 +65,10 @@ class SiteChecker extends Base {
65
  /**
66
  * Site Checker constructor.
67
  *
68
- * @param \Wbcr_Factory436_Plugin $plugin
69
  *
70
  */
71
- public function __construct( \Wbcr_Factory436_Plugin $plugin ) {
72
  $this->plugin = $plugin;
73
 
74
  $this->menu_title = __( 'Site Checker', 'titan-security' );
35
  /**
36
  * {@inheritdoc}
37
  */
38
+ public $show_right_sidebar_in_options = true;
39
 
40
 
41
  /**
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' );
admin/pages/class-pages-tweaks.php CHANGED
@@ -40,17 +40,17 @@ class Tweaks extends Base {
40
  * @since 1.0
41
  * @var bool
42
  */
43
- public $show_right_sidebar_in_options = false;
44
 
45
  /**
46
  * WBCR\Page\Settings constructor.
47
  *
48
- * @param \Wbcr_Factory436_Plugin $plugin
49
  *
50
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
51
  *
52
  */
53
- public function __construct( \Wbcr_Factory436_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_FactoryPages435_AdminPage
70
  *
71
  */
72
  public function assets( $scripts, $styles ) {
40
  * @since 1.0
41
  * @var bool
42
  */
43
+ public $show_right_sidebar_in_options = true;
44
 
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
  *
67
  * @return void
68
  * @since 6.2
69
+ * @see Wbcr_FactoryPages438_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_Factory436_Plugin $plugin
53
  *
54
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
55
  *
56
  */
57
- public function __construct( \Wbcr_Factory436_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_FactoryPages435_AdminPage
75
  *
76
  */
77
  public function assets( $scripts, $styles ) {
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
  *
72
  * @return void
73
  * @since 6.2
74
+ * @see Wbcr_FactoryPages438_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_Factory436_Plugin $plugin
68
  *
69
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
70
  *
64
  /**
65
  * Logs constructor.
66
  *
67
+ * @param \Wbcr_Factory439_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_Factory436_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_FactoryPages435_AdminPage
89
  *
90
  */
91
  public function assets( $scripts, $styles ) {
65
  /**
66
  * WBCR\Page\Settings constructor.
67
  *
68
+ * @param \Wbcr_Factory439_Plugin $plugin
69
  *
70
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
71
  *
85
  *
86
  * @return void
87
  * @since 6.2
88
+ * @see Wbcr_FactoryPages438_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_Factory436_Plugin $plugin
68
  *
69
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
70
  *
64
  /**
65
  * Logs constructor.
66
  *
67
+ * @param \Wbcr_Factory439_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_Factory436_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_FactoryPages435_AdminPage
77
  *
78
  */
79
  public function assets( $scripts, $styles ) {
52
  /**
53
  * WBCR\Page\Settings constructor.
54
  *
55
+ * @param \Wbcr_Factory439_Plugin $plugin
56
  *
57
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
58
  *
73
  *
74
  * @return void
75
  * @since 6.2
76
+ * @see Wbcr_FactoryPages438_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_Factory436_Plugin $plugin
55
  *
56
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
57
  *
51
  /**
52
  * Logs constructor.
53
  *
54
+ * @param \Wbcr_Factory439_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\FactoryClearfy227\Pages\Setup {
17
 
18
  /**
19
- * @param \Wbcr_Factory436_Plugin $plugin
20
  */
21
- public function __construct(\Wbcr_Factory436_Plugin $plugin)
22
  {
23
  parent::__construct($plugin);
24
 
25
  $path = WTITAN_PLUGIN_DIR . '/admin/pages/setup/steps';
26
 
27
- #Step 1 is default \WBCR\FactoryClearfy227\Pages\Step_Plugins
28
  $this->register_step($path . '/class-step-default.php', '\WBCR\Titan\Page\Step_Default');
29
 
30
- #Step 2 \WBCR\FactoryClearfy227\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\FactoryClearfy227\Pages\Setup {
53
  *
54
  * @return void
55
  * @since 1.0.0
56
- * @see FactoryPages435_AdminPage
57
  *
58
  */
59
  public function assets($scripts, $styles)
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
  *
54
  * @return void
55
  * @since 1.0.0
56
+ * @see FactoryPages438_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\FactoryClearfy227\Pages\Step_Custom {
12
 
13
  protected $prev_id = 'step5';
14
  protected $id = 'step6';
@@ -23,7 +23,7 @@ class Step_Congratulation extends \WBCR\FactoryClearfy227\Pages\Step_Custom {
23
  *
24
  * @return void
25
  * @since 1.0.0
26
- * @see FactoryPages435_AdminPage
27
  *
28
  */
29
  public function assets($scripts, $styles)
@@ -37,7 +37,7 @@ class Step_Congratulation extends \WBCR\FactoryClearfy227\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-227-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\FactoryClearfy230\Pages\Step_Custom {
12
 
13
  protected $prev_id = 'step5';
14
  protected $id = 'step6';
23
  *
24
  * @return void
25
  * @since 1.0.0
26
+ * @see FactoryPages438_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-230-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\FactoryClearfy227\Pages\Step_Custom {
12
 
13
  protected $id = 'step0';
14
  protected $next_id = 'step1';
@@ -21,12 +21,12 @@ class Step_Default extends \WBCR\FactoryClearfy227\Pages\Step_Custom {
21
  public function html()
22
  {
23
  ?>
24
- <div class="w-factory-clearfy-227-setup__inner-wrap">
25
- <div class="w-factory-clearfy-227-setup-step__new_onboarding-wrapper">
26
- <p class="w-factory-clearfy-227-setup-step__new_onboarding-welcome">
27
  <?php _e('Welcome to', 'titan-security') ?>
28
  </p>
29
- <h1 class="w-factory-clearfy-227-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\FactoryClearfy230\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-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>
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\FactoryClearfy227\Pages\Step_Custom {
12
 
13
  protected $prev_id = 'step0';
14
  protected $id = 'step1';
@@ -23,7 +23,7 @@ class Step_Plugins extends \WBCR\FactoryClearfy227\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-227-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\FactoryClearfy230\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-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>
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\FactoryClearfy227\Pages\Step_Custom {
12
 
13
  protected $prev_id = 'step1';
14
  protected $id = 'step2';
@@ -78,7 +78,7 @@ class Step_Security_Audit extends \WBCR\FactoryClearfy227\Pages\Step_Custom {
78
  });
79
  });
80
  </script>
81
- <div class="w-factory-clearfy-227-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\FactoryClearfy230\Pages\Step_Custom {
12
 
13
  protected $prev_id = 'step1';
14
  protected $id = 'step2';
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
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\FactoryClearfy227\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\FactoryClearfy230\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\FactoryClearfy227\Pages\Step_Custom {
13
 
14
  protected $prev_id = 'step2';
15
  protected $id = 'step3';
@@ -60,7 +60,7 @@ class Step_Scan_Malware extends \WBCR\FactoryClearfy227\Pages\Step_Custom {
60
  }
61
 
62
  ?>
63
- <div class="w-factory-clearfy-227-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\FactoryClearfy230\Pages\Step_Custom {
13
 
14
  protected $prev_id = 'step2';
15
  protected $id = 'step3';
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'); ?>
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\FactoryClearfy227\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\FactoryClearfy230\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.0
7
  Author: CreativeMotion
8
  Text Domain: titan-security
9
  Author URI: https://cm-wp.com/
@@ -78,6 +78,10 @@ $wtitan_plugin_info = [
78
  ]
79
  ]
80
  ],
 
 
 
 
81
 
82
  // PLUGIN ADVERTS
83
  'render_adverts' => true,
@@ -89,18 +93,18 @@ $wtitan_plugin_info = [
89
 
90
  // FRAMEWORK MODULES
91
  'load_factory_modules' => [
92
- ['libs/factory/bootstrap', 'factory_bootstrap_436', 'admin'],
93
- ['libs/factory/forms', 'factory_forms_433', 'admin'],
94
- ['libs/factory/pages', 'factory_pages_435', 'admin'],
95
- ['libs/factory/clearfy', 'factory_clearfy_227', 'all'],
96
- ['libs/factory/freemius', 'factory_freemius_123', 'all'],
97
- ['libs/factory/feedback', 'factory_feedback_107', 'admin']
98
  ],
99
  'load_plugin_components' => array()
100
 
101
  ];
102
 
103
- $wtitan_compatibility = new Wbcr_Factory436_Requirements(__FILE__, array_merge($wtitan_plugin_info, [
104
  'plugin_already_activate' => defined('WTITAN_PLUGIN_ACTIVE'),
105
  'required_php_version' => '5.6',
106
  'required_wp_version' => '4.9.0',
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/
78
  ]
79
  ]
80
  ],
81
+
82
+ // PLUGIN SUBSCRIBE FORM
83
+ 'subscribe_widget' => true,
84
+ 'subscribe_settings' => ['group_id' => '105407158'],
85
 
86
  // PLUGIN ADVERTS
87
  'render_adverts' => true,
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',
includes/antispam/assets/js/settings.js CHANGED
@@ -12,8 +12,8 @@
12
 
13
  $.wantispam = {};
14
 
15
- if ($.wbcr_factory_clearfy_227) {
16
- $.wantispam = $.wbcr_factory_clearfy_227;
17
  }
18
 
19
  $('.factory-checkbox--disabled.wantispam-checkbox-premium-label').click(function (e) {
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) {
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_227.app.showNotice('Security audit success', 'success');
27
  setTimeout(function () {
28
- jQuery.wbcr_factory_clearfy_227.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_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) {
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_Factory436_Plugin {
17
 
18
  /**
19
  * Number of comments that will be sent for verification
@@ -24,7 +24,7 @@ class Plugin extends \Wbcr_Factory436_Plugin {
24
 
25
  /**
26
  * @see self::app()
27
- * @var \Wbcr_Factory436_Plugin
28
  */
29
  private static $app;
30
 
@@ -83,7 +83,7 @@ class Plugin extends \Wbcr_Factory436_Plugin {
83
  * Используется для получения настроек плагина, информации о плагине, для доступа к вспомогательным
84
  * классам.
85
  *
86
- * @return \Wbcr_Factory436_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_Factory439_Plugin {
17
 
18
  /**
19
  * Number of comments that will be sent for verification
24
 
25
  /**
26
  * @see self::app()
27
+ * @var \Wbcr_Factory439_Plugin
28
  */
29
  private static $app;
30
 
83
  * Используется для получения настроек плагина, информации о плагине, для доступа к вспомогательным
84
  * классам.
85
  *
86
+ * @return \Wbcr_Factory439_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_FactoryClearfy227_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_FactoryClearfy227_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_FactoryClearfy227_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_FactoryClearfy227_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_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
  *
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
  * @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
  }
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_Factory436_Plugin
25
  */
26
  public $plugin;
27
 
21
  * Plugin object
22
  *
23
  * @since 7.0
24
+ * @var \Wbcr_Factory439_Plugin
25
  */
26
  public $plugin;
27
 
includes/functions.php CHANGED
@@ -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_Factory436_Plugin $plugin
353
- * @param Wbcr_FactoryPages435_ImpressiveThemplate $obj
354
  *
355
  * @return bool
356
  */
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
  */
includes/helpers.php CHANGED
@@ -103,7 +103,7 @@ class Helper {
103
  */
104
  public static function maybeGetPostJson($name)
105
  {
106
- return \WbcrFactoryClearfy227_Helpers::maybeGetPostJson($name);
107
  }
108
 
109
  /**
@@ -115,7 +115,7 @@ class Helper {
115
  */
116
  public static function getEscapeJson(array $data)
117
  {
118
- return \WbcrFactoryClearfy227_Helpers::getEscapeJson($data);
119
  }
120
 
121
  /**
@@ -129,7 +129,7 @@ class Helper {
129
  */
130
  public static function recursiveSanitizeArray($array, $function)
131
  {
132
- return \WbcrFactoryClearfy227_Helpers::recursiveSanitizeArray($array, $function);
133
  }
134
 
135
  /*
@@ -139,7 +139,7 @@ class Helper {
139
  */
140
  public static function flushPageCache()
141
  {
142
- \WbcrFactoryClearfy227_Helpers::flushPageCache();
143
  }
144
 
145
  }
103
  */
104
  public static function maybeGetPostJson($name)
105
  {
106
+ return \WbcrFactoryClearfy230_Helpers::maybeGetPostJson($name);
107
  }
108
 
109
  /**
115
  */
116
  public static function getEscapeJson(array $data)
117
  {
118
+ return \WbcrFactoryClearfy230_Helpers::getEscapeJson($data);
119
  }
120
 
121
  /**
129
  */
130
  public static function recursiveSanitizeArray($array, $function)
131
  {
132
+ return \WbcrFactoryClearfy230_Helpers::recursiveSanitizeArray($array, $function);
133
  }
134
 
135
  /*
139
  */
140
  public static function flushPageCache()
141
  {
142
+ \WbcrFactoryClearfy230_Helpers::flushPageCache();
143
  }
144
 
145
  }
includes/logger/assets/js/base.js CHANGED
@@ -27,10 +27,10 @@
27
 
28
  $('#js-wlogger-viewer').html('');
29
  $('#js-wlogger-size').text('0B');
30
- $.wbcr_factory_clearfy_227.app.showNotice(data.message, data.type);
31
  },
32
  error: function (jqXHR, textStatus, errorThrown) {
33
- $.wbcr_factory_clearfy_227.app.showNotice('Error: ' + errorThrown + ', status: ' + textStatus, 'danger');
34
  btn.html(currentBtnText);
35
  }
36
  });
27
 
28
  $('#js-wlogger-viewer').html('');
29
  $('#js-wlogger-size').text('0B');
30
+ $.wbcr_factory_clearfy_230.app.showNotice(data.message, data.type);
31
  },
32
  error: function (jqXHR, textStatus, errorThrown) {
33
+ $.wbcr_factory_clearfy_230.app.showNotice('Error: ' + errorThrown + ', status: ' + textStatus, 'danger');
34
  btn.html(currentBtnText);
35
  }
36
  });
includes/scanner/assets/js/scanner.js CHANGED
@@ -70,9 +70,9 @@
70
  type = 'warning';
71
  }
72
 
73
- var noticeId = $.wbcr_factory_clearfy_227.app.showNotice(response.data.message, type);
74
  setTimeout(function () {
75
- $.wbcr_factory_clearfy_227.app.hideNotice(noticeId);
76
  }, 5000);
77
  });
78
  });
70
  type = 'warning';
71
  }
72
 
73
+ var noticeId = $.wbcr_factory_clearfy_230.app.showNotice(response.data.message, type);
74
  setTimeout(function () {
75
+ $.wbcr_factory_clearfy_230.app.hideNotice(noticeId);
76
  }, 5000);
77
  });
78
  });
includes/sitechecker/assets/js/app.js CHANGED
@@ -214,14 +214,14 @@
214
  timeout = 5000;
215
  }
216
 
217
- if (typeof $ === 'undefined' || typeof $.wbcr_factory_clearfy_227 === 'undefined') {
218
  return;
219
  }
220
 
221
- var noticeId = $.wbcr_factory_clearfy_227.app.showNotice(message, type);
222
  if (timeout > 0) {
223
  setTimeout(function () {
224
- $.wbcr_factory_clearfy_227.app.hideNotice(noticeId);
225
  }, timeout);
226
  }
227
  }
214
  timeout = 5000;
215
  }