Skip to content

Commit 1c9a62a

Browse files
committed
Release new version 2.8.1
= 2.8.1 - 2019/10/12 = * This maintenance update is to fix PHP query arg function errors * Fix - Parse parameter to add_query_arg function
1 parent 5829ee8 commit 1c9a62a

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

a3-portfolio.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*
33
Plugin Name: a3 Portfolio
44
Description: Creates a beautiful fully mobile responsive, fully customizable, Google images style portfolio to showcase your work.
5-
Version: 2.8.0
5+
Version: 2.8.1
66
Author: a3rev Software
77
Author URI: https://a3rev.com/
88
Requires at least: 4.6
@@ -33,7 +33,7 @@
3333
define('A3_PORTFOLIO_TEMPLATE_IMAGES_URL', A3_PORTFOLIO_URL . '/templates/images');
3434

3535
define( 'A3_PORTFOLIO_KEY', 'a3_portfolios' );
36-
define( 'A3_PORTFOLIO_VERSION', '2.8.0' );
36+
define( 'A3_PORTFOLIO_VERSION', '2.8.1' );
3737
define( 'A3_PORTFOLIO_G_FONTS', true );
3838

3939
/**
@@ -63,4 +63,3 @@ function a3_portfolio_plugin_textdomain() {
6363
*/
6464
global $a3_portfolio;
6565
register_activation_hook(__FILE__, array( $a3_portfolio, 'plugin_activated' ) );
66-
?>

admin/plugin-init.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function includes() {
7070
}
7171

7272
if ( is_admin() ) {
73-
$current_url = add_query_arg();
73+
$current_url = add_query_arg( 'custom-portfolio', false );
7474
if ( ! defined( 'A3_PORTFOLIO_SHORTCODES_KEY' ) && ( false !== stristr( $current_url, 'post.php' ) || false !== stristr( $current_url, 'edit-tags.php' ) ) ) {
7575
include( A3_PORTFOLIO_DIR . '/includes/backend/class-a3-portfolio-shortcodes-hooks.php' );
7676
}

changelog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
== Changelog ==
22

3+
= 2.8.1 - 2019/10/12 =
4+
* This maintenance update is to fix PHP query arg function errors
5+
* Fix - Parse parameter to add_query_arg function
6+
37
= 2.8.0 - 2019/09/07 =
48
* This feature upgrade adds a3Portfolio Gutenberg Block plus 5 filter blocks. Also includes inclusion of shortcodes into core for those still using the legacy editor.
59
* Feature - a3 Portfolio Premium shortcodes plugin discontinued, shortcodes now included in the parent plugin.

readme.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Contributors: a3rev, nguyencongtuan
44
Tags: a3 Portfolio, Portfolio, Post Portfolio, Showcase, Image Showcase, Image Portfolio, Gallery, Photo Gallery, Image Gallery
55
Requires at least: 4.6
66
Tested up to: 5.2.3
7-
Stable tag: 2.8.0
7+
Stable tag: 2.8.1
88
License: GPLv3
99
License URI: http://www.gnu.org/licenses/gpl-3.0.html
1010

@@ -168,6 +168,10 @@ Automatic installation is the easiest option as WordPress handles the file trans
168168

169169
== Changelog ==
170170

171+
= 2.8.1 - 2019/10/12 =
172+
* This maintenance update is to fix PHP query arg function errors
173+
* Fix - Parse parameter to add_query_arg function
174+
171175
= 2.8.0 - 2019/09/07 =
172176
* This feature upgrade adds a3Portfolio Gutenberg Block plus 5 filter blocks. Also includes inclusion of shortcodes into core for those still using the legacy editor.
173177
* Feature - a3 Portfolio Premium shortcodes plugin discontinued, shortcodes now included in the parent plugin.
@@ -601,6 +605,9 @@ Automatic installation is the easiest option as WordPress handles the file trans
601605

602606
== Upgrade Notice ==
603607

608+
= 2.8.1 =
609+
This maintenance update is to fix PHP query arg function errors
610+
604611
= 2.8.0 =
605612
This feature upgrade adds a3Portfolio Gutenberg Block plus 5 filter blocks. Also includes inclusion of shortcodes into core for those still using the legacy editor.
606613

0 commit comments

Comments
 (0)