Google Sitemap by BestWebSoft - Version 2.9.5

Version Description

  • 23.12.2014
Download this release

Release Info

Developer bestwebsoft
Plugin Icon 128x128 Google Sitemap by BestWebSoft
Version 2.9.5
Comparing to
See all releases

Code changes from version 2.9.4 to 2.9.5

bws_menu/bws_menu.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Function for displaying BestWebSoft menu
4
- * Version: 1.3.9
5
  */
6
 
7
  if ( ! function_exists( 'bws_add_menu_render' ) ) {
@@ -12,6 +12,11 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
12
 
13
  if ( ! function_exists( 'is_plugin_active_for_network' ) )
14
  require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
 
 
 
 
 
15
 
16
  $bws_plugins = array(
17
  'captcha/captcha.php' => array(
@@ -19,7 +24,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
19
  'description' => 'Plugin intended to prove that the visitor is a human being and not a spam robot.',
20
  'link' => 'http://bestwebsoft.com/products/captcha/?k=d678516c0990e781edfb6a6c874f0b8a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
21
  'download' => 'http://bestwebsoft.com/products/captcha/download/?k=d678516c0990e781edfb6a6c874f0b8a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
22
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Captcha+bestwebsoft&plugin-search-input=Search+Plugins',
23
  'settings' => 'admin.php?page=captcha.php',
24
  'pro_version' => 'captcha-pro/captcha_pro.php',
25
  'purchase' => 'http://bestwebsoft.com/products/captcha/buy/?k=ff7d65e55e5e7f98f219be9ed711094e&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
@@ -30,7 +35,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
30
  'description' => 'Add Contact Form to your WordPress website.',
31
  'link' => 'http://bestwebsoft.com/products/contact-form/?k=012327ef413e5b527883e031d43b088b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
32
  'download' => 'http://bestwebsoft.com/products/contact-form/download/?k=012327ef413e5b527883e031d43b088b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
33
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Contact+Form+bestwebsoft&plugin-search-input=Search+Plugins',
34
  'settings' => 'admin.php?page=contact_form.php',
35
  'pro_version' => 'contact-form-pro/contact_form_pro.php',
36
  'purchase' => 'http://bestwebsoft.com/products/contact-form/buy/?k=773dc97bb3551975db0e32edca1a6d71&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
@@ -41,7 +46,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
41
  'description' => 'Allows you to add the Follow and Like buttons the easiest way.',
42
  'link' => 'http://bestwebsoft.com/products/facebook-like-button/?k=05ec4f12327f55848335802581467d55&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
43
  'download' => 'http://bestwebsoft.com/products/facebook-like-button/download/?k=05ec4f12327f55848335802581467d55&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
44
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Facebook+Like+Button+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
45
  'settings' => 'admin.php?page=facebook-button-plugin.php',
46
  'pro_version' => 'facebook-button-pro/facebook-button-pro.php',
47
  'purchase' => 'http://bestwebsoft.com/products/facebook-like-button/buy/?k=8da168e60a831cfb3525417c333ad275&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
@@ -52,7 +57,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
52
  'description' => 'Allows you to add the Twitter "Follow" and "Like" buttons the easiest way.',
53
  'link' => 'http://bestwebsoft.com/products/twitter/?k=f8cb514e25bd7ec4974d64435c5eb333&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
54
  'download' => 'http://bestwebsoft.com/products/twitter/download/?k=f8cb514e25bd7ec4974d64435c5eb333&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
55
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Twitter+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
56
  'settings' => 'admin.php?page=twitter.php',
57
  'pro_version' => 'twitter-pro/twitter-pro.php',
58
  'purchase' => 'http://bestwebsoft.com/products/twitter/buy/?k=63ecbf0cc9cebf060b5a3c9362299700&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
@@ -63,7 +68,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
63
  'description' => 'Allows you to create a page with the information about your past projects.',
64
  'link' => 'http://bestwebsoft.com/products/portfolio/?k=1249a890c5b7bba6bda3f528a94f768b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
65
  'download' => 'http://bestwebsoft.com/products/portfolio/download/?k=1249a890c5b7bba6bda3f528a94f768b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
66
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Portfolio+bestwebsoft&plugin-search-input=Search+Plugins',
67
  'settings' => 'admin.php?page=portfolio.php'
68
  ),
69
  'gallery-plugin/gallery-plugin.php' => array(
@@ -71,7 +76,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
71
  'description' => 'Allows you to implement a Gallery page into your website.',
72
  'link' => 'http://bestwebsoft.com/products/gallery/?k=2da21c0a64eec7ebf16337fa134c5f78&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
73
  'download' => 'http://bestwebsoft.com/products/gallery/download/?k=2da21c0a64eec7ebf16337fa134c5f78&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
74
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Gallery+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
75
  'settings' => 'admin.php?page=gallery-plugin.php',
76
  'pro_version' => 'gallery-plugin-pro/gallery-plugin-pro.php',
77
  'purchase' => 'http://bestwebsoft.com/products/gallery/buy/?k=382e5ce7c96a6391f5ffa5e116b37fe0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
@@ -82,7 +87,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
82
  'description' => 'Allows Google AdSense implementation to your website.',
83
  'link' => 'http://bestwebsoft.com/products/google-adsense/?k=60e3979921e354feb0347e88e7d7b73d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
84
  'download' => 'http://bestwebsoft.com/products/google-adsense/download/?k=60e3979921e354feb0347e88e7d7b73d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
85
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Adsense+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
86
  'settings' => 'admin.php?page=adsense-plugin.php'
87
  ),
88
  'custom-search-plugin/custom-search-plugin.php'=> array(
@@ -90,7 +95,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
90
  'description' => 'Allows to extend your website search functionality by adding a custom post type.',
91
  'link' => 'http://bestwebsoft.com/products/custom-search/?k=933be8f3a8b8719d95d1079d15443e29&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
92
  'download' => 'http://bestwebsoft.com/products/custom-search/download/?k=933be8f3a8b8719d95d1079d15443e29&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
93
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Custom+Search+plugin+bestwebsoft&plugin-search-input=Search+Plugins',
94
  'settings' => 'admin.php?page=custom_search.php'
95
  ),
96
  'quotes-and-tips/quotes-and-tips.php'=> array(
@@ -98,7 +103,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
98
  'description' => 'Allows you to implement quotes & tips block into your web site.',
99
  'link' => 'http://bestwebsoft.com/products/quotes-and-tips/?k=5738a4e85a798c4a5162240c6515098d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
100
  'download' => 'http://bestwebsoft.com/products/quotes-and-tips/download/?k=5738a4e85a798c4a5162240c6515098d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
101
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Quotes+and+Tips+bestwebsoft&plugin-search-input=Search+Plugins',
102
  'settings' => 'admin.php?page=quotes-and-tips.php'
103
  ),
104
  'google-sitemap-plugin/google-sitemap-plugin.php'=> array(
@@ -106,7 +111,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
106
  'description' => 'Allows you to add sitemap file to Google Webmaster Tools.',
107
  'link' => 'http://bestwebsoft.com/products/google-sitemap/?k=5202b2f5ce2cf85daee5e5f79a51d806&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
108
  'download' => 'http://bestwebsoft.com/products/google-sitemap/download/?k=5202b2f5ce2cf85daee5e5f79a51d806&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
109
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Google+sitemap+plugin+bestwebsoft&plugin-search-input=Search+Plugins',
110
  'settings' => 'admin.php?page=google-sitemap-plugin.php',
111
  'pro_version' => 'google-sitemap-pro/google-sitemap-pro.php',
112
  'purchase' => 'http://bestwebsoft.com/products/google-sitemap/buy/?k=7ea384a5cc36cb4c22741caa20dcd56d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
@@ -117,7 +122,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
117
  'description' => 'Allows you to update plugins and WP core.',
118
  'link' => 'http://bestwebsoft.com/products/updater/?k=66f3ecd4c1912009d395c4bb30f779d1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
119
  'download' => 'http://bestwebsoft.com/products/updater/download/?k=66f3ecd4c1912009d395c4bb30f779d1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
120
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=updater+bestwebsoft&plugin-search-input=Search+Plugins',
121
  'settings' => 'admin.php?page=updater-options',
122
  'pro_version' => 'updater-pro/updater_pro.php',
123
  'purchase' => 'http://bestwebsoft.com/products/updater/buy/?k=cf633acbefbdff78545347fe08a3aecb&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
@@ -128,7 +133,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
128
  'description' => 'Allows you to add website search any existing custom fields.',
129
  'link' => 'http://bestwebsoft.com/products/custom-fields-search/?k=f3f8285bb069250c42c6ffac95ed3284&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
130
  'download' => 'http://bestwebsoft.com/products/custom-fields-search/download/?k=f3f8285bb069250c42c6ffac95ed3284&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
131
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Custom+Fields+Search+bestwebsoft&plugin-search-input=Search+Plugins',
132
  'settings' => 'admin.php?page=custom_fields_search.php'
133
  ),
134
  'google-one/google-plus-one.php' => array(
@@ -136,7 +141,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
136
  'description' => 'Allows you to see how many times your page has been liked on Google Search Engine as well as who has liked the article.',
137
  'link' => 'http://bestwebsoft.com/products/google-plus-one/?k=ce7a88837f0a857b3a2bb142f470853c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
138
  'download' => 'http://bestwebsoft.com/products/google-plus-one/download/?k=ce7a88837f0a857b3a2bb142f470853c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
139
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Google+%2B1+bestwebsoft&plugin-search-input=Search+Plugins',
140
  'settings' => 'admin.php?page=google-plus-one.php',
141
  'pro_version' => 'google-one-pro/google-plus-one-pro.php',
142
  'purchase' => 'http://bestwebsoft.com/products/google-plus-one/buy/?k=f4b0a62d155c9df9601a0531ad5bd832&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
@@ -147,7 +152,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
147
  'description' => 'Allows you to display related posts with similar words in category, tags, title or by adding special meta key for posts.',
148
  'link' => 'http://bestwebsoft.com/products/related-posts/?k=73fb737037f7141e66415ec259f7e426&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
149
  'download' => 'http://bestwebsoft.com/products/related-posts/download/?k=73fb737037f7141e66415ec259f7e426&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
150
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Related+Posts+Plugin+Bestwebsoft&plugin-search-input=Search+Plugins',
151
  'settings' => 'admin.php?page=related-posts-plugin.php'
152
  ),
153
  'contact-form-to-db/contact_form_to_db.php' => array(
@@ -155,7 +160,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
155
  'description' => 'Allows you to manage the messages that have been sent from your site.',
156
  'link' => 'http://bestwebsoft.com/products/contact-form-to-db/?k=ba3747d317c2692e4136ca096a8989d6&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
157
  'download' => 'http://bestwebsoft.com/products/contact-form-to-db/download/?k=ba3747d317c2692e4136ca096a8989d6&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
158
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Contact+Form+to+DB+bestwebsoft&plugin-search-input=Search+Plugins',
159
  'settings' => 'admin.php?page=cntctfrmtdb_settings',
160
  'pro_version' => 'contact-form-to-db-pro/contact_form_to_db_pro.php',
161
  'purchase' => 'http://bestwebsoft.com/products/contact-form-to-db/buy/?k=6ce5f4a9006ec906e4db643669246c6a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
@@ -166,7 +171,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
166
  'description' => 'Allows you to create PDF and Print page with adding appropriate buttons to the content.',
167
  'link' => 'http://bestwebsoft.com/products/pdf-print/?k=bfefdfb522a4c0ff0141daa3f271840c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
168
  'download' => 'http://bestwebsoft.com/products/pdf-print/download/?k=bfefdfb522a4c0ff0141daa3f271840c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
169
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=PDF+Print+Bestwebsoft&plugin-search-input=Search+Plugins',
170
  'settings' => 'admin.php?page=pdf-print.php',
171
  'pro_version' => 'pdf-print-pro/pdf-print-pro.php',
172
  'purchase' => 'http://bestwebsoft.com/products/pdf-print/buy/?k=fd43a0e659ddc170a9060027cbfdcc3a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
@@ -177,7 +182,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
177
  'description' => 'Makes it possible to place donation buttons of various payment systems on your web page.',
178
  'link' => 'http://bestwebsoft.com/products/donate/?k=a8b2e2a56914fb1765dd20297c26401b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
179
  'download' => 'http://bestwebsoft.com/products/donate/download/?k=a8b2e2a56914fb1765dd20297c26401b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
180
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Donate+Bestwebsoft&plugin-search-input=Search+Plugins',
181
  'settings' => 'admin.php?page=donate.php'
182
  ),
183
  'post-to-csv/post-to-csv.php' => array(
@@ -185,7 +190,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
185
  'description' => 'The plugin allows to export posts of any types to a csv file.',
186
  'link' => 'http://bestwebsoft.com/products/post-to-csv/?k=653aa55518ae17409293a7a894268b8f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
187
  'download' => 'http://bestwebsoft.com/products/post-to-csv/download/?k=653aa55518ae17409293a7a894268b8f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
188
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Post+To+CSV+Bestwebsoft&plugin-search-input=Search+Plugins',
189
  'settings' => 'admin.php?page=post-to-csv.php'
190
  ),
191
  'google-shortlink/google-shortlink.php' => array(
@@ -193,7 +198,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
193
  'description' => 'Allows you to get short links from goo.gl servise without leaving your site.',
194
  'link' => 'http://bestwebsoft.com/products/google-shortlink/?k=afcf3eaed021bbbbeea1090e16bc22db&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
195
  'download' => 'http://bestwebsoft.com/products/google-shortlink/download/?k=afcf3eaed021bbbbeea1090e16bc22db&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
196
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Google+Shortlink+Bestwebsoft&plugin-search-input=Search+Plugins',
197
  'settings' => 'admin.php?page=gglshrtlnk_options'
198
  ),
199
  'htaccess/htaccess.php' => array(
@@ -201,7 +206,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
201
  'description' => 'Allows controlling access to your website using the directives Allow and Deny.',
202
  'link' => 'http://bestwebsoft.com/products/htaccess/?k=2b865fcd56a935d22c5c4f1bba52ed46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
203
  'download' => 'http://bestwebsoft.com/products/htaccess/download/?k=2b865fcd56a935d22c5c4f1bba52ed46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
204
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Htaccess+Bestwebsoft&plugin-search-input=Search+Plugins',
205
  'settings' => 'admin.php?page=htaccess.php'
206
  ),
207
  'google-captcha/google-captcha.php' => array(
@@ -209,7 +214,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
209
  'description' => 'Plugin intended to prove that the visitor is a human being and not a spam robot.',
210
  'link' => 'http://bestwebsoft.com/products/google-captcha/?k=7b59fbe542acf950b29f3e020d5ad735&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
211
  'download' => 'http://bestwebsoft.com/products/google-captcha/download/?k=7b59fbe542acf950b29f3e020d5ad735&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
212
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Google+Captcha+Bestwebsoft&plugin-search-input=Search+Plugins',
213
  'settings' => 'admin.php?page=google-captcha.php'
214
  ),
215
  'sender/sender.php' => array(
@@ -217,7 +222,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
217
  'description' => 'You can send mails to all users or to certain categories of users.',
218
  'link' => 'http://bestwebsoft.com/products/sender/?k=89c297d14ba85a8417a0f2fc05e089c7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
219
  'download' => 'http://bestwebsoft.com/products/sender/download/?k=89c297d14ba85a8417a0f2fc05e089c7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
220
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Sender+Bestwebsoft&plugin-search-input=Search+Plugins',
221
  'settings' => 'admin.php?page=sndr_settings',
222
  'pro_version' => 'sender-pro/sender-pro.php',
223
  'purchase' => 'http://bestwebsoft.com/products/sender/buy/?k=dc5d1a87bdc8aeab2de40ffb99b38054&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
@@ -228,7 +233,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
228
  'description' => 'This plugin allows you to subscribe users for newsletters from your website.',
229
  'link' => 'http://bestwebsoft.com/products/subscriber/?k=a4ecc1b7800bae7329fbe8b4b04e9c88&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
230
  'download' => 'http://bestwebsoft.com/products/subscriber/download/?k=a4ecc1b7800bae7329fbe8b4b04e9c88&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
231
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Subscriber+Bestwebsoft&plugin-search-input=Search+Plugins',
232
  'settings' => 'admin.php?page=sbscrbr_settings_page'
233
  ),
234
  'contact-form-multi/contact-form-multi.php' => array(
@@ -236,7 +241,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
236
  'description' => 'This plugin allows you to subscribe users for newsletters from your website.',
237
  'link' => 'http://bestwebsoft.com/products/contact-form-multi/?k=83cdd9e72a9f4061122ad28a67293c72&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
238
  'download' => 'http://bestwebsoft.com/products/contact-form-multi/download/?k=83cdd9e72a9f4061122ad28a67293c72&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
239
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Contact+Form+Multi+Bestwebsoft&plugin-search-input=Search+Plugins',
240
  'settings' => '',
241
  'pro_version' => 'contact-form-multi-pro/contact-form-multi-pro.php',
242
  'purchase' => 'http://bestwebsoft.com/products/contact-form-multi/buy/?k=fde3a18581c143654f060c398b07e8ac&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
@@ -247,7 +252,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
247
  'description' => 'Easy to set up and insert Google Maps to your website.',
248
  'link' => 'http://bestwebsoft.com/products/bws-google-maps/?k=d8fac412d7359ebaa4ff53b46572f9f7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
249
  'download' => 'http://bestwebsoft.com/products/bws-google-maps/download/?k=d8fac412d7359ebaa4ff53b46572f9f7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
250
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=BestWebSoft+Google+Maps&plugin-search-input=Search+Plugins',
251
  'settings' => 'admin.php?page=bws-google-maps.php',
252
  'pro_version' => 'bws-google-maps-pro/bws-google-maps-pro.php',
253
  'purchase' => 'http://bestwebsoft.com/products/bws-google-maps/buy/?k=117c3f9fc17f2c83ef430a8a9dc06f56&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
@@ -258,7 +263,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
258
  'description' => 'Allows you to retrieve basic stats from Google Analytics account and add the tracking code to your blog.',
259
  'link' => 'http://bestwebsoft.com/products/bws-google-analytics/?k=261c74cad753fb279cdf5a5db63fbd43&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
260
  'download' => 'http://bestwebsoft.com/products/bws-google-analytics/download/?k=261c74cad753fb279cdf5a5db63fbd43&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
261
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=BestWebSoft+Google+Analytics&plugin-search-input=Search+Plugins',
262
  'settings' => 'admin.php?page=bws-google-analytics.php'
263
  ),
264
  'db-manager/db-manager.php' => array(
@@ -274,7 +279,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
274
  'description' => 'Allows to change wordpress user role capabilities.',
275
  'link' => 'http://bestwebsoft.com/products/user-role/?k=dfe2244835c6fbf601523964b3f34ccc&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
276
  'download' => 'http://bestwebsoft.com/products/user-role/download/?k=dfe2244835c6fbf601523964b3f34ccc&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
277
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=User+Role+BestWebSoft&plugin-search-input=Search+Plugins',
278
  'settings' => 'admin.php?page=user-role.php',
279
  'pro_version' => 'user-role-pro/user-role-pro.php',
280
  'purchase' => 'http://bestwebsoft.com/products/user-role/buy/?k=cfa9cea6613fb3d7c0a3622fa2faaf46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
@@ -285,7 +290,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
285
  'description' => 'Allows to manage email massages sent by BestWebSoft plugins.',
286
  'link' => 'http://bestwebsoft.com/products/email-queue/?k=e345e1b6623f0dca119bc2d9433b130b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
287
  'download' => 'http://bestwebsoft.com/products/email-queue/download/?k=e345e1b6623f0dca119bc2d9433b130b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
288
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Email+Queue+BestWebSoft&plugin-search-input=Search+Plugins',
289
  'settings' => 'admin.php?page=mlq_settings'
290
  ),
291
  'limit-attempts/limit-attempts.php' => array(
@@ -293,7 +298,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
293
  'description' => 'Allows you to limit rate of login attempts by the ip, and create whitelist and blacklist.',
294
  'link' => 'http://bestwebsoft.com/products/limit-attempts/?k=b14e1697ee4d008abcd4bd34d492573a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
295
  'download' => 'http://bestwebsoft.com/products/limit-attempts/download/?k=b14e1697ee4d008abcd4bd34d492573a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
296
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Limit+Attempts+BestWebSoft&plugin-search-input=Search+Plugins',
297
  'settings' => 'admin.php?page=limit-attempts.php',
298
  'pro_version' => 'limit-attempts-pro/limit-attempts-pro.php',
299
  'purchase' => 'http://bestwebsoft.com/products/limit-attempts/buy/?k=9d42cdf22c7fce2c4b6b447e6a2856e0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
@@ -304,7 +309,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
304
  'description' => 'Allows to create a job-board page on your site.',
305
  'link' => 'http://bestwebsoft.com/products/job-board/?k=b0c504c9ce6edd6692e04222af3fed6f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
306
  'download' => 'http://bestwebsoft.com/products/job-board/download/?k=b0c504c9ce6edd6692e04222af3fed6f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
307
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Job+board+BestWebSoft&plugin-search-input=Search+Plugins',
308
  'settings' => 'admin.php?page=job-board.php'
309
  ),
310
  'multilanguage/multilanguage.php' => array(
@@ -312,7 +317,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
312
  'description' => 'Allows to create content on a Wordpress site in different languages.',
313
  'link' => 'http://bestwebsoft.com/products/multilanguage/?k=7d68c7bfec2486dc350c67fff57ad433&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
314
  'download' => 'http://bestwebsoft.com/products/multilanguage/download/?k=7d68c7bfec2486dc350c67fff57ad433&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
315
- 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Multilanguage+BestWebSoft&plugin-search-input=Search+Plugins',
316
  'settings' => 'admin.php?page=mltlngg_settings'
317
  )
318
  );
@@ -331,6 +336,8 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
331
  foreach ( $all_plugins as $key_plugin => $value_plugin ) {
332
  if ( isset( $value_plugin['Author'] ) && $value_plugin['Author'] != "BestWebSoft" )
333
  unset( $all_plugins[ $key_plugin ] );
 
 
334
  else {
335
  foreach ( $bws_plugins as $key => $value ) {
336
  if ( isset( $value['pro_version'] ) && $value['pro_version'] == $key_plugin ) {
@@ -392,7 +399,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
392
  __( 'PHP IPTC support', 'bestwebsoft' ) => $iptcparse,
393
  __( 'PHP XML support', 'bestwebsoft' ) => $xml_parser_create,
394
  __( 'Site URL', 'bestwebsoft' ) => get_option( 'siteurl' ),
395
- __( 'Home URL', 'bestwebsoft' ) => get_option( 'home' ),
396
  '$_SERVER[HTTP_HOST]' => $_SERVER['HTTP_HOST'],
397
  '$_SERVER[SERVER_NAME]' => $_SERVER['SERVER_NAME'],
398
  __( 'WordPress Version', 'bestwebsoft' ) => $wp_version,
@@ -428,7 +435,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
428
  $headers = 'MIME-Version: 1.0' . "\n";
429
  $headers .= 'Content-type: text/html; charset=utf-8' . "\n";
430
  $headers .= 'From: ' . get_option( 'admin_email' );
431
- $message_text = '<html><head><title>System Info From ' . $home_url . '</title></head><body>
432
  <h4>Environment</h4>
433
  <table>';
434
  foreach ( $system_info['system_info'] as $key => $value ) {
@@ -452,7 +459,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
452
  $message_text .= '</table>';
453
  }
454
  $message_text .= '</body></html>';
455
- $result = wp_mail( $email, 'System Info From ' . $home_url, $message_text, $headers );
456
  if ( $result != true )
457
  $error = __( "Sorry, email message could not be delivered.", 'bestwebsoft' );
458
  }
@@ -462,8 +469,8 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
462
  <h2>
463
  <span class="bws_main title">BestWebSoft</span>
464
  <ul class="subsubsub bws_title_menu">
465
- <li><a href="http://support.bestwebsoft.com/home" target="_blank"><?php _e( 'Need help?', 'bestwebsoft' ); ?></a></li> |
466
- <li><a href="http://bestwebsoft.com/wp-login.php" target="_blank"><?php _e( 'Client area', 'bestwebsoft' ); ?></a></li>
467
  <li><a class="bws_system_status <?php if ( isset( $_GET['action'] ) && 'system_status' == $_GET['action'] ) echo ' nav-tab-active'; ?>" href="admin.php?page=bws_plugins&amp;action=system_status"><?php _e( 'System status', 'bestwebsoft' ); ?></a></li>
468
  </ul>
469
  <div class="clear"></div>
1
  <?php
2
  /*
3
  * Function for displaying BestWebSoft menu
4
+ * Version: 1.4.0
5
  */
6
 
7
  if ( ! function_exists( 'bws_add_menu_render' ) ) {
12
 
13
  if ( ! function_exists( 'is_plugin_active_for_network' ) )
14
  require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
15
+
16
+ if ( function_exists( 'is_multisite' ) )
17
+ $admin_url = ( ! is_multisite() ) ? admin_url( '/' ) : network_admin_url( '/' );
18
+ else
19
+ $admin_url = admin_url( '/' );
20
 
21
  $bws_plugins = array(
22
  'captcha/captcha.php' => array(
24
  'description' => 'Plugin intended to prove that the visitor is a human being and not a spam robot.',
25
  'link' => 'http://bestwebsoft.com/products/captcha/?k=d678516c0990e781edfb6a6c874f0b8a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
26
  'download' => 'http://bestwebsoft.com/products/captcha/download/?k=d678516c0990e781edfb6a6c874f0b8a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
27
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Captcha+bestwebsoft&plugin-search-input=Search+Plugins',
28
  'settings' => 'admin.php?page=captcha.php',
29
  'pro_version' => 'captcha-pro/captcha_pro.php',
30
  'purchase' => 'http://bestwebsoft.com/products/captcha/buy/?k=ff7d65e55e5e7f98f219be9ed711094e&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
35
  'description' => 'Add Contact Form to your WordPress website.',
36
  'link' => 'http://bestwebsoft.com/products/contact-form/?k=012327ef413e5b527883e031d43b088b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
37
  'download' => 'http://bestwebsoft.com/products/contact-form/download/?k=012327ef413e5b527883e031d43b088b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
38
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Contact+Form+bestwebsoft&plugin-search-input=Search+Plugins',
39
  'settings' => 'admin.php?page=contact_form.php',
40
  'pro_version' => 'contact-form-pro/contact_form_pro.php',
41
  'purchase' => 'http://bestwebsoft.com/products/contact-form/buy/?k=773dc97bb3551975db0e32edca1a6d71&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
46
  'description' => 'Allows you to add the Follow and Like buttons the easiest way.',
47
  'link' => 'http://bestwebsoft.com/products/facebook-like-button/?k=05ec4f12327f55848335802581467d55&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
48
  'download' => 'http://bestwebsoft.com/products/facebook-like-button/download/?k=05ec4f12327f55848335802581467d55&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
49
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Facebook+Like+Button+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
50
  'settings' => 'admin.php?page=facebook-button-plugin.php',
51
  'pro_version' => 'facebook-button-pro/facebook-button-pro.php',
52
  'purchase' => 'http://bestwebsoft.com/products/facebook-like-button/buy/?k=8da168e60a831cfb3525417c333ad275&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
57
  'description' => 'Allows you to add the Twitter "Follow" and "Like" buttons the easiest way.',
58
  'link' => 'http://bestwebsoft.com/products/twitter/?k=f8cb514e25bd7ec4974d64435c5eb333&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
59
  'download' => 'http://bestwebsoft.com/products/twitter/download/?k=f8cb514e25bd7ec4974d64435c5eb333&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
60
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Twitter+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
61
  'settings' => 'admin.php?page=twitter.php',
62
  'pro_version' => 'twitter-pro/twitter-pro.php',
63
  'purchase' => 'http://bestwebsoft.com/products/twitter/buy/?k=63ecbf0cc9cebf060b5a3c9362299700&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
68
  'description' => 'Allows you to create a page with the information about your past projects.',
69
  'link' => 'http://bestwebsoft.com/products/portfolio/?k=1249a890c5b7bba6bda3f528a94f768b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
70
  'download' => 'http://bestwebsoft.com/products/portfolio/download/?k=1249a890c5b7bba6bda3f528a94f768b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
71
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Portfolio+bestwebsoft&plugin-search-input=Search+Plugins',
72
  'settings' => 'admin.php?page=portfolio.php'
73
  ),
74
  'gallery-plugin/gallery-plugin.php' => array(
76
  'description' => 'Allows you to implement a Gallery page into your website.',
77
  'link' => 'http://bestwebsoft.com/products/gallery/?k=2da21c0a64eec7ebf16337fa134c5f78&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
78
  'download' => 'http://bestwebsoft.com/products/gallery/download/?k=2da21c0a64eec7ebf16337fa134c5f78&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
79
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Gallery+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
80
  'settings' => 'admin.php?page=gallery-plugin.php',
81
  'pro_version' => 'gallery-plugin-pro/gallery-plugin-pro.php',
82
  'purchase' => 'http://bestwebsoft.com/products/gallery/buy/?k=382e5ce7c96a6391f5ffa5e116b37fe0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
87
  'description' => 'Allows Google AdSense implementation to your website.',
88
  'link' => 'http://bestwebsoft.com/products/google-adsense/?k=60e3979921e354feb0347e88e7d7b73d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
89
  'download' => 'http://bestwebsoft.com/products/google-adsense/download/?k=60e3979921e354feb0347e88e7d7b73d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
90
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Adsense+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
91
  'settings' => 'admin.php?page=adsense-plugin.php'
92
  ),
93
  'custom-search-plugin/custom-search-plugin.php'=> array(
95
  'description' => 'Allows to extend your website search functionality by adding a custom post type.',
96
  'link' => 'http://bestwebsoft.com/products/custom-search/?k=933be8f3a8b8719d95d1079d15443e29&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
97
  'download' => 'http://bestwebsoft.com/products/custom-search/download/?k=933be8f3a8b8719d95d1079d15443e29&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
98
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Custom+Search+plugin+bestwebsoft&plugin-search-input=Search+Plugins',
99
  'settings' => 'admin.php?page=custom_search.php'
100
  ),
101
  'quotes-and-tips/quotes-and-tips.php'=> array(
103
  'description' => 'Allows you to implement quotes & tips block into your web site.',
104
  'link' => 'http://bestwebsoft.com/products/quotes-and-tips/?k=5738a4e85a798c4a5162240c6515098d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
105
  'download' => 'http://bestwebsoft.com/products/quotes-and-tips/download/?k=5738a4e85a798c4a5162240c6515098d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
106
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Quotes+and+Tips+bestwebsoft&plugin-search-input=Search+Plugins',
107
  'settings' => 'admin.php?page=quotes-and-tips.php'
108
  ),
109
  'google-sitemap-plugin/google-sitemap-plugin.php'=> array(
111
  'description' => 'Allows you to add sitemap file to Google Webmaster Tools.',
112
  'link' => 'http://bestwebsoft.com/products/google-sitemap/?k=5202b2f5ce2cf85daee5e5f79a51d806&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
113
  'download' => 'http://bestwebsoft.com/products/google-sitemap/download/?k=5202b2f5ce2cf85daee5e5f79a51d806&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
114
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Google+sitemap+plugin+bestwebsoft&plugin-search-input=Search+Plugins',
115
  'settings' => 'admin.php?page=google-sitemap-plugin.php',
116
  'pro_version' => 'google-sitemap-pro/google-sitemap-pro.php',
117
  'purchase' => 'http://bestwebsoft.com/products/google-sitemap/buy/?k=7ea384a5cc36cb4c22741caa20dcd56d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
122
  'description' => 'Allows you to update plugins and WP core.',
123
  'link' => 'http://bestwebsoft.com/products/updater/?k=66f3ecd4c1912009d395c4bb30f779d1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
124
  'download' => 'http://bestwebsoft.com/products/updater/download/?k=66f3ecd4c1912009d395c4bb30f779d1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
125
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=updater+bestwebsoft&plugin-search-input=Search+Plugins',
126
  'settings' => 'admin.php?page=updater-options',
127
  'pro_version' => 'updater-pro/updater_pro.php',
128
  'purchase' => 'http://bestwebsoft.com/products/updater/buy/?k=cf633acbefbdff78545347fe08a3aecb&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
133
  'description' => 'Allows you to add website search any existing custom fields.',
134
  'link' => 'http://bestwebsoft.com/products/custom-fields-search/?k=f3f8285bb069250c42c6ffac95ed3284&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
135
  'download' => 'http://bestwebsoft.com/products/custom-fields-search/download/?k=f3f8285bb069250c42c6ffac95ed3284&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
136
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Custom+Fields+Search+bestwebsoft&plugin-search-input=Search+Plugins',
137
  'settings' => 'admin.php?page=custom_fields_search.php'
138
  ),
139
  'google-one/google-plus-one.php' => array(
141
  'description' => 'Allows you to see how many times your page has been liked on Google Search Engine as well as who has liked the article.',
142
  'link' => 'http://bestwebsoft.com/products/google-plus-one/?k=ce7a88837f0a857b3a2bb142f470853c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
143
  'download' => 'http://bestwebsoft.com/products/google-plus-one/download/?k=ce7a88837f0a857b3a2bb142f470853c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
144
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Google+%2B1+bestwebsoft&plugin-search-input=Search+Plugins',
145
  'settings' => 'admin.php?page=google-plus-one.php',
146
  'pro_version' => 'google-one-pro/google-plus-one-pro.php',
147
  'purchase' => 'http://bestwebsoft.com/products/google-plus-one/buy/?k=f4b0a62d155c9df9601a0531ad5bd832&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
152
  'description' => 'Allows you to display related posts with similar words in category, tags, title or by adding special meta key for posts.',
153
  'link' => 'http://bestwebsoft.com/products/related-posts/?k=73fb737037f7141e66415ec259f7e426&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
154
  'download' => 'http://bestwebsoft.com/products/related-posts/download/?k=73fb737037f7141e66415ec259f7e426&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
155
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Related+Posts+Plugin+Bestwebsoft&plugin-search-input=Search+Plugins',
156
  'settings' => 'admin.php?page=related-posts-plugin.php'
157
  ),
158
  'contact-form-to-db/contact_form_to_db.php' => array(
160
  'description' => 'Allows you to manage the messages that have been sent from your site.',
161
  'link' => 'http://bestwebsoft.com/products/contact-form-to-db/?k=ba3747d317c2692e4136ca096a8989d6&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
162
  'download' => 'http://bestwebsoft.com/products/contact-form-to-db/download/?k=ba3747d317c2692e4136ca096a8989d6&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
163
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Contact+Form+to+DB+bestwebsoft&plugin-search-input=Search+Plugins',
164
  'settings' => 'admin.php?page=cntctfrmtdb_settings',
165
  'pro_version' => 'contact-form-to-db-pro/contact_form_to_db_pro.php',
166
  'purchase' => 'http://bestwebsoft.com/products/contact-form-to-db/buy/?k=6ce5f4a9006ec906e4db643669246c6a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
171
  'description' => 'Allows you to create PDF and Print page with adding appropriate buttons to the content.',
172
  'link' => 'http://bestwebsoft.com/products/pdf-print/?k=bfefdfb522a4c0ff0141daa3f271840c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
173
  'download' => 'http://bestwebsoft.com/products/pdf-print/download/?k=bfefdfb522a4c0ff0141daa3f271840c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
174
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=PDF+Print+Bestwebsoft&plugin-search-input=Search+Plugins',
175
  'settings' => 'admin.php?page=pdf-print.php',
176
  'pro_version' => 'pdf-print-pro/pdf-print-pro.php',
177
  'purchase' => 'http://bestwebsoft.com/products/pdf-print/buy/?k=fd43a0e659ddc170a9060027cbfdcc3a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
182
  'description' => 'Makes it possible to place donation buttons of various payment systems on your web page.',
183
  'link' => 'http://bestwebsoft.com/products/donate/?k=a8b2e2a56914fb1765dd20297c26401b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
184
  'download' => 'http://bestwebsoft.com/products/donate/download/?k=a8b2e2a56914fb1765dd20297c26401b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
185
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Donate+Bestwebsoft&plugin-search-input=Search+Plugins',
186
  'settings' => 'admin.php?page=donate.php'
187
  ),
188
  'post-to-csv/post-to-csv.php' => array(
190
  'description' => 'The plugin allows to export posts of any types to a csv file.',
191
  'link' => 'http://bestwebsoft.com/products/post-to-csv/?k=653aa55518ae17409293a7a894268b8f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
192
  'download' => 'http://bestwebsoft.com/products/post-to-csv/download/?k=653aa55518ae17409293a7a894268b8f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
193
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Post+To+CSV+Bestwebsoft&plugin-search-input=Search+Plugins',
194
  'settings' => 'admin.php?page=post-to-csv.php'
195
  ),
196
  'google-shortlink/google-shortlink.php' => array(
198
  'description' => 'Allows you to get short links from goo.gl servise without leaving your site.',
199
  'link' => 'http://bestwebsoft.com/products/google-shortlink/?k=afcf3eaed021bbbbeea1090e16bc22db&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
200
  'download' => 'http://bestwebsoft.com/products/google-shortlink/download/?k=afcf3eaed021bbbbeea1090e16bc22db&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
201
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Google+Shortlink+Bestwebsoft&plugin-search-input=Search+Plugins',
202
  'settings' => 'admin.php?page=gglshrtlnk_options'
203
  ),
204
  'htaccess/htaccess.php' => array(
206
  'description' => 'Allows controlling access to your website using the directives Allow and Deny.',
207
  'link' => 'http://bestwebsoft.com/products/htaccess/?k=2b865fcd56a935d22c5c4f1bba52ed46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
208
  'download' => 'http://bestwebsoft.com/products/htaccess/download/?k=2b865fcd56a935d22c5c4f1bba52ed46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
209
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Htaccess+Bestwebsoft&plugin-search-input=Search+Plugins',
210
  'settings' => 'admin.php?page=htaccess.php'
211
  ),
212
  'google-captcha/google-captcha.php' => array(
214
  'description' => 'Plugin intended to prove that the visitor is a human being and not a spam robot.',
215
  'link' => 'http://bestwebsoft.com/products/google-captcha/?k=7b59fbe542acf950b29f3e020d5ad735&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
216
  'download' => 'http://bestwebsoft.com/products/google-captcha/download/?k=7b59fbe542acf950b29f3e020d5ad735&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
217
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Google+Captcha+Bestwebsoft&plugin-search-input=Search+Plugins',
218
  'settings' => 'admin.php?page=google-captcha.php'
219
  ),
220
  'sender/sender.php' => array(
222
  'description' => 'You can send mails to all users or to certain categories of users.',
223
  'link' => 'http://bestwebsoft.com/products/sender/?k=89c297d14ba85a8417a0f2fc05e089c7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
224
  'download' => 'http://bestwebsoft.com/products/sender/download/?k=89c297d14ba85a8417a0f2fc05e089c7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
225
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Sender+Bestwebsoft&plugin-search-input=Search+Plugins',
226
  'settings' => 'admin.php?page=sndr_settings',
227
  'pro_version' => 'sender-pro/sender-pro.php',
228
  'purchase' => 'http://bestwebsoft.com/products/sender/buy/?k=dc5d1a87bdc8aeab2de40ffb99b38054&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
233
  'description' => 'This plugin allows you to subscribe users for newsletters from your website.',
234
  'link' => 'http://bestwebsoft.com/products/subscriber/?k=a4ecc1b7800bae7329fbe8b4b04e9c88&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
235
  'download' => 'http://bestwebsoft.com/products/subscriber/download/?k=a4ecc1b7800bae7329fbe8b4b04e9c88&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
236
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Subscriber+Bestwebsoft&plugin-search-input=Search+Plugins',
237
  'settings' => 'admin.php?page=sbscrbr_settings_page'
238
  ),
239
  'contact-form-multi/contact-form-multi.php' => array(
241
  'description' => 'This plugin allows you to subscribe users for newsletters from your website.',
242
  'link' => 'http://bestwebsoft.com/products/contact-form-multi/?k=83cdd9e72a9f4061122ad28a67293c72&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
243
  'download' => 'http://bestwebsoft.com/products/contact-form-multi/download/?k=83cdd9e72a9f4061122ad28a67293c72&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
244
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Contact+Form+Multi+Bestwebsoft&plugin-search-input=Search+Plugins',
245
  'settings' => '',
246
  'pro_version' => 'contact-form-multi-pro/contact-form-multi-pro.php',
247
  'purchase' => 'http://bestwebsoft.com/products/contact-form-multi/buy/?k=fde3a18581c143654f060c398b07e8ac&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
252
  'description' => 'Easy to set up and insert Google Maps to your website.',
253
  'link' => 'http://bestwebsoft.com/products/bws-google-maps/?k=d8fac412d7359ebaa4ff53b46572f9f7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
254
  'download' => 'http://bestwebsoft.com/products/bws-google-maps/download/?k=d8fac412d7359ebaa4ff53b46572f9f7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
255
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=BestWebSoft+Google+Maps&plugin-search-input=Search+Plugins',
256
  'settings' => 'admin.php?page=bws-google-maps.php',
257
  'pro_version' => 'bws-google-maps-pro/bws-google-maps-pro.php',
258
  'purchase' => 'http://bestwebsoft.com/products/bws-google-maps/buy/?k=117c3f9fc17f2c83ef430a8a9dc06f56&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
263
  'description' => 'Allows you to retrieve basic stats from Google Analytics account and add the tracking code to your blog.',
264
  'link' => 'http://bestwebsoft.com/products/bws-google-analytics/?k=261c74cad753fb279cdf5a5db63fbd43&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
265
  'download' => 'http://bestwebsoft.com/products/bws-google-analytics/download/?k=261c74cad753fb279cdf5a5db63fbd43&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
266
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=BestWebSoft+Google+Analytics&plugin-search-input=Search+Plugins',
267
  'settings' => 'admin.php?page=bws-google-analytics.php'
268
  ),
269
  'db-manager/db-manager.php' => array(
279
  'description' => 'Allows to change wordpress user role capabilities.',
280
  'link' => 'http://bestwebsoft.com/products/user-role/?k=dfe2244835c6fbf601523964b3f34ccc&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
281
  'download' => 'http://bestwebsoft.com/products/user-role/download/?k=dfe2244835c6fbf601523964b3f34ccc&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
282
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=User+Role+BestWebSoft&plugin-search-input=Search+Plugins',
283
  'settings' => 'admin.php?page=user-role.php',
284
  'pro_version' => 'user-role-pro/user-role-pro.php',
285
  'purchase' => 'http://bestwebsoft.com/products/user-role/buy/?k=cfa9cea6613fb3d7c0a3622fa2faaf46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
290
  'description' => 'Allows to manage email massages sent by BestWebSoft plugins.',
291
  'link' => 'http://bestwebsoft.com/products/email-queue/?k=e345e1b6623f0dca119bc2d9433b130b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
292
  'download' => 'http://bestwebsoft.com/products/email-queue/download/?k=e345e1b6623f0dca119bc2d9433b130b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
293
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Email+Queue+BestWebSoft&plugin-search-input=Search+Plugins',
294
  'settings' => 'admin.php?page=mlq_settings'
295
  ),
296
  'limit-attempts/limit-attempts.php' => array(
298
  'description' => 'Allows you to limit rate of login attempts by the ip, and create whitelist and blacklist.',
299
  'link' => 'http://bestwebsoft.com/products/limit-attempts/?k=b14e1697ee4d008abcd4bd34d492573a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
300
  'download' => 'http://bestwebsoft.com/products/limit-attempts/download/?k=b14e1697ee4d008abcd4bd34d492573a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
301
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&s=Limit+Attempts+BestWebSoft&plugin-search-input=Search+Plugins',
302
  'settings' => 'admin.php?page=limit-attempts.php',
303
  'pro_version' => 'limit-attempts-pro/limit-attempts-pro.php',
304
  'purchase' => 'http://bestwebsoft.com/products/limit-attempts/buy/?k=9d42cdf22c7fce2c4b6b447e6a2856e0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
309
  'description' => 'Allows to create a job-board page on your site.',
310
  'link' => 'http://bestwebsoft.com/products/job-board/?k=b0c504c9ce6edd6692e04222af3fed6f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
311
  'download' => 'http://bestwebsoft.com/products/job-board/download/?k=b0c504c9ce6edd6692e04222af3fed6f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
312
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Job+board+BestWebSoft&plugin-search-input=Search+Plugins',
313
  'settings' => 'admin.php?page=job-board.php'
314
  ),
315
  'multilanguage/multilanguage.php' => array(
317
  'description' => 'Allows to create content on a Wordpress site in different languages.',
318
  'link' => 'http://bestwebsoft.com/products/multilanguage/?k=7d68c7bfec2486dc350c67fff57ad433&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
319
  'download' => 'http://bestwebsoft.com/products/multilanguage/download/?k=7d68c7bfec2486dc350c67fff57ad433&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
320
+ 'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Multilanguage+BestWebSoft&plugin-search-input=Search+Plugins',
321
  'settings' => 'admin.php?page=mltlngg_settings'
322
  )
323
  );
336
  foreach ( $all_plugins as $key_plugin => $value_plugin ) {
337
  if ( isset( $value_plugin['Author'] ) && $value_plugin['Author'] != "BestWebSoft" )
338
  unset( $all_plugins[ $key_plugin ] );
339
+ elseif ( '-plus.php' == substr( $key_plugin, -9, 9 ) )
340
+ unset( $all_plugins[ $key_plugin ] );
341
  else {
342
  foreach ( $bws_plugins as $key => $value ) {
343
  if ( isset( $value['pro_version'] ) && $value['pro_version'] == $key_plugin ) {
399
  __( 'PHP IPTC support', 'bestwebsoft' ) => $iptcparse,
400
  __( 'PHP XML support', 'bestwebsoft' ) => $xml_parser_create,
401
  __( 'Site URL', 'bestwebsoft' ) => get_option( 'siteurl' ),
402
+ __( 'Home URL', 'bestwebsoft' ) => home_url(),
403
  '$_SERVER[HTTP_HOST]' => $_SERVER['HTTP_HOST'],
404
  '$_SERVER[SERVER_NAME]' => $_SERVER['SERVER_NAME'],
405
  __( 'WordPress Version', 'bestwebsoft' ) => $wp_version,
435
  $headers = 'MIME-Version: 1.0' . "\n";
436
  $headers .= 'Content-type: text/html; charset=utf-8' . "\n";
437
  $headers .= 'From: ' . get_option( 'admin_email' );
438
+ $message_text = '<html><head><title>System Info From ' . home_url() . '</title></head><body>
439
  <h4>Environment</h4>
440
  <table>';
441
  foreach ( $system_info['system_info'] as $key => $value ) {
459
  $message_text .= '</table>';
460
  }
461
  $message_text .= '</body></html>';
462
+ $result = wp_mail( $email, 'System Info From ' . home_url(), $message_text, $headers );
463
  if ( $result != true )
464
  $error = __( "Sorry, email message could not be delivered.", 'bestwebsoft' );
465
  }
469
  <h2>
470
  <span class="bws_main title">BestWebSoft</span>
471
  <ul class="subsubsub bws_title_menu">
472
+ <li><a href="<?php echo esc_url( 'http://support.bestwebsoft.com/home' ); ?>" target="_blank"><?php _e( 'Need help?', 'bestwebsoft' ); ?></a></li> |
473
+ <li><a href="<?php echo esc_url( 'http://bestwebsoft.com/wp-login.php' ); ?>" target="_blank"><?php _e( 'Client area', 'bestwebsoft' ); ?></a></li>
474
  <li><a class="bws_system_status <?php if ( isset( $_GET['action'] ) && 'system_status' == $_GET['action'] ) echo ' nav-tab-active'; ?>" href="admin.php?page=bws_plugins&amp;action=system_status"><?php _e( 'System status', 'bestwebsoft' ); ?></a></li>
475
  </ul>
476
  <div class="clear"></div>
google-sitemap-plugin.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Google Sitemap by BestWebSoft
4
  Plugin URI: http://bestwebsoft.com/products/
5
  Description: Plugin to add google sitemap file in Google Webmaster Tools account.
6
  Author: BestWebSoft
7
- Version: 2.9.4
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv2 or later
10
  */
@@ -35,19 +35,31 @@ if ( ! function_exists( 'gglstmp_admin_menu' ) ) {
35
  $base = plugin_basename(__FILE__);
36
 
37
  if ( ! isset( $bstwbsftwppdtplgns_options ) ) {
38
- if ( ! get_option( 'bstwbsftwppdtplgns_options' ) )
39
- add_option( 'bstwbsftwppdtplgns_options', array(), '', 'yes' );
40
- $bstwbsftwppdtplgns_options = get_option( 'bstwbsftwppdtplgns_options' );
 
 
 
 
 
 
41
  }
42
 
43
  if ( isset( $bstwbsftwppdtplgns_options['bws_menu_version'] ) ) {
44
  $bstwbsftwppdtplgns_options['bws_menu']['version'][ $base ] = $bws_menu_version;
45
  unset( $bstwbsftwppdtplgns_options['bws_menu_version'] );
46
- update_option( 'bstwbsftwppdtplgns_options', $bstwbsftwppdtplgns_options, '', 'yes' );
 
 
 
47
  require_once( dirname( __FILE__ ) . '/bws_menu/bws_menu.php' );
48
  } else if ( ! isset( $bstwbsftwppdtplgns_options['bws_menu']['version'][ $base ] ) || $bstwbsftwppdtplgns_options['bws_menu']['version'][ $base ] < $bws_menu_version ) {
49
  $bstwbsftwppdtplgns_options['bws_menu']['version'][ $base ] = $bws_menu_version;
50
- update_option( 'bstwbsftwppdtplgns_options', $bstwbsftwppdtplgns_options, '', 'yes' );
 
 
 
51
  require_once( dirname( __FILE__ ) . '/bws_menu/bws_menu.php' );
52
  } else if ( ! isset( $bstwbsftwppdtplgns_added_menu ) ) {
53
  $plugin_with_newer_menu = $base;
@@ -61,7 +73,7 @@ if ( ! function_exists( 'gglstmp_admin_menu' ) ) {
61
  if ( file_exists( ABSPATH . $wp_content_dir . '/plugins/' . $plugin_with_newer_menu[0] . '/bws_menu/bws_menu.php' ) )
62
  require_once( ABSPATH . $wp_content_dir . '/plugins/' . $plugin_with_newer_menu[0] . '/bws_menu/bws_menu.php' );
63
  else
64
- require_once( dirname( __FILE__ ) . '/bws_menu/bws_menu.php' );
65
  $bstwbsftwppdtplgns_added_menu = true;
66
  }
67
 
@@ -149,7 +161,16 @@ if ( ! function_exists( 'gglstmp_sitemapcreate' ) ) {
149
  $str .= "'" . $val . "'";
150
  }
151
  $xml = new DomDocument( '1.0', 'utf-8' );
152
- $xml_stylesheet_path = plugins_url() . "/google-sitemap-plugin/sitemap.xsl";
 
 
 
 
 
 
 
 
 
153
 
154
  $xslt = $xml->createProcessingInstruction( 'xml-stylesheet', "type=\"text/xsl\" href=\"$xml_stylesheet_path\"" );
155
  $xml->appendChild( $xslt );
@@ -382,7 +403,10 @@ if ( ! function_exists ( 'gglstmp_settings_page' ) ) {
382
  $pro_plugin_is_activated = true;
383
  }
384
  }
385
- update_option( 'bstwbsftwppdtplgns_options', $bstwbsftwppdtplgns_options, '', 'yes' );
 
 
 
386
  }
387
  } else {
388
  $error = __( "Please, enter Your license key", 'sitemap' );
4
  Plugin URI: http://bestwebsoft.com/products/
5
  Description: Plugin to add google sitemap file in Google Webmaster Tools account.
6
  Author: BestWebSoft
7
+ Version: 2.9.5
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv2 or later
10
  */
35
  $base = plugin_basename(__FILE__);
36
 
37
  if ( ! isset( $bstwbsftwppdtplgns_options ) ) {
38
+ if ( is_multisite() ) {
39
+ if ( ! get_site_option( 'bstwbsftwppdtplgns_options' ) )
40
+ add_site_option( 'bstwbsftwppdtplgns_options', array(), '', 'yes' );
41
+ $bstwbsftwppdtplgns_options = get_site_option( 'bstwbsftwppdtplgns_options' );
42
+ } else {
43
+ if ( ! get_option( 'bstwbsftwppdtplgns_options' ) )
44
+ add_option( 'bstwbsftwppdtplgns_options', array(), '', 'yes' );
45
+ $bstwbsftwppdtplgns_options = get_option( 'bstwbsftwppdtplgns_options' );
46
+ }
47
  }
48
 
49
  if ( isset( $bstwbsftwppdtplgns_options['bws_menu_version'] ) ) {
50
  $bstwbsftwppdtplgns_options['bws_menu']['version'][ $base ] = $bws_menu_version;
51
  unset( $bstwbsftwppdtplgns_options['bws_menu_version'] );
52
+ if ( is_multisite() )
53
+ update_site_option( 'bstwbsftwppdtplgns_options', $bstwbsftwppdtplgns_options, '', 'yes' );
54
+ else
55
+ update_option( 'bstwbsftwppdtplgns_options', $bstwbsftwppdtplgns_options, '', 'yes' );
56
  require_once( dirname( __FILE__ ) . '/bws_menu/bws_menu.php' );
57
  } else if ( ! isset( $bstwbsftwppdtplgns_options['bws_menu']['version'][ $base ] ) || $bstwbsftwppdtplgns_options['bws_menu']['version'][ $base ] < $bws_menu_version ) {
58
  $bstwbsftwppdtplgns_options['bws_menu']['version'][ $base ] = $bws_menu_version;
59
+ if ( is_multisite() )
60
+ update_site_option( 'bstwbsftwppdtplgns_options', $bstwbsftwppdtplgns_options, '', 'yes' );
61
+ else
62
+ update_option( 'bstwbsftwppdtplgns_options', $bstwbsftwppdtplgns_options, '', 'yes' );
63
  require_once( dirname( __FILE__ ) . '/bws_menu/bws_menu.php' );
64
  } else if ( ! isset( $bstwbsftwppdtplgns_added_menu ) ) {
65
  $plugin_with_newer_menu = $base;
73
  if ( file_exists( ABSPATH . $wp_content_dir . '/plugins/' . $plugin_with_newer_menu[0] . '/bws_menu/bws_menu.php' ) )
74
  require_once( ABSPATH . $wp_content_dir . '/plugins/' . $plugin_with_newer_menu[0] . '/bws_menu/bws_menu.php' );
75
  else
76
+ require_once( dirname( __FILE__ ) . '/bws_menu/bws_menu.php' );
77
  $bstwbsftwppdtplgns_added_menu = true;
78
  }
79
 
161
  $str .= "'" . $val . "'";
162
  }
163
  $xml = new DomDocument( '1.0', 'utf-8' );
164
+
165
+ if ( defined( 'WP_CONTENT_DIR' ) )
166
+ $xml_stylesheet_path = home_url( '/' ) . basename( WP_CONTENT_DIR );
167
+ else
168
+ $xml_stylesheet_path = home_url( '/' ) . "wp-content";
169
+
170
+ if ( defined( 'WP_PLUGIN_DIR' ) )
171
+ $xml_stylesheet_path .= '/' . basename( WP_PLUGIN_DIR ) . "/google-sitemap-plugin/sitemap.xsl";
172
+ else
173
+ $xml_stylesheet_path .= "/plugins/google-sitemap-plugin/sitemap.xsl";
174
 
175
  $xslt = $xml->createProcessingInstruction( 'xml-stylesheet', "type=\"text/xsl\" href=\"$xml_stylesheet_path\"" );
176
  $xml->appendChild( $xslt );
403
  $pro_plugin_is_activated = true;
404
  }
405
  }
406
+ if ( is_multisite() )
407
+ update_site_option( 'bstwbsftwppdtplgns_options', $bstwbsftwppdtplgns_options, '', 'yes' );
408
+ else
409
+ update_option( 'bstwbsftwppdtplgns_options', $bstwbsftwppdtplgns_options, '', 'yes' );
410
  }
411
  } else {
412
  $error = __( "Please, enter Your license key", 'sitemap' );
languages/sitemap-ru_RU.mo CHANGED
File without changes
languages/sitemap-ru_RU.po CHANGED
File without changes
languages/sitemap-uk.mo CHANGED
File without changes
languages/sitemap-uk.po CHANGED
File without changes
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: bestwebsoft
3
  Donate link: https://www.2checkout.com/checkout/purchase?sid=1430388&quantity=1&product_id=94
4
  Tags: add posts to sitemap, add pages to sitemap, add sitemap, add site to google webmaster tools, create a map, google, googel, googgle, gogle, gogole, google sitemap, google sitemap plugin, google webmaster tools, sitemep, sitemap, sitemaps, site mep, site map, sitemap file path, update sitemap
5
  Requires at least: 3.1
6
- Tested up to: 4.0
7
- Stable tag: 2.9.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -100,7 +100,10 @@ Please make sure that the problem hasn't been discussed yet on our forum (http:/
100
 
101
  == Changelog ==
102
 
103
- = V2.9.4 - 11.11.2014 =
 
 
 
104
  * Update : BWS plugins section was updated.
105
  * Bugfix : Plugin optimization is done.
106
 
@@ -222,6 +225,9 @@ Please make sure that the problem hasn't been discussed yet on our forum (http:/
222
 
223
  == Upgrade Notice ==
224
 
 
 
 
225
  = V2.9.4 =
226
  BWS plugins section was updated. Plugin optimization is done.
227
 
3
  Donate link: https://www.2checkout.com/checkout/purchase?sid=1430388&quantity=1&product_id=94
4
  Tags: add posts to sitemap, add pages to sitemap, add sitemap, add site to google webmaster tools, create a map, google, googel, googgle, gogle, gogole, google sitemap, google sitemap plugin, google webmaster tools, sitemep, sitemap, sitemaps, site mep, site map, sitemap file path, update sitemap
5
  Requires at least: 3.1
6
+ Tested up to: 4.1
7
+ Stable tag: 2.9.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
100
 
101
  == Changelog ==
102
 
103
+ = V2.9.5 - 23.12.2014 =
104
+ * Bugfix : Error loading stylesheet is fixed.
105
+
106
+ = V2.9.4 - 11.11.2014 =
107
  * Update : BWS plugins section was updated.
108
  * Bugfix : Plugin optimization is done.
109
 
225
 
226
  == Upgrade Notice ==
227
 
228
+ = V2.9.5 =
229
+ Error loading stylesheet is fixed.
230
+
231
  = V2.9.4 =
232
  BWS plugins section was updated. Plugin optimization is done.
233