Skip to content

Commit

Permalink
Merge pull request #709 from valendesigns/develop
Browse files Browse the repository at this point in the history
Hotfix version 2.7.3
  • Loading branch information
valendesigns authored May 19, 2019
2 parents 23f0ccf + c1b787a commit 09881be
Show file tree
Hide file tree
Showing 6 changed files with 1,085 additions and 1,079 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "valendesigns/option-tree",
"description": "Theme Options UI Builder for WordPress.",
"version": "2.7.2",
"version": "2.7.3",
"type": "wordpress-plugin",
"homepage": "https://github.com/valendesigns/option-tree",
"license": "GPL-2.0-or-later",
Expand Down
2 changes: 1 addition & 1 deletion includes/ot-functions-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -5057,7 +5057,7 @@ function ot_decode( $value ) {
preg_match( '/a:\d+:{.*?}/', $decoded, $array_matches, PREG_OFFSET_CAPTURE, 0 );

// Search for an object.
preg_match( '/O:\d+:"[a-z0-9_]+":\d+:{.*?}/i', $decoded, $obj_matches, PREG_OFFSET_CAPTURE, 0 );
preg_match( '/O|C:\+?\d+:"[a-z0-9_]+":\+?\d+:/i', $decoded, $obj_matches, PREG_OFFSET_CAPTURE, 0 );

// Prevent object injection or non arrays.
if ( $obj_matches || ! $array_matches ) {
Expand Down
4 changes: 2 additions & 2 deletions ot-loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: OptionTree
* Plugin URI: https://github.com/valendesigns/option-tree/
* Description: Theme Options UI Builder for WordPress. A simple way to create & save Theme Options and Meta Boxes for free or premium themes.
* Version: 2.7.2
* Version: 2.7.3
* Author: Derek Herman
* Author URI: http://valendesigns.com
* License: GPLv2 or later
Expand Down Expand Up @@ -84,7 +84,7 @@ private function constants() {
/**
* Current Version number.
*/
define( 'OT_VERSION', '2.7.2' );
define( 'OT_VERSION', '2.7.3' );

/**
* For developers: Theme mode.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "option-tree",
"version": "2.7.2",
"version": "2.7.3",
"repository": {
"type": "git",
"url": "https://github.com/valendesigns/option-tree.git"
Expand Down
Loading

0 comments on commit 09881be

Please sign in to comment.