From 84a371c71bc350587356094ba70f9669ef3696a3 Mon Sep 17 00:00:00 2001 From: Nguyen Date: Mon, 19 Sep 2022 11:21:24 +0700 Subject: [PATCH] Release new version 3.0.1 = 3.0.1 - 2022/09/19 = * This maintenance release fixes a missing content filter on portfolio item pages * Fix - apply filters the_content into content-single-portfolio so all shortcode, embed media that can show on portfolio single detail page --- a3-portfolio.php | 4 ++-- admin/admin-interface.php | 2 +- changelog.txt | 4 ++++ readme.txt | 9 ++++++++- templates/content-single-portfolio.php | 2 +- 5 files changed, 16 insertions(+), 5 deletions(-) diff --git a/a3-portfolio.php b/a3-portfolio.php index 709bcc4..f3c3796 100644 --- a/a3-portfolio.php +++ b/a3-portfolio.php @@ -2,7 +2,7 @@ /* Plugin Name: a3 Portfolio Description: Creates a beautiful fully mobile responsive, fully customizable, Google images style portfolio to showcase your work. -Version: 3.0.0 +Version: 3.0.1 Author: a3rev Software Author URI: https://a3rev.com/ Requires at least: 5.6 @@ -34,7 +34,7 @@ define( 'A3_PORTFOLIO_KEY', 'a3_portfolios' ); define( 'A3_PORTFOLIO_PREFIX', 'a3_portfolio_' ); -define( 'A3_PORTFOLIO_VERSION', '3.0.0' ); +define( 'A3_PORTFOLIO_VERSION', '3.0.1' ); define( 'A3_PORTFOLIO_G_FONTS', true ); if ( version_compare( PHP_VERSION, '5.6.0', '>=' ) ) { diff --git a/admin/admin-interface.php b/admin/admin-interface.php index 12dc337..1fbe493 100644 --- a/admin/admin-interface.php +++ b/admin/admin-interface.php @@ -908,7 +908,7 @@ public function save_settings( $options, $option_name = '' ) { if ( is_array( $_POST[ $option_name ][ $id_attribute ] ) ) { $option_value = array_map( 'sanitize_textarea_field', wp_unslash( $_POST[ $option_name ][ $id_attribute ] ) ); } else { - $option_value = sanitize_textarea_field( wp_unslash( _POST[ $option_name ][ $id_attribute ] ) ); + $option_value = sanitize_textarea_field( wp_unslash( $_POST[ $option_name ][ $id_attribute ] ) ); } } else { if ( is_array( $_POST[ $option_name ][ $id_attribute ] ) ) { diff --git a/changelog.txt b/changelog.txt index 656d4f5..c1f40da 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,9 @@ == Changelog == += 3.0.1 - 2022/09/19 = +* This maintenance release fixes a missing content filter on portfolio item pages +* Fix - apply filters the_content into content-single-portfolio so all shortcode, embed media that can show on portfolio single detail page + = 3.0.0 - 2022/05/24 = * This feature release has compatibility tweaks for WordPress major version 6.0 and includes various code tweaks for FSE compatibility and tweaks for hardening security. * Feature - Add BlockTemplatesController for control block templates of Portfolio singular, category and tag diff --git a/readme.txt b/readme.txt index 354d9a1..b6acec4 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Contributors: a3rev, nguyencongtuan Tags: a3 Portfolio, Portfolio, Post Portfolio, Showcase, Image Showcase, Image Portfolio, Gallery, Photo Gallery, Image Gallery Requires at least: 5.6 Tested up to: 6.0 -Stable tag: 3.0.0 +Stable tag: 3.0.1 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -167,6 +167,10 @@ Automatic installation is the easiest option as WordPress handles the file trans == Changelog == += 3.0.1 - 2022/09/19 = +* This maintenance release fixes a missing content filter on portfolio item pages +* Fix - apply filters the_content into content-single-portfolio so all shortcode, embed media that can show on portfolio single detail page + = 3.0.0 - 2022/05/24 = * This feature release has compatibility tweaks for WordPress major version 6.0 and includes various code tweaks for FSE compatibility and tweaks for hardening security. * Feature - Add BlockTemplatesController for control block templates of Portfolio singular, category and tag @@ -747,6 +751,9 @@ Automatic installation is the easiest option as WordPress handles the file trans == Upgrade Notice == += 3.0.1 = +This maintenance release fixes a missing content filter on portfolio item pages + = 3.0.0 = This feature release has compatibility tweaks for WordPress major version 6.0 and includes various code tweaks for FSE compatibility and tweaks for hardening security. diff --git a/templates/content-single-portfolio.php b/templates/content-single-portfolio.php index ef0cf0b..3c12046 100644 --- a/templates/content-single-portfolio.php +++ b/templates/content-single-portfolio.php @@ -127,7 +127,7 @@ ?>
- post_content ); ?> + post_content ) ); ?>