From 27ae908f223a67d0a59d44d22022072c249e7c81 Mon Sep 17 00:00:00 2001 From: Alex Bouma Date: Mon, 28 Oct 2019 12:41:41 +0100 Subject: [PATCH] Version bump and release note updates --- README.md | 2 +- readme.txt | 7 ++++++- src/class-wp-sentry-version.php | 2 +- wp-sentry.php | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b60c521..5c36ecb 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ define( 'WP_SENTRY_PUBLIC_DSN', 'JS_DSN' ); (Optionally) define a version of your site; by default the theme version will be used. This is used for tracking at which version of your site the error occurred. When combined with release tracking this is a very powerful feature. ```php -define( 'WP_SENTRY_VERSION', 'v3.0.3' ); +define( 'WP_SENTRY_VERSION', 'v3.0.4' ); ``` (Optionally) define an environment of your site. Defaults to `unspecified`. diff --git a/readme.txt b/readme.txt index 079fec9..72c351b 100644 --- a/readme.txt +++ b/readme.txt @@ -48,7 +48,7 @@ When enabled the current logged in user and IP address will be added to the even (Optionally) define a version of your site; by default the theme version will be used. This is used for tracking at which version of your site the error occurred. When combined with release tracking this is a very powerful feature. -`define( 'WP_SENTRY_VERSION', 'v3.0.3' );` +`define( 'WP_SENTRY_VERSION', 'v3.0.4' );` (Optionally) define an environment of your site. Defaults to `unspecified`. @@ -60,6 +60,11 @@ This plugin provides filters to plugin/theme developers. For more information have a look at the README.md file: https://github.com/stayallive/wp-sentry/blob/master/README.md#filters. == Changelog == += 3.0.4 = + +- Fixed error when `WP_SENTRY_VERSION` is not defined and theme version returns `false`. +- Update PHP SDK to version 2.2.2 + = 3.0.3 = - Use the ABSPATH constant as default project root. diff --git a/src/class-wp-sentry-version.php b/src/class-wp-sentry-version.php index 7f40b2b..3a878de 100644 --- a/src/class-wp-sentry-version.php +++ b/src/class-wp-sentry-version.php @@ -5,5 +5,5 @@ */ final class WP_Sentry_Version { public const SDK_IDENTIFIER = 'sentry.php.wp-sentry-integration'; - public const SDK_VERSION = '3.0.3'; + public const SDK_VERSION = '3.0.4'; } diff --git a/wp-sentry.php b/wp-sentry.php index 08e805a..074bd8c 100644 --- a/wp-sentry.php +++ b/wp-sentry.php @@ -4,7 +4,7 @@ * Plugin Name: WordPress Sentry * Plugin URI: https://github.com/stayallive/wp-sentry * Description: A (unofficial) WordPress plugin to report PHP and JavaScript errors to Sentry. - * Version: 3.0.3 + * Version: 3.0.4 * Author: Alex Bouma * Author URI: https://alex.bouma.dev * License: MIT