WP Content Copy Protection & No Right Click - Version 3.1.5

Version Description

  • Checking with wordpress version 5.7
  • Important code fix
Download this release

Release Info

Developer wp-buy
Plugin Icon 128x128 WP Content Copy Protection & No Right Click
Version 3.1.5
Comparing to
See all releases

Code changes from version 3.1 to 3.1.5

admin-core.php CHANGED
@@ -166,7 +166,11 @@ if(localStorage.getItem('wpccp_subscribed') =='wpccp_subsbc_user')
166
  }
167
  </script>
168
  <div id="aio_admin_main">
169
- <p style="margin: 20px 0 20px;font-size: 16px;font-weight: bold;color: rgba(30,140,190,.8);">WP Content Copy Protection &amp; No Right Click (FREE)</p>
 
 
 
 
170
  <form method="POST">
171
  <input type="hidden" value="update" name="action">
172
  <div class="simpleTabs">
166
  }
167
  </script>
168
  <div id="aio_admin_main">
169
+ <p style="margin: 20px 0 20px;font-size: 16px;font-weight: bold;color: rgba(30,140,190,.8);">WP Content Copy Protection &amp; No Right Click (FREE)
170
+ <font color="#0909FF"><u>
171
+ <a target="_blank" href="http://www.wp-buy.com/product/wp-content-copy-protection-pro/?src=title">
172
+ <font color="#0909FF"><?php _e('PRO Version','wp-content-copy-protector'); ?></font></a></u></font>
173
+ </p>
174
  <form method="POST">
175
  <input type="hidden" value="update" name="action">
176
  <div class="simpleTabs">
preventer-index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Content Copy Protection & No Right Click
4
  Plugin URI: http://wordpress.org/plugins/w-p-content-copy-protector/
5
  Description: This wp plugin protect the posts content from being copied by any other web site author , you dont want your content to spread without your permission!!
6
- Version: 3.1
7
  Author: wp-buy
8
  Text Domain: wp-content-copy-protector
9
  Domain Path: /languages
@@ -48,6 +48,11 @@ function wccp_enqueue_scripts() {
48
  }
49
  // Hook into the 'wp_enqueue_scripts' action
50
  add_action('admin_enqueue_scripts', 'wccp_enqueue_scripts');
 
 
 
 
 
51
  //------------------------------------------------------------------------
52
  function wpcp_disable_Right_Click()
53
  {
@@ -567,11 +572,11 @@ function wccp_read_options()
567
  //---------------------------------------------------------------------
568
  function wccp_free_debug_to_console($data)
569
  {
570
- global $wccp_pro_settings;
571
 
572
- if(array_key_exists("developer_mode", $wccp_pro_settings))
573
  {
574
- if($wccp_pro_settings['developer_mode'] == "Yes")
575
  {
576
  $output = $data;
577
  if ( is_array( $output ))
@@ -688,6 +693,7 @@ $path = plugin_basename( __FILE__ );
688
  add_action("after_plugin_row_{$path}", "wpccp_after_plugin_row", 10, 3 );
689
  //---------------------------------------------Add button with icon to the admin bar
690
  global $wccp_settings;
 
691
  if(array_key_exists('top_bar_icon_btn', $wccp_settings))
692
  {
693
  if($wccp_settings['top_bar_icon_btn'] == 'Visible')
@@ -702,9 +708,12 @@ function wccp_free_top_bar_enqueue_style() {
702
  <style>
703
  #wpadminbar #wp-admin-bar-wccp_free_top_button .ab-icon:before {
704
  content: "\f160";
705
- /*color: #02CA02;*/
706
  top: 3px;
707
  }
 
 
 
708
  </style>
709
  <?php
710
  }
@@ -720,7 +729,7 @@ function wccp_free_add_items($admin_bar)
720
  'id' => 'wccp_free_top_button',
721
  'parent' => null,
722
  'group' => null,
723
- 'title' => '<span class="ab-icon"></span>'.'' . __('Protection', 'wp-content-copy-protector'),
724
  'href' => admin_url('admin.php?page=wccpoptionspro'),
725
  'meta' => array('title' => __('Copy Protection & No right click', 'wp-content-copy-protector'),//This title will show on hover
726
  'class' => '')
3
  Plugin Name: WP Content Copy Protection & No Right Click
4
  Plugin URI: http://wordpress.org/plugins/w-p-content-copy-protector/
5
  Description: This wp plugin protect the posts content from being copied by any other web site author , you dont want your content to spread without your permission!!
6
+ Version: 3.1.5
7
  Author: wp-buy
8
  Text Domain: wp-content-copy-protector
9
  Domain Path: /languages
48
  }
49
  // Hook into the 'wp_enqueue_scripts' action
50
  add_action('admin_enqueue_scripts', 'wccp_enqueue_scripts');
51
+
52
+ function wccp_free_enqueue_front_end_scripts() {
53
+ wp_enqueue_script('jquery');
54
+ }
55
+ add_action('wp_enqueue_scripts', 'wccp_free_enqueue_front_end_scripts');
56
  //------------------------------------------------------------------------
57
  function wpcp_disable_Right_Click()
58
  {
572
  //---------------------------------------------------------------------
573
  function wccp_free_debug_to_console($data)
574
  {
575
+ global $wccp_settings;
576
 
577
+ if(array_key_exists("developer_mode", $wccp_settings))
578
  {
579
+ if($wccp_settings['developer_mode'] == "Yes")
580
  {
581
  $output = $data;
582
  if ( is_array( $output ))
693
  add_action("after_plugin_row_{$path}", "wpccp_after_plugin_row", 10, 3 );
694
  //---------------------------------------------Add button with icon to the admin bar
695
  global $wccp_settings;
696
+ if (!is_array($wccp_settings)) $wccp_settings = wccp_read_options();
697
  if(array_key_exists('top_bar_icon_btn', $wccp_settings))
698
  {
699
  if($wccp_settings['top_bar_icon_btn'] == 'Visible')
708
  <style>
709
  #wpadminbar #wp-admin-bar-wccp_free_top_button .ab-icon:before {
710
  content: "\f160";
711
+ color: #02CA02;
712
  top: 3px;
713
  }
714
+ #wpadminbar #wp-admin-bar-wccp_free_top_button .ab-icon {
715
+ transform: rotate(45deg);
716
+ }
717
  </style>
718
  <?php
719
  }
729
  'id' => 'wccp_free_top_button',
730
  'parent' => null,
731
  'group' => null,
732
+ 'title' => '<span class="ab-icon"></span>' . __('Protection', 'wp-content-copy-protector'),
733
  'href' => admin_url('admin.php?page=wccpoptionspro'),
734
  'meta' => array('title' => __('Copy Protection & No right click', 'wp-content-copy-protector'),//This title will show on hover
735
  'class' => '')
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: wp-buy
3
  Donate link: http://goo.gl/UJVpbi
4
  Tags: content, content copy protection, content protection, copy protection, prevent copy, protect blog, image protect, image protection, no right click, plagiarism, secure content, content theft
5
  Requires at least: 3.5
6
- Tested up to: 5.5.1
7
  Stable tag: trunk
8
 
9
  This wp plugin protect the posts content from being copied by any other web site author (content copy protection) , you dont want your content to spread without your permission!!
@@ -12,7 +12,7 @@ This wp plugin protect the posts content from being copied by any other web site
12
  == Description ==
13
  This wp plugin protect the posts content from being copied by any other web site author , you dont want your content to spread without your permission!!
14
  The plugin will keep your posts and home page protected by multiple techniques (JavaScript + CSS), this techniques does not found in any other wordpress plugin and you will own it for free with this plugin
15
-
16
  **Easy to Install**:
17
  Read the installation steps to find that this plugin does not need any coding or theme editing, just use your mouse..
18
 
@@ -30,7 +30,7 @@ your posts extremely simple without yelling at your readers</li>
30
 
31
  **The Pro Edition Features include:**
32
  <ul>
33
- <li><a href="https://www.wp-buy.com/product/wp-content-copy-protection-pro/"><strong>PRO version product page</strong></li>
34
  <li>Watermarking</li>
35
  <li>Using htacsess rules</li>
36
  <li>Support jquery overlay protection</li>
@@ -65,6 +65,29 @@ your posts extremely simple without yelling at your readers</li>
65
  </ul>
66
 
67
  == Changelog ==
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  = 3.1 =
69
  <ul>
70
  <li>Now compatible with (elemenator page builder) plugin</li>
3
  Donate link: http://goo.gl/UJVpbi
4
  Tags: content, content copy protection, content protection, copy protection, prevent copy, protect blog, image protect, image protection, no right click, plagiarism, secure content, content theft
5
  Requires at least: 3.5
6
+ Tested up to: 5.7
7
  Stable tag: trunk
8
 
9
  This wp plugin protect the posts content from being copied by any other web site author (content copy protection) , you dont want your content to spread without your permission!!
12
  == Description ==
13
  This wp plugin protect the posts content from being copied by any other web site author , you dont want your content to spread without your permission!!
14
  The plugin will keep your posts and home page protected by multiple techniques (JavaScript + CSS), this techniques does not found in any other wordpress plugin and you will own it for free with this plugin
15
+ <li><a href="https://www.wp-buy.com/product/wp-content-copy-protection-pro/?src=wp1"><strong>PRO Version Features</strong></li>
16
  **Easy to Install**:
17
  Read the installation steps to find that this plugin does not need any coding or theme editing, just use your mouse..
18
 
30
 
31
  **The Pro Edition Features include:**
32
  <ul>
33
+ <li><a href="https://www.wp-buy.com/product/wp-content-copy-protection-pro/?src=wp2"><strong>PRO version product page</strong></li>
34
  <li>Watermarking</li>
35
  <li>Using htacsess rules</li>
36
  <li>Support jquery overlay protection</li>
65
  </ul>
66
 
67
  == Changelog ==
68
+ = 3.1.5 =
69
+ <ul>
70
+ <li>Checking with wordpress version 5.7</li>
71
+ <li>Important code fix</li>
72
+ </ul>
73
+
74
+ = 3.1.4 =
75
+ <ul>
76
+ <li>Checking with wordpress version 5.6</li>
77
+ </ul>
78
+
79
+ = 3.1.3 =
80
+ <ul>
81
+ <li>Fixed, PHP Notice: fread(): read of 8192 bytes failed with errno=21 Is a directory in /wp-includes/functions.php on line 6030</li>
82
+ </ul>
83
+
84
+ = 3.1.2 =
85
+ <ul>
86
+ <li>Important fix for this error, PHP Warning: array_key_exists() expects parameter 2 to be array, preventer-index.php on line 691 </li>
87
+ <li>Top icon bar color converted to new very nice color - green</li>
88
+ <li>Testing with wordpress 5.5.3 new version</li>
89
+ </ul>
90
+
91
  = 3.1 =
92
  <ul>
93
  <li>Now compatible with (elemenator page builder) plugin</li>
settings-start-index.php CHANGED
@@ -1,10 +1,9 @@
1
- <?php
2
- ob_start();
3
  if ( ! defined( 'ABSPATH' ) ) {
4
  // Exit if accessed directly.
5
  exit;
6
  }
7
- //file_version 2.1
8
 
9
  //---------------------------------------------------------------------------------------------
10
  //Register required scripts.
@@ -55,16 +54,19 @@ if (!function_exists('start_page_hide_suggested_plugins_choice')){
55
  //---------------------------------------------------------------------------------------------
56
  if(start_page_remove_menu_choice() != "yes"){
57
  add_action('admin_bar_menu', 'cp_plugins_add_items', 40);
 
 
58
  }
59
  if (!function_exists('cp_plugins_add_items')){
60
  function cp_plugins_add_items($admin_bar)
61
  {
 
62
  $pluginsurl = plugins_url( '', __FILE__ ); // Get the current plugin url
63
  $wccpadminurl = get_admin_url();
64
  //The properties of the new item. Read More about the missing 'parent' parameter below
65
  $args = array(
66
  'id' => 'cp_plugins_top_button',
67
- 'title' => '<img src="'.$pluginsurl.'/start-page-assests/icons/cp-plugins-new-logo.png" style="vertical-align:middle;margin-right:5px;width: 22px;" alt="CP Plugins" title="CP Plugins" />' . 'CP Plugins',
68
  'href' => $wccpadminurl.'admin.php?page=cp_plugins_settings_start_page_slug',
69
  'meta' => array('title' => 'CP Plugins')
70
  );
@@ -74,11 +76,27 @@ if (!function_exists('cp_plugins_add_items')){
74
  }
75
  }
76
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
  //---------------------------------------------------------------------------------------------
78
  //Our plugins array
79
  //---------------------------------------------------------------------------------------------
80
  $wp_buy_plugins_list = array(
81
- "captchinoo-captcha-for-login-form-protection/Captcha.php" => Array(
 
82
  "TextDomain" => "captchinoo-captcha-for-login-form-protection",
83
  "Title" => "Captcha Login Form Protection",
84
  "settings_url" => "admin.php?page=logincform"
@@ -90,6 +108,13 @@ $wp_buy_plugins_list = array(
90
  "Title" => "Login As Customer or User",
91
  "settings_url" => "admin.php?page=loginas"
92
  ),
 
 
 
 
 
 
 
93
 
94
  "conditional-marketing-mailer/woo-conditional-marketing-mailer.php" => Array
95
  (
@@ -118,48 +143,48 @@ $wp_buy_plugins_list = array(
118
  "Title" => "WP Tree Page View (Free)",
119
  "settings_url" => "admin.php?page=wm_website_maps"
120
  ),
121
- "wp-tree-pro/wp-tree-pro.php" => Array
122
- (
123
- "TextDomain" => "tree-website-map-pro",
124
- "Title" => "WP Tree Page View (PRO)",
125
  "settings_url" => "admin.php?page=wm_website_maps"
126
- ),
127
- "visitors-traffic-real-time-statistics/Visitors-Traffic-Real-Time-Statistics.php" => Array
128
- (
129
- "TextDomain" => "visitors-traffic-real-time-statistics",
130
- "Title" => "Visitor Traffic Statistics (Free)",
131
  "settings_url" => "admin.php?page=ahc_hits_counter_menu_free"
132
- ),
133
- "visitors-traffic-real-time-statistics-pro/visitors-traffic-real-time-statistics-pro.php" => Array
134
- (
135
- "TextDomain" => "visitors-traffic-real-time-statistics-pro",
136
- "Title" => "Visitor Traffic Statistics (PRO)",
137
  "settings_url" => "admin.php?page=ahc_hits_counter_menu_pro"
138
- ),
139
- "ultimate-content-views/ultimate-content-views.php" => Array
140
- (
141
- "TextDomain" => "ultimate-content-views",
142
- "Title" => "Custom Post List Builder",
143
  "settings_url" => "edit.php?post_type=wpucv_list"
144
- ),
145
- "wp-limit-failed-login-attempts/failed.php" => Array
146
- (
147
- "TextDomain" => "wp-limit-failed-login-attempts",
148
- "Title" => "Limit failed login attempts",
149
  "settings_url" => "admin.php?page=WPLFLA"
150
- ),
151
- "wp-maintenance-mode-site-under-construction/maintenance.php" => Array
152
- (
153
- "TextDomain" => "wp-maintenance-mode-site-under-construction",
154
- "Title" => "Maintenance Mode Plugin",
155
  "settings_url" => "admin.php?page=SUM"
156
- ),
157
- "easy-popup-lightbox-maker/easy_popup_lightbox_maker.php" => Array
158
- (
159
- "TextDomain" => "easy-popup-lightbox-maker",
160
- "Title" => "WP Popup Window Maker",
161
  "settings_url" => "admin.php?page=eplm_popups"
162
- )
163
  );
164
  //---------------------------------------------------------------------------------------------
165
  //Register a custom menu page.
@@ -178,9 +203,9 @@ if (!function_exists('cp_plugins_register_my_custom_menu_page')){
178
  'CP Plugins start page',
179
  'CP Plugins',
180
  'manage_options',
181
- 'cp_plugins_settings_start_page_slug',
182
- 'cp_plugins_settings_start_page',
183
- plugins_url( '', __FILE__ ) . '/start-page-assests/icons/cp-plugins-new-logo.png',
184
  6
185
  );
186
  add_submenu_page //First sub-item
@@ -239,11 +264,16 @@ add_action( 'wp_ajax_do_button_job_later', 'cp_plugins_do_button_job_later_callb
239
  if (!function_exists('cp_plugins_do_button_job_later_callback')){
240
  function cp_plugins_do_button_job_later_callback() {
241
 
 
 
 
 
 
242
  $result = "";
243
 
244
  if(isset($_POST['plugin_file']))
245
  {
246
- $result = $_POST['plugin_file'];
247
 
248
  activate_plugin( $result );
249
  }
@@ -256,7 +286,7 @@ function cp_plugins_do_button_job_later_callback() {
256
 
257
  $upgrader = new Plugin_Upgrader();
258
 
259
- $installed = $upgrader->install( "https://downloads.wordpress.org/plugin/" . $_POST["slug"] . ".zip" );
260
 
261
  return $installed;
262
  }
1
+ <?php ob_start();
 
2
  if ( ! defined( 'ABSPATH' ) ) {
3
  // Exit if accessed directly.
4
  exit;
5
  }
6
+ //file_version 2.2
7
 
8
  //---------------------------------------------------------------------------------------------
9
  //Register required scripts.
54
  //---------------------------------------------------------------------------------------------
55
  if(start_page_remove_menu_choice() != "yes"){
56
  add_action('admin_bar_menu', 'cp_plugins_add_items', 40);
57
+ add_action('wp_enqueue_scripts', 'cp_plugins_top_bar_enqueue_style');
58
+ add_action('admin_enqueue_scripts', 'cp_plugins_top_bar_enqueue_style');
59
  }
60
  if (!function_exists('cp_plugins_add_items')){
61
  function cp_plugins_add_items($admin_bar)
62
  {
63
+ if ( ! current_user_can( 'manage_options' ) ) { return; }
64
  $pluginsurl = plugins_url( '', __FILE__ ); // Get the current plugin url
65
  $wccpadminurl = get_admin_url();
66
  //The properties of the new item. Read More about the missing 'parent' parameter below
67
  $args = array(
68
  'id' => 'cp_plugins_top_button',
69
+ 'title' => '<span class="ab-icon"></span>' . 'CP Plugins' ,
70
  'href' => $wccpadminurl.'admin.php?page=cp_plugins_settings_start_page_slug',
71
  'meta' => array('title' => 'CP Plugins')
72
  );
76
  }
77
  }
78
 
79
+ if (!function_exists('cp_plugins_top_bar_enqueue_style')){
80
+ function cp_plugins_top_bar_enqueue_style() {
81
+ ?>
82
+ <style>
83
+ #wpadminbar #wp-admin-bar-cp_plugins_top_button .ab-icon:before {
84
+ content: "\f533";
85
+ top: 3px;
86
+ }
87
+ #wpadminbar #wp-admin-bar-cp_plugins_top_button .ab-icon {
88
+ transform: rotate(45deg);
89
+ }
90
+ </style>
91
+ <?php
92
+ }
93
+ }
94
  //---------------------------------------------------------------------------------------------
95
  //Our plugins array
96
  //---------------------------------------------------------------------------------------------
97
  $wp_buy_plugins_list = array(
98
+ "captchinoo-captcha-for-login-form-protection/Captcha.php" => Array
99
+ (
100
  "TextDomain" => "captchinoo-captcha-for-login-form-protection",
101
  "Title" => "Captcha Login Form Protection",
102
  "settings_url" => "admin.php?page=logincform"
108
  "Title" => "Login As Customer or User",
109
  "settings_url" => "admin.php?page=loginas"
110
  ),
111
+
112
+ "login-as-customer-or-user-pro/loginasPro.php" => Array
113
+ (
114
+ "TextDomain" => "codepressloginas",
115
+ "Title" => "Login as user or customer (PRO)",
116
+ "settings_url" => "admin.php?page=loginas"
117
+ ),
118
 
119
  "conditional-marketing-mailer/woo-conditional-marketing-mailer.php" => Array
120
  (
143
  "Title" => "WP Tree Page View (Free)",
144
  "settings_url" => "admin.php?page=wm_website_maps"
145
  ),
146
+ "wp-tree-pro/wp-tree-pro.php" => Array
147
+ (
148
+ "TextDomain" => "tree-website-map-pro",
149
+ "Title" => "WP Tree Page View (PRO)",
150
  "settings_url" => "admin.php?page=wm_website_maps"
151
+ ),
152
+ "visitors-traffic-real-time-statistics/Visitors-Traffic-Real-Time-Statistics.php" => Array
153
+ (
154
+ "TextDomain" => "visitors-traffic-real-time-statistics",
155
+ "Title" => "Visitor Traffic Statistics (Free)",
156
  "settings_url" => "admin.php?page=ahc_hits_counter_menu_free"
157
+ ),
158
+ "visitors-traffic-real-time-statistics-pro/visitors-traffic-real-time-statistics-pro.php" => Array
159
+ (
160
+ "TextDomain" => "visitors-traffic-real-time-statistics-pro",
161
+ "Title" => "Visitor Traffic Statistics (PRO)",
162
  "settings_url" => "admin.php?page=ahc_hits_counter_menu_pro"
163
+ ),
164
+ "ultimate-content-views/ultimate-content-views.php" => Array
165
+ (
166
+ "TextDomain" => "ultimate-content-views",
167
+ "Title" => "Custom Post List Builder",
168
  "settings_url" => "edit.php?post_type=wpucv_list"
169
+ ),
170
+ "wp-limit-failed-login-attempts/failed.php" => Array
171
+ (
172
+ "TextDomain" => "wp-limit-failed-login-attempts",
173
+ "Title" => "Limit failed login attempts",
174
  "settings_url" => "admin.php?page=WPLFLA"
175
+ ),
176
+ "wp-maintenance-mode-site-under-construction/maintenance.php" => Array
177
+ (
178
+ "TextDomain" => "wp-maintenance-mode-site-under-construction",
179
+ "Title" => "Maintenance Mode Plugin",
180
  "settings_url" => "admin.php?page=SUM"
181
+ ),
182
+ "easy-popup-lightbox-maker/easy_popup_lightbox_maker.php" => Array
183
+ (
184
+ "TextDomain" => "easy-popup-lightbox-maker",
185
+ "Title" => "WP Popup Window Maker",
186
  "settings_url" => "admin.php?page=eplm_popups"
187
+ )
188
  );
189
  //---------------------------------------------------------------------------------------------
190
  //Register a custom menu page.
203
  'CP Plugins start page',
204
  'CP Plugins',
205
  'manage_options',
206
+ 'cp_plugins_settings_start_page_slug', // slug
207
+ 'cp_plugins_settings_start_page', // callback
208
+ 'dashicons-image-filter', //icon
209
  6
210
  );
211
  add_submenu_page //First sub-item
264
  if (!function_exists('cp_plugins_do_button_job_later_callback')){
265
  function cp_plugins_do_button_job_later_callback() {
266
 
267
+ if ( !current_user_can( 'manage_options' ) )
268
+ {
269
+ die('You need admin privileges to access this page!');
270
+ }
271
+
272
  $result = "";
273
 
274
  if(isset($_POST['plugin_file']))
275
  {
276
+ $result = sanitize_text_field($_POST['plugin_file']);
277
 
278
  activate_plugin( $result );
279
  }
286
 
287
  $upgrader = new Plugin_Upgrader();
288
 
289
+ $installed = $upgrader->install( "https://downloads.wordpress.org/plugin/" . sanitize_text_field($_POST["slug"]) . ".zip" );
290
 
291
  return $installed;
292
  }
start-page-assests/icons/codepressloginas.png ADDED
Binary file
start-page-assests/icons/cp-plugins-new-logo.png DELETED
Binary file
start-page-assests/settings-start.php CHANGED
@@ -1,11 +1,9 @@
1
- <?php
2
- ob_start();
3
  if ( ! defined( 'ABSPATH' ) ) {
4
  // Exit if accessed directly.
5
  exit;
6
  }
7
- //file_version 2.1
8
-
9
  $wp_buy_plugins_list = array(
10
  "captchinoo-captcha-for-login-form-protection/Captcha.php" => Array(
11
  "WC requires at least" => "",
@@ -40,7 +38,7 @@ $wp_buy_plugins_list = array(
40
  "Name" => "Login As Customer or User",
41
  "PluginURI" => "",
42
  "Version" => 1.3,
43
- "Description" => "It's very helpful for admins or customer support users to access any user account in one click.",
44
  "Author" => "codepressplugins",
45
  "AuthorURI" => "https://codepress.pro/",
46
  "TextDomain" => "login-as-customer-or-user",
@@ -53,6 +51,32 @@ $wp_buy_plugins_list = array(
53
  "icon>" => "",
54
  "color" => "green",
55
  "version_type" => "free",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  "pro_version_link" => "no_pro_link",
57
  "pro_version_file" => "no_pro_file",
58
  "settings_url" => "admin.php?page=loginas"
@@ -161,7 +185,8 @@ $wp_buy_plugins_list = array(
161
  "pro_version_file" => "wp-tree-pro/wp-tree-pro.php",
162
  "settings_url" => "admin.php?page=wm_website_maps"
163
  ),
164
- "wp-tree-pro/wp-tree-pro.php" => Array
 
165
  (
166
  "WC requires at least" => "",
167
  "WC tested up to" => "",
@@ -441,7 +466,7 @@ function start_plugins_listing($wp_buy_plugins_list)
441
  if (is_plugin_active($plugin_file) || is_plugin_active_for_network($plugin_file)) {$active_inactive_result = "active";}
442
  if (is_plugin_inactive($plugin_file)) {$active_inactive_result = "inactive";}
443
  }
444
- $current_plugin_data = get_plugin_data( __DIR__ );
445
  $current_plugin_data_TextDomain = $current_plugin_data["TextDomain"];
446
  if(start_page_hide_suggested_plugins_choice() == "yes")
447
  {//Just show the installed or activated plugins boxes
1
+ <?php ob_start();
 
2
  if ( ! defined( 'ABSPATH' ) ) {
3
  // Exit if accessed directly.
4
  exit;
5
  }
6
+ //file_version 2.2
 
7
  $wp_buy_plugins_list = array(
8
  "captchinoo-captcha-for-login-form-protection/Captcha.php" => Array(
9
  "WC requires at least" => "",
38
  "Name" => "Login As Customer or User",
39
  "PluginURI" => "",
40
  "Version" => 1.3,
41
+ "Description" => "It is a very helpful for admins or customer support assistance to access any user account in one click.",
42
  "Author" => "codepressplugins",
43
  "AuthorURI" => "https://codepress.pro/",
44
  "TextDomain" => "login-as-customer-or-user",
51
  "icon>" => "",
52
  "color" => "green",
53
  "version_type" => "free",
54
+ "pro_version_link" => "https://www.wp-buy.com/product/login-as-customer-or-user-pro/",
55
+ "pro_version_file" => "login-as-customer-or-user-pro/loginasPro.php",
56
+ "settings_url" => "admin.php?page=loginas"
57
+ ),
58
+
59
+ "login-as-customer-or-user-pro/loginasPro.php" => Array
60
+ (
61
+ "WC requires at least" => "",
62
+ "WC tested up to" => "",
63
+ "Woo" => "",
64
+ "Name" => "Login as user or customer pro",
65
+ "PluginURI" => "https://www.wp-buy.com/product/login-as-customer-or-user-pro/",
66
+ "Version" => 1.3,
67
+ "Description" => "It is a very helpful for admins or customer support assistance to access any user account in one click.",
68
+ "Author" => "wp-buy",
69
+ "AuthorURI" => "http://www.wp-buy.com/",
70
+ "TextDomain" => "codepressloginas",
71
+ "DomainPath" => "/languages",
72
+ "Network" => "",
73
+ "RequiresWP" => "",
74
+ "RequiresPHP" => "",
75
+ "Title" => "Login as user or customer (PRO)",
76
+ "AuthorName" => "wp-buy",
77
+ "icon>" => "",
78
+ "color" => "green",
79
+ "version_type" => "pro",
80
  "pro_version_link" => "no_pro_link",
81
  "pro_version_file" => "no_pro_file",
82
  "settings_url" => "admin.php?page=loginas"
185
  "pro_version_file" => "wp-tree-pro/wp-tree-pro.php",
186
  "settings_url" => "admin.php?page=wm_website_maps"
187
  ),
188
+
189
+ "wp-tree-pro/wp-tree-pro.php" => Array
190
  (
191
  "WC requires at least" => "",
192
  "WC tested up to" => "",
466
  if (is_plugin_active($plugin_file) || is_plugin_active_for_network($plugin_file)) {$active_inactive_result = "active";}
467
  if (is_plugin_inactive($plugin_file)) {$active_inactive_result = "inactive";}
468
  }
469
+ $current_plugin_data = get_plugin_data( __FILE__ );
470
  $current_plugin_data_TextDomain = $current_plugin_data["TextDomain"];
471
  if(start_page_hide_suggested_plugins_choice() == "yes")
472
  {//Just show the installed or activated plugins boxes