Remove Footer Credit - Version 1.0.13

Version Description

  • 24.02.2022 = Fixed: Replaceable text new line bug
Download this release

Release Info

Developer raldea89
Plugin Icon 128x128 Remove Footer Credit
Version 1.0.13
Comparing to
See all releases

Code changes from version 1.0.12 to 1.0.13

Files changed (2) hide show
  1. readme.txt +5 -2
  2. remove-footer-credit.php +3 -3
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: wpchill, silkalns
3
  Tags: footer, credit, change, modify, replace, remove, link, HTML, text, remove footer credit
4
  Requires at least: 5.2
5
- Tested up to: 5.9
6
- Stable tag: 1.0.12
7
  Requires PHP: 5.6
8
  License: GPLv3 or later
9
 
@@ -32,6 +32,9 @@ This plugin has very minimal options to keep things simple and easier to use. Yo
32
 
33
  == Changelog ==
34
 
 
 
 
35
  = 1.0.12 - 25.01.2022 =
36
  Fixed: Sanitization for replaceable and replacement text
37
 
2
  Contributors: wpchill, silkalns
3
  Tags: footer, credit, change, modify, replace, remove, link, HTML, text, remove footer credit
4
  Requires at least: 5.2
5
+ Tested up to: 6.1
6
+ Stable tag: 1.0.13
7
  Requires PHP: 5.6
8
  License: GPLv3 or later
9
 
32
 
33
  == Changelog ==
34
 
35
+ = 1.0.13 - 24.02.2022 =
36
+ Fixed: Replaceable text new line bug
37
+
38
  = 1.0.12 - 25.01.2022 =
39
  Fixed: Sanitization for replaceable and replacement text
40
 
remove-footer-credit.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: Remove Footer Credit
4
  * Description: A simple plugin to remove footer credits
5
- * Version: 1.0.12
6
  * Author: WPChill
7
  * Author URI: https://wpchill.com
8
  * Requires: 5.2 or higher
@@ -168,8 +168,8 @@ class RFC_Plugin {
168
  $replace = jabrfc_kses( ( isset( $_POST['replace'] ) ) ? $_POST['replace'] : '' ); //phpcs:ignore
169
 
170
  $data = array(
171
- 'find' => explode( '\n', str_replace( '\r', '', $find ) ),
172
- 'replace' => explode( '\n', str_replace( '\r', '', $replace ) ),
173
  'willLinkback' => ( isset( $_POST['willLinkback'] ) ) ? sanitize_text_field( wp_unslash( $_POST['willLinkback'] ) ) : '',
174
  'linkbackPostId' => ( isset( $_POST['linkbackPostId'] ) ) ? sanitize_text_field( wp_unslash( $_POST['linkbackPostId'] ) ) : '',
175
  );
2
  /**
3
  * Plugin Name: Remove Footer Credit
4
  * Description: A simple plugin to remove footer credits
5
+ * Version: 1.0.13
6
  * Author: WPChill
7
  * Author URI: https://wpchill.com
8
  * Requires: 5.2 or higher
168
  $replace = jabrfc_kses( ( isset( $_POST['replace'] ) ) ? $_POST['replace'] : '' ); //phpcs:ignore
169
 
170
  $data = array(
171
+ 'find' => explode( "\n", str_replace( "\r", "", $find ) ),
172
+ 'replace' => explode( "\n", str_replace( "\r", "", $replace ) ),
173
  'willLinkback' => ( isset( $_POST['willLinkback'] ) ) ? sanitize_text_field( wp_unslash( $_POST['willLinkback'] ) ) : '',
174
  'linkbackPostId' => ( isset( $_POST['linkbackPostId'] ) ) ? sanitize_text_field( wp_unslash( $_POST['linkbackPostId'] ) ) : '',
175
  );