Version Description
- Override bot protect over protect
Download this release
Release Info
Developer | ritesh.soni36 |
Plugin | MalCare WordPress Security Plugin – Malware Scanner, Cleaner, Security Firewall |
Version | 4.23 |
Comparing to | |
See all releases |
Code changes from version 4.22 to 4.23
- info.php +4 -3
- malcare.php +2 -2
- readme.txt +188 -64
- wp_admin.php +3 -3
info.php
CHANGED
@@ -9,7 +9,7 @@ if (!class_exists('MCInfo')) :
|
|
9 |
public $badgeinfo = 'mcbadge';
|
10 |
public $ip_header_option = 'mcipheader';
|
11 |
public $brand_option = 'mcbrand';
|
12 |
-
public $version = '4.
|
13 |
public $webpage = 'https://www.malcare.com';
|
14 |
public $appurl = 'https://app.malcare.com';
|
15 |
public $slug = 'malcare-security/malcare.php';
|
@@ -35,7 +35,8 @@ if (!class_exists('MCInfo')) :
|
|
35 |
if ($brand && array_key_exists('menuname', $brand)) {
|
36 |
return $brand['menuname'];
|
37 |
}
|
38 |
-
|
|
|
39 |
return "Cloudways";
|
40 |
}
|
41 |
|
@@ -102,4 +103,4 @@ if (!class_exists('MCInfo')) :
|
|
102 |
);
|
103 |
}
|
104 |
}
|
105 |
-
endif;
|
9 |
public $badgeinfo = 'mcbadge';
|
10 |
public $ip_header_option = 'mcipheader';
|
11 |
public $brand_option = 'mcbrand';
|
12 |
+
public $version = '4.23';
|
13 |
public $webpage = 'https://www.malcare.com';
|
14 |
public $appurl = 'https://app.malcare.com';
|
15 |
public $slug = 'malcare-security/malcare.php';
|
35 |
if ($brand && array_key_exists('menuname', $brand)) {
|
36 |
return $brand['menuname'];
|
37 |
}
|
38 |
+
$bvinfo = new MCInfo($this->settings);
|
39 |
+
if (MCWPSiteInfo::isCWServer() && !$bvinfo->canOverrideCW()) {
|
40 |
return "Cloudways";
|
41 |
}
|
42 |
|
103 |
);
|
104 |
}
|
105 |
}
|
106 |
+
endif;
|
malcare.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://www.malcare.com
|
|
5 |
Description: WordPress Security, Firewall and Malware Scanner
|
6 |
Author: MalCare Security
|
7 |
Author URI: https://www.malcare.com
|
8 |
-
Version: 4.
|
9 |
Network: True
|
10 |
*/
|
11 |
|
@@ -142,4 +142,4 @@ if ((array_key_exists('bvplugname', $_REQUEST)) && ($_REQUEST['bvplugname'] == "
|
|
142 |
}
|
143 |
|
144 |
##DYNSYNCMODULE##
|
145 |
-
}
|
5 |
Description: WordPress Security, Firewall and Malware Scanner
|
6 |
Author: MalCare Security
|
7 |
Author URI: https://www.malcare.com
|
8 |
+
Version: 4.23
|
9 |
Network: True
|
10 |
*/
|
11 |
|
142 |
}
|
143 |
|
144 |
##DYNSYNCMODULE##
|
145 |
+
}
|
readme.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
===
|
2 |
Contributors: malcare security, akshatc
|
3 |
Tags: security, wordpress security, security plugin, firewall, malware scanner, login security, automatic malware removal, improve security
|
4 |
Plugin URI: https://www.malcare.com
|
@@ -6,91 +6,212 @@ Donate link: https://www.malcare.com
|
|
6 |
Requires at least: 4.0
|
7 |
Tested up to: 5.4
|
8 |
Requires PHP: 5.4.0
|
9 |
-
Stable tag: 4.
|
10 |
License: GPLv2 or later
|
11 |
License URI: [http://www.gnu.org/licenses/gpl-2.0.html](http://www.gnu.org/licenses/gpl-2.0.html)
|
12 |
|
13 |
-
Security
|
14 |
|
15 |
== DESCRIPTION ==
|
16 |
|
17 |
-
###
|
18 |
|
19 |
-
|
|
|
20 |
|
21 |
-
|
22 |
|
23 |
-
|
|
|
24 |
|
25 |
-
|
26 |
|
27 |
-
|
28 |
|
29 |
-
**
|
30 |
|
31 |
-
|
32 |
|
33 |
-
|
34 |
|
35 |
-
|
36 |
-
* 200,000+ Sites Scanned and counting
|
37 |
-
* 250,000+ Successful Malware Removals
|
38 |
-
* 330GB Largest site Scanned
|
39 |
-
* 10,000+ Web hosts Compatibility
|
40 |
-
* Five Star Support
|
41 |
|
42 |
-
|
43 |
|
44 |
-
==
|
45 |
|
46 |
-
|
47 |
-
*
|
48 |
-
*
|
49 |
-
*
|
50 |
-
* Early Malware Detection
|
51 |
|
52 |
-
|
53 |
-
*
|
54 |
-
*
|
55 |
-
*
|
56 |
-
* Support Always on Your Side
|
57 |
|
58 |
-
|
59 |
-
*
|
60 |
-
*
|
|
|
|
|
61 |
|
62 |
-
|
63 |
-
*
|
64 |
-
*
|
65 |
-
* Change Security Keys
|
66 |
-
* Disallow Plugins
|
67 |
|
68 |
-
|
69 |
-
*
|
70 |
-
* Invite Team Members for Efficient Collaboration
|
71 |
-
* Exclusive White-label Solution to Grow Revenues
|
72 |
-
* Beautiful and Comprehensive Client Reporting
|
73 |
|
74 |
-
|
75 |
-
* Always Improving & Adding Features Unlike Plugins
|
76 |
-
* Our Support Has Your Back, Always
|
77 |
-
* Independent Dashboard Offers 24X7 Access to Backups
|
78 |
|
79 |
-
|
|
|
80 |
|
81 |
-
|
82 |
-
|
83 |
-
* **Detects Malware Missed by Other Plugins -** Our proprietary algorithm identifies even the most complex malware and security hacks, without any false-positives.
|
84 |
-
* **No Technical Knowledge Needed -** Automated workflows that ensure everything you need is only a click away.
|
85 |
-
* **Personal Support for Everyone -** Agile & Responsive Customer Support that caters to Everyone.
|
86 |
|
87 |
-
|
|
|
88 |
|
89 |
-
**
|
|
|
90 |
|
91 |
-
|
|
|
92 |
|
93 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
|
95 |
== FREQUENTLY ASKED QUESTIONS ==
|
96 |
|
@@ -208,16 +329,19 @@ FTP details input into MalCare is processed on our servers. We need your FTP cre
|
|
208 |
|
209 |
== SCREENSHOTS ==
|
210 |
|
211 |
-
1.
|
212 |
-
2. MalCare
|
213 |
3. No more waiting for days or hours to clean your website. Clean your website of malicious code with surgical precision in One-Click.
|
214 |
-
4.
|
215 |
-
5.
|
216 |
-
6.
|
217 |
-
7.
|
218 |
-
8.
|
219 |
|
220 |
== CHANGELOG ==
|
|
|
|
|
|
|
221 |
= 4.22 =
|
222 |
* Sending plugname in request to backend servers
|
223 |
|
1 |
+
=== MalCare - Free Malware Scanner & Security for WordPress ===
|
2 |
Contributors: malcare security, akshatc
|
3 |
Tags: security, wordpress security, security plugin, firewall, malware scanner, login security, automatic malware removal, improve security
|
4 |
Plugin URI: https://www.malcare.com
|
6 |
Requires at least: 4.0
|
7 |
Tested up to: 5.4
|
8 |
Requires PHP: 5.4.0
|
9 |
+
Stable tag: 4.23
|
10 |
License: GPLv2 or later
|
11 |
License URI: [http://www.gnu.org/licenses/gpl-2.0.html](http://www.gnu.org/licenses/gpl-2.0.html)
|
12 |
|
13 |
+
Get Bulletproof Security for your site. Most friendly security plugin. No impact on site speed. Smart Firewall, malware scan, login protection & more.
|
14 |
|
15 |
== DESCRIPTION ==
|
16 |
|
17 |
+
### MALCARE SECURITY SERVICES
|
18 |
|
19 |
+
WordPress Security Plugin For WordPress
|
20 |
+
★★★★★
|
21 |
|
22 |
+
A WordPress security plugin ensures that your website remains completely safe and secure, always. [We created MalCare Security Plugin](https://www.malcare.com/) to help website owners worry less about their site security, achieve peace of mind and focus all their energies on growing their business or website.
|
23 |
|
24 |
+
[youtube https://www.youtube.com/watch?v=rBuYh2dIadk]
|
25 |
+
<br/>
|
26 |
|
27 |
+
**Important Links: [Features](https://www.malcare.com/features/) | [Why Choose MalCare?](https://www.malcare.com/) | [Comparisons](https://www.malcare.com/top-wordpress-security-plugins-compared/) | [Free vs Paid](https://www.malcare.com/malcare-free-premium/)**
|
28 |
|
29 |
+
MalCare is the **fastest** malware detection and removal plugin loved by thousands of developers and agencies. With an industry-first **automatic one-click malware removal**, your website is clean before Google blacklists it or your web host takes it down. MalCare has been developed from the ground up after **analyzing over 240,000 websites over 2.5+ years**.
|
30 |
|
31 |
+
Its **intelligent scanning methodology** will **never slow down your website** and **accurately identifies** the most complex malware that typically goes undetected in other popular security plugins.
|
32 |
|
33 |
+
The **one-click malware cleaner** offers unlimited automated cleanups while the inbuilt **powerful cloud-based firewall** ensures round-the-clock website protection. Moreover, you can **block countries** to mitigate hack attacks.
|
34 |
|
35 |
+
MalCare comes integrated with a **complete website management** module that ensures better security and site management to your websites from a single dashboard.
|
36 |
|
37 |
+
The plugin **notifies you if the website goes down** so that you can handle the situation before you start losing visitors. Performance Check enables users to keep an eye on their **loading speed**.
|
|
|
|
|
|
|
|
|
|
|
38 |
|
39 |
+
MalCare offers a premium **White-Label** solution that lets agencies provide better security to their clients without risking their business. And enables users to **generate beautiful reports** for their clients.
|
40 |
|
41 |
+
== Why Choose MalCare? ==
|
42 |
|
43 |
+
* **WordPress Malware Scanner**
|
44 |
+
* Detects malware BEFORE it’s too late
|
45 |
+
* NO impact on your website
|
46 |
+
* Finds ALL types of malware, even new & complex ones
|
|
|
47 |
|
48 |
+
* **WordPress Malware Removal**
|
49 |
+
* Cleans your site INSTANTLY, in less than 60 Secs
|
50 |
+
* Removes ALL traces of malware
|
51 |
+
* UNLIMITED cleanups
|
|
|
52 |
|
53 |
+
* **WordPress Website Protection**
|
54 |
+
* Blocks hacker BOTS from attacking login page
|
55 |
+
* Identifies & blocks MALICIOUS traffic
|
56 |
+
* Enables users to HARDEN their sites
|
57 |
+
* Enables users to block ENTIRE countries
|
58 |
|
59 |
+
* **Easy to Use**
|
60 |
+
* Set up an account in 60 secs
|
61 |
+
* Configure security once & never look at it again
|
|
|
|
|
62 |
|
63 |
+
* **Support**
|
64 |
+
* Agile & responsive customer support
|
|
|
|
|
|
|
65 |
|
66 |
+
== Why Is MalCare Such a Game-Changer? ==
|
|
|
|
|
|
|
67 |
|
68 |
+
1. **Cloud-Based Malware Scanning (Free)**
|
69 |
+
MalCare’s Cloud-based Scanning ensures no impact on your website ever. Moreover, it detects Complex Malware missed by other popular plugins
|
70 |
|
71 |
+
2. **Industry-First Instant Malware Removal (Paid)**
|
72 |
+
Clean your hacked site instantly in less than 60 secs with MalCare’s 1-Click Cleaner. Clean your website before Google blacklists it or your web host takes it down.
|
|
|
|
|
|
|
73 |
|
74 |
+
3. **Web-Application WordPress Firewall (Free)**
|
75 |
+
Get Real-Time Protection for your WordPress website against the latest threats with MalCare's Smart Firewall. Block hackers & bots before they harm your site.
|
76 |
|
77 |
+
4. **CAPTCHA-Based Login Protection (Free)**
|
78 |
+
Automatically prevent brute force attacks with MalCare’s Smart Captcha-Based Login Protection. Round-the-clock protection against malicious traffic.
|
79 |
|
80 |
+
5. **WordPress Recommended Website Hardening (Paid)**
|
81 |
+
Easily configure WordPress recommended best security practices with just 1-Click from right within MalCare’s dashboard. No technical knowledge needed.
|
82 |
|
83 |
+
6. **Geo-blocking (Paid)**
|
84 |
+
Restrict access to users based on their geographical location. Easily block all visitors from certain countries to mitigate the risk of being hacked.
|
85 |
+
|
86 |
+
7. **Uptime Monitoring (Paid)**
|
87 |
+
With MalCare's Uptime Monitoring keep a steady eye on your website. It ensures that you are not oblivious to website downtime.
|
88 |
+
|
89 |
+
== MalCare Free vs. MalCare Premium ==
|
90 |
+
|
91 |
+
1. **Malware Scanner (FREE)**
|
92 |
+
* Cloud-Based Malware Scanning **(Free)**
|
93 |
+
* Deep Malware Scanning - Files & Database **(Free)**
|
94 |
+
|
95 |
+
2. **Web Application (FREE)**
|
96 |
+
* Plugin Based Firewall **(Free)**
|
97 |
+
* Rules update every 7 days **(Free)**
|
98 |
+
* Login Protection **(Free)**
|
99 |
+
* Bot Protection **(Free)**
|
100 |
+
* Rules update every 5 mins **(Paid)**
|
101 |
+
* Geo-Blocking **(Paid)**
|
102 |
+
* Website Hardening **(Paid)**
|
103 |
+
|
104 |
+
3. **Malware Cleaning (PAID)**
|
105 |
+
* View Malware Insights **(Paid)**
|
106 |
+
* Instant One-Click Clean Ups **(Paid)**
|
107 |
+
* Automatic Clean-Ups **(Paid)**
|
108 |
+
* Unlimited Clean-Ups **(Paid)**
|
109 |
+
|
110 |
+
4. **Personalized Customer Support (Paid)**
|
111 |
+
|
112 |
+
== Who Can Benefit From MalCare? ==
|
113 |
+
|
114 |
+
MalCare is perfect for:
|
115 |
+
|
116 |
+
* Any WordPress Websites
|
117 |
+
* Small Business Websites
|
118 |
+
* Developer Websites
|
119 |
+
* Web Designing Websites
|
120 |
+
* eCommerce Stores
|
121 |
+
* Niche Sites
|
122 |
+
* Artists & Photographers Sites
|
123 |
+
* Amateur & Professional Bloggers
|
124 |
+
* Local Business Sites
|
125 |
+
* Website for Startups
|
126 |
+
* Websites Selling Courses
|
127 |
+
* Influencer Sites
|
128 |
+
* Web Hosting Companies
|
129 |
+
* Website Maintenance Services or Agencies
|
130 |
+
|
131 |
+
== Detailed Setup Step-by-Step Tutorials ==
|
132 |
+
|
133 |
+
* [How to Set Up a MalCare Account?](https://malcare.freshdesk.com/support/solutions/articles/35000055512-how-do-i-set-up-a-malcare-account-) (Help Doc)
|
134 |
+
* [How to Set Up a MalCare Account?](https://www.youtube.com/watch?v=v8L_DZllk7k&list=) (Video)
|
135 |
+
|
136 |
+
== MalCare Full Features List ==
|
137 |
+
|
138 |
+
* **Malware Scanner**
|
139 |
+
* Daily Scan Frequency
|
140 |
+
* On-demand Site Scans
|
141 |
+
* Scan Non-WP Files
|
142 |
+
|
143 |
+
* **Malware Removal**
|
144 |
+
* Instant Automatic Malware Removal
|
145 |
+
* Removal of Unknown & New Malware
|
146 |
+
* Unlimited Malware Removal
|
147 |
+
|
148 |
+
* **Malware Protection**
|
149 |
+
* Web Application Firewall
|
150 |
+
* IP Whitelisting
|
151 |
+
* CAPTCHA-based Login Protection
|
152 |
+
* Traffic Logs
|
153 |
+
* Login Logs
|
154 |
+
* Geo-Blocking
|
155 |
+
* Alerts for Suspicious Logins
|
156 |
+
|
157 |
+
* **Website Hardening**
|
158 |
+
* Block PHP Execution in Untrusted Folders
|
159 |
+
* Disable Files Editor
|
160 |
+
* Block Plugin or Theme Installation
|
161 |
+
* Change Security Keys
|
162 |
+
* Reset All Passwords
|
163 |
+
|
164 |
+
* **Website Management**
|
165 |
+
* Centralized Dashboard
|
166 |
+
* Plugins & Themes Management & Update
|
167 |
+
* User Management
|
168 |
+
* Team Management
|
169 |
+
* Client Management
|
170 |
+
* Generate & Schedule Reports
|
171 |
+
* White-Labeling Solution
|
172 |
+
* Uptime Monitoring
|
173 |
+
* Site Speed Monitoring
|
174 |
+
* Blacklist Alarm
|
175 |
+
* Slack Integration
|
176 |
+
|
177 |
+
* **Support**
|
178 |
+
* Email
|
179 |
+
* Chat
|
180 |
+
* Social Media
|
181 |
+
|
182 |
+
== Fans Are Raving About Us ==
|
183 |
+
|
184 |
+
* [MalCare Review on VisualComposer](https://visualcomposer.com/blog/malcare-review/)
|
185 |
+
* [MalCare Review on ElegantThemes](https://www.elegantthemes.com/blog/resources/malcare-security-and-firewall-the-right-security-plugin-for-your-site)
|
186 |
+
* [MalCare Review on Weglot](https://blog.weglot.com/ideal-security-solution-malcare-review/)
|
187 |
+
* [MalCare Review on WPWhiteSecurity](https://www.wpwhitesecurity.com/malcare-wordpress-site-security-service-reviewed/)
|
188 |
+
* [MalCare Reviews by WordPress Influencer Adam Preiser (Plus Real Malware Removal Demo)](https://www.youtube.com/watch?v=2yNIb4Pc_ig)
|
189 |
+
|
190 |
+
|
191 |
+
== Connect With Our Team of Security Experts ==
|
192 |
+
|
193 |
+
[Join MalCare's Facebook Community](https://www.facebook.com/groups/WordPressForWebCreators/) - The purpose of the group is to enable Web Creators to gain valuable insights and help from community members which will be valuable to their business. So, if you are a WordPress user & want to keep up with the latest industry news and get help for your business, [join us](https://www.facebook.com/groups/WordPressForWebCreators/)!
|
194 |
+
|
195 |
+
== Don’t Know Where to Getting Started? Start From Here - ==
|
196 |
+
|
197 |
+
* [How to Setup MalCare Account?](https://malcare.freshdesk.com/support/solutions/articles/35000055512-how-do-i-set-up-a-malcare-account-)
|
198 |
+
* [Join MalCare Facebook Group MalCare](https://www.facebook.com/groups/WordPressForWebCreators/)
|
199 |
+
* [MalCare Tutorial Videos](https://www.youtube.com/channel/UC5oQAXXvndQJuyVrWgMRWqg)
|
200 |
+
* [User Help Documentations](https://malcare.freshdesk.com/support/home)
|
201 |
+
* [Frequently Asked Questions](https://www.malcare.com/faq/)
|
202 |
+
* [Support for MalCare Users](https://malcare.freshdesk.com/support/tickets/new)
|
203 |
+
|
204 |
+
|
205 |
+
== MalCare vs. Others ==
|
206 |
+
|
207 |
+
* [MalCare vs Sucuri](https://www.malcare.com/sucuri-comparison/)
|
208 |
+
* [MalCare vs Wordfence](https://www.malcare.com/wordfence-comparison/)
|
209 |
+
* [MalCare vs iThemes](https://www.malcare.com/ithemes-comparison/)
|
210 |
+
* [MalCare vs SiteLock](https://www.malcare.com/sitelock-comparison/)
|
211 |
+
* [MalCare vs SecuPress](https://www.malcare.com/secupress-comparison/)
|
212 |
+
* [MalCare Compared With Top WordPress Security Plugins](https://www.malcare.com/top-wordpress-security-plugins-compared/)
|
213 |
+
* [MalCare vs Sucuri vs Wordfence by CodeinWP](https://www.codeinwp.com/blog/sucuri-vs-wordfence-vs-malcare/)
|
214 |
+
* [MalCare vs Sucuri vs Wordfence vs SiteLock vs iThemes Security by WPMayor](https://wpmayor.com/malcare-sucuri-wordfence-sitelock-ithemes-security-comparison/)
|
215 |
|
216 |
== FREQUENTLY ASKED QUESTIONS ==
|
217 |
|
329 |
|
330 |
== SCREENSHOTS ==
|
331 |
|
332 |
+
1. It’s extremely easy to add a website to MalCare’s dashboard. All you need to do is add a URL and install the plugin on your website.
|
333 |
+
2. MalCare's Early Detecting Technology uses 100+ intelligent signals to detect even the most complex malware that other WordPress security plugins cannot detect.
|
334 |
3. No more waiting for days or hours to clean your website. Clean your website of malicious code with surgical precision in One-Click.
|
335 |
+
4. MalCare offers a Login Protection which limits the number of failed login attempts made by hackers and bots via Captcha protection.
|
336 |
+
5. MalCare's Firewall automatically blocks malicious traffic with its intelligent visitor pattern detection technology.
|
337 |
+
6. MalCare helps implement Advanced Website Hardening measures to make your site more secure against hackers and bots.
|
338 |
+
7. MalCare's Geoblocking effectively blocks countries from visiting your site with just a click of a button.
|
339 |
+
8. MalCare’s Uptime Monitoring notifies if a website goes down so that you can handle the situation before starting to lose visitors.
|
340 |
|
341 |
== CHANGELOG ==
|
342 |
+
= 4.23 =
|
343 |
+
* Override bot protect over protect
|
344 |
+
|
345 |
= 4.22 =
|
346 |
* Sending plugname in request to backend servers
|
347 |
|
wp_admin.php
CHANGED
@@ -98,7 +98,7 @@ class MCWPAdmin {
|
|
98 |
public function menu() {
|
99 |
$bname = $this->bvinfo->getBrandName();
|
100 |
$icon = $this->bvinfo->getBrandIcon();
|
101 |
-
if (MCWPSiteInfo::isCWServer()) {
|
102 |
$brandinfo = $this->cwBrandInfo();
|
103 |
$bname = $brandinfo["menuname"];
|
104 |
$icon = $brandinfo["brand_icon"];
|
@@ -195,7 +195,7 @@ class MCWPAdmin {
|
|
195 |
return $plugins;
|
196 |
}
|
197 |
|
198 |
-
if (MCWPSiteInfo::isCWServer()) {
|
199 |
$brand = $this->cwBrandInfo();
|
200 |
if (array_key_exists('name', $brand)) {
|
201 |
$plugins[$slug]['Name'] = $brand['name'];
|
@@ -222,4 +222,4 @@ class MCWPAdmin {
|
|
222 |
return $plugins;
|
223 |
}
|
224 |
}
|
225 |
-
endif;
|
98 |
public function menu() {
|
99 |
$bname = $this->bvinfo->getBrandName();
|
100 |
$icon = $this->bvinfo->getBrandIcon();
|
101 |
+
if (MCWPSiteInfo::isCWServer() && !$this->bvinfo->canOverrideCW()) {
|
102 |
$brandinfo = $this->cwBrandInfo();
|
103 |
$bname = $brandinfo["menuname"];
|
104 |
$icon = $brandinfo["brand_icon"];
|
195 |
return $plugins;
|
196 |
}
|
197 |
|
198 |
+
if (MCWPSiteInfo::isCWServer() && !$this->bvinfo->canOverrideCW()) {
|
199 |
$brand = $this->cwBrandInfo();
|
200 |
if (array_key_exists('name', $brand)) {
|
201 |
$plugins[$slug]['Name'] = $brand['name'];
|
222 |
return $plugins;
|
223 |
}
|
224 |
}
|
225 |
+
endif;
|