Skip to content

Commit

Permalink
Merge pull request #12 from WPChill/dev
Browse files Browse the repository at this point in the history
1.0.14 update
  • Loading branch information
razvanaldea89 authored Mar 21, 2024
2 parents bf2a717 + cd1648a commit cf4c68c
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ node_modules/*
.DS_Store
.standard.json
package-lock.json
remove-footer-credit.zip
**.zip
.php-cs-fixer.cache
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ module.exports = function( grunt ) {
build: {
options: {
pretty: true, // Pretty print file sizes when logging.
archive: '<%= pkg.name %>.zip'
archive: '<%= pkg.name %>-<%= pkg.version %>.zip'
},
expand: true,
cwd: 'build/',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "remove-footer-credit",
"main": "Gruntfile.js",
"version": "1.0.3",
"version": "1.0.14",
"author": "WPChill",
"license": "GPL v3",
"repository": "https://github.com/WPChill/remove-footer-credit",
Expand Down
7 changes: 5 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Contributors: wpchill, silkalns
Tags: footer, credit, change, modify, replace, remove, link, HTML, text, remove footer credit
Requires at least: 5.9
Tested up to: 6.2
Stable tag: 1.0.13
Tested up to: 6.5
Stable tag: 1.0.14
Requires PHP: 7.2
License: GPLv3 or later

Expand Down Expand Up @@ -32,6 +32,9 @@ This plugin has very minimal options to keep things simple and easier to use. Yo

== Changelog ==

= 1.0.14 - 21.03.2024 =
Fixed: Security issue

= 1.0.13 - 24.02.2022 =
Fixed: Replaceable text new line bug

Expand Down
Binary file added remove-footer-credit-1.0.14.zip
Binary file not shown.
5 changes: 4 additions & 1 deletion remove-footer-credit.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: Remove Footer Credit
* Description: A simple plugin to remove footer credits
* Version: 1.0.13
* Version: 1.0.14
* Author: WPChill
* Author URI: https://wpchill.com
* Requires: 5.2 or higher
Expand Down Expand Up @@ -212,6 +212,9 @@ function jabrfc_ob_call( $buffer ) // $buffer contains entire page.
$replace = '';
if ( isset( $data['replace'][ $i ] ) ) {
$replace = html_entity_decode( jabrfc_kses( $data['replace'][ $i ] ) );
if ( defined( 'DISALLOW_UNFILTERED_HTML' ) && DISALLOW_UNFILTERED_HTML ) {
$replace = esc_html( $replace );
}
}

// try to replace wihtout html_entity_decode.
Expand Down

0 comments on commit cf4c68c

Please sign in to comment.