diff --git a/includes/core/class-mail.php b/includes/core/class-mail.php index 1474a316..b7ee7729 100644 --- a/includes/core/class-mail.php +++ b/includes/core/class-mail.php @@ -411,7 +411,7 @@ if ( ! class_exists( 'um\core\Mail' ) ) { return; } - if ( ! empty( UM()->options()->get( $template . '_on' ) ) ) { + if ( empty( UM()->options()->get( $template . '_on' ) ) ) { return; } /** diff --git a/readme.txt b/readme.txt index 314acecb..7aa975b8 100644 --- a/readme.txt +++ b/readme.txt @@ -7,7 +7,7 @@ Tags: community, member, membership, user-profile, user-registration Requires PHP: 5.6 Requires at least: 5.5 Tested up to: 6.2 -Stable tag: 2.6.1 +Stable tag: 2.6.2 License: GNU Version 2 or Any Later Version License URI: http://www.gnu.org/licenses/gpl-3.0.txt @@ -163,6 +163,12 @@ No, you do not need to use our plugin’s login or registration pages and can us * To learn more about version 2.1 please see this [docs](https://docs.ultimatemember.com/article/1512-upgrade-2-1-0) * UM2.1+ is a significant update to the Member Directories' code base from 2.0.x. Please make sure you take a full-site backup with restore point before updating the plugin += 2.6.2: May 31, 2023 = + +* Bugfixes: + + - Fixed: Email notifications sending + = 2.6.1: May 29, 2023 = * Enhancements: diff --git a/ultimate-member.php b/ultimate-member.php index 82136127..ac36f83f 100644 --- a/ultimate-member.php +++ b/ultimate-member.php @@ -3,7 +3,7 @@ Plugin Name: Ultimate Member Plugin URI: http://ultimatemember.com/ Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress -Version: 2.6.1 +Version: 2.6.2 Author: Ultimate Member Author URI: http://ultimatemember.com/ Text Domain: ultimate-member @@ -14,11 +14,19 @@ defined( 'ABSPATH' ) || exit; require_once ABSPATH . 'wp-admin/includes/plugin.php'; $plugin_data = get_plugin_data( __FILE__ ); +// phpcs:disable Generic.NamingConventions.UpperCaseConstantName define( 'um_url', plugin_dir_url( __FILE__ ) ); define( 'um_path', plugin_dir_path( __FILE__ ) ); define( 'um_plugin', plugin_basename( __FILE__ ) ); define( 'ultimatemember_version', $plugin_data['Version'] ); define( 'ultimatemember_plugin_name', $plugin_data['Name'] ); +// phpcs:enable Generic.NamingConventions.UpperCaseConstantName + +define( 'UM_URL', plugin_dir_url( __FILE__ ) ); +define( 'UM_PATH', plugin_dir_path( __FILE__ ) ); +define( 'UM_PLUGIN', plugin_basename( __FILE__ ) ); +define( 'UM_VERSION', $plugin_data['Version'] ); +define( 'UM_PLUGIN_NAME', $plugin_data['Name'] ); require_once 'includes/class-functions.php'; require_once 'includes/class-init.php';