WP Content Copy Protection - Version 2.0.5

Version Description

(26 July 2021) =

  • Fix - 500 empty lines were getting added to the source code. This is fixed now.
Download this release

Release Info

Developer tychesoftwares
Plugin Icon 128x128 WP Content Copy Protection
Version 2.0.5
Comparing to
See all releases

Code changes from version 2.0.4 to 2.0.5

Files changed (3) hide show
  1. includes/class-protection.php +0 -17
  2. readme.txt +5 -1
  3. wpccpl.php +3 -3
includes/class-protection.php CHANGED
@@ -40,7 +40,6 @@ class Protection {
40
  // Hooks.
41
  add_action( 'wp_enqueue_scripts', [ __CLASS__, 'register_assets' ] );
42
  register_activation_hook( WPCCP_PLUGIN_FILE, [ __CLASS__, 'on_activation' ] );
43
- add_action( 'wp', [ __CLASS__, 'add_source_padding' ] );
44
  add_action( 'wp_head', [ __CLASS__, 'render_noscript' ], 9999 );
45
 
46
  // Set data.
@@ -154,22 +153,6 @@ class Protection {
154
  }
155
  }
156
 
157
- /**
158
- * Add padding to html source
159
- *
160
- * @since 2.0.0
161
- * @access public
162
- *
163
- * @return void
164
- */
165
- public static function add_source_padding() {
166
- ob_start();
167
- $break = "\n";
168
- for ( $i = 0; $i <= 499; $i++ ) {
169
- echo esc_html( $break );
170
- }
171
- }
172
-
173
  /**
174
  * Exclude pages
175
  *
40
  // Hooks.
41
  add_action( 'wp_enqueue_scripts', [ __CLASS__, 'register_assets' ] );
42
  register_activation_hook( WPCCP_PLUGIN_FILE, [ __CLASS__, 'on_activation' ] );
 
43
  add_action( 'wp_head', [ __CLASS__, 'render_noscript' ], 9999 );
44
 
45
  // Set data.
153
  }
154
  }
155
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
156
  /**
157
  * Exclude pages
158
  *
readme.txt CHANGED
@@ -168,7 +168,11 @@ This plugin inheritently disables right click/copy/save functions on your defaul
168
 
169
  == Changelog ==
170
 
171
- = 2.0.4 (25 February 2021) =
 
 
 
 
172
 
173
  * Removed the promotional notice being displayed when the folders are accessed directly.
174
 
168
 
169
  == Changelog ==
170
 
171
+ = 2.0.5 (26 July 2021) =
172
+
173
+ * Fix - 500 empty lines were getting added to the source code. This is fixed now.
174
+
175
+ = 2.0.4 (24 February 2021) =
176
 
177
  * Removed the promotional notice being displayed when the folders are accessed directly.
178
 
wpccpl.php CHANGED
@@ -5,13 +5,13 @@
5
  * Description: WP Content Copy Protection prevents plagiarism and protects your valuable online content (such as source code, text and images) from being copied illegally. Copy methods are disabled via mouse and keyboard.
6
  * Author: Tyche Softwares
7
  * Author URI: https://www.tychesoftwares.com/
8
- * Version: 2.0.4
9
  * Text Domain: wpccp
10
  * Domain Path: /languages
11
  * Tags: content, protection,
12
  * Requires at least: 3.0.1
13
  * Tested up to: 5.8
14
- * Stable tag: 2.0.4
15
  * License: GPLv2 or later
16
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html/
17
  *
@@ -27,7 +27,7 @@ if ( ! defined( 'WPINC' ) ) {
27
  */
28
  // Plugin version.
29
  if ( ! defined( 'WPCCP_VERSION' ) ) {
30
- define( 'WPCCP_VERSION', '2.0.4' );
31
  }
32
  // Plugin Root File.
33
  if ( ! defined( 'WPCCP_PLUGIN_FILE' ) ) {
5
  * Description: WP Content Copy Protection prevents plagiarism and protects your valuable online content (such as source code, text and images) from being copied illegally. Copy methods are disabled via mouse and keyboard.
6
  * Author: Tyche Softwares
7
  * Author URI: https://www.tychesoftwares.com/
8
+ * Version: 2.0.5
9
  * Text Domain: wpccp
10
  * Domain Path: /languages
11
  * Tags: content, protection,
12
  * Requires at least: 3.0.1
13
  * Tested up to: 5.8
14
+ * Stable tag: 2.0.5
15
  * License: GPLv2 or later
16
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html/
17
  *
27
  */
28
  // Plugin version.
29
  if ( ! defined( 'WPCCP_VERSION' ) ) {
30
+ define( 'WPCCP_VERSION', '2.0.5' );
31
  }
32
  // Plugin Root File.
33
  if ( ! defined( 'WPCCP_PLUGIN_FILE' ) ) {