Version Description
- 25.01.2022 = Fixed: Sanitization for replaceable and replacement text
Download this release
Release Info
| Developer | raldea89 |
| Plugin | |
| Version | 1.0.12 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.11 to 1.0.12
- readme.txt +6 -2
- remove-footer-credit.php +6 -5
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.
|
| 6 |
-
Stable tag: 1.0.
|
| 7 |
Requires PHP: 5.6
|
| 8 |
License: GPLv3 or later
|
| 9 |
|
|
@@ -31,6 +31,10 @@ This plugin has very minimal options to keep things simple and easier to use. Yo
|
|
| 31 |
1. Remove footer credit
|
| 32 |
|
| 33 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
= 1.0.11 - 11.01.2022 =
|
| 35 |
Added: Sanitization and escapes
|
| 36 |
|
| 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 |
|
| 31 |
1. Remove footer credit
|
| 32 |
|
| 33 |
== Changelog ==
|
| 34 |
+
|
| 35 |
+
= 1.0.12 - 25.01.2022 =
|
| 36 |
+
Fixed: Sanitization for replaceable and replacement text
|
| 37 |
+
|
| 38 |
= 1.0.11 - 11.01.2022 =
|
| 39 |
Added: Sanitization and escapes
|
| 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.
|
| 6 |
* Author: WPChill
|
| 7 |
* Author URI: https://wpchill.com
|
| 8 |
* Requires: 5.2 or higher
|
|
@@ -10,7 +10,7 @@
|
|
| 10 |
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
| 11 |
* Requires PHP: 5.6
|
| 12 |
* Text Domain: remove-footer-credit
|
| 13 |
-
* Tested up to: 5.
|
| 14 |
*
|
| 15 |
* Copyright 2016-2017 Joe Bill joe@upwerd.com
|
| 16 |
* Copyright 2017-2020 MachoThemes office@machothemes.com
|
|
@@ -162,9 +162,10 @@ class RFC_Plugin {
|
|
| 162 |
|
| 163 |
$_POST = stripslashes_deep( $_POST );
|
| 164 |
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
|
|
|
|
| 168 |
|
| 169 |
$data = array(
|
| 170 |
'find' => explode( '\n', str_replace( '\r', '', $find ) ),
|
| 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
|
| 10 |
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
| 11 |
* Requires PHP: 5.6
|
| 12 |
* Text Domain: remove-footer-credit
|
| 13 |
+
* Tested up to: 5.9
|
| 14 |
*
|
| 15 |
* Copyright 2016-2017 Joe Bill joe@upwerd.com
|
| 16 |
* Copyright 2017-2020 MachoThemes office@machothemes.com
|
| 162 |
|
| 163 |
$_POST = stripslashes_deep( $_POST );
|
| 164 |
|
| 165 |
+
// Sanitization done inside function jabrfc_kses.
|
| 166 |
+
$find = jabrfc_kses( ( isset( $_POST['find'] ) ) ? $_POST['find'] : '' ); //phpcs:ignore
|
| 167 |
+
// Sanitization done inside function jabrfc_kses.
|
| 168 |
+
$replace = jabrfc_kses( ( isset( $_POST['replace'] ) ) ? $_POST['replace'] : '' ); //phpcs:ignore
|
| 169 |
|
| 170 |
$data = array(
|
| 171 |
'find' => explode( '\n', str_replace( '\r', '', $find ) ),
|
