diff --git a/readme.txt b/readme.txt index 9440cc54..baf33998 100644 --- a/readme.txt +++ b/readme.txt @@ -163,6 +163,9 @@ 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: June xx, 2023 = + + = 2.6.1: May 25, 2023 = * Enhancements: diff --git a/ultimate-member.php b/ultimate-member.php index 3cdb44cb..ad1603f5 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-alpha Author: Ultimate Member Author URI: http://ultimatemember.com/ Text Domain: ultimate-member @@ -11,14 +11,22 @@ Text Domain: ultimate-member defined( 'ABSPATH' ) || exit; -require_once( ABSPATH . 'wp-admin/includes/plugin.php' ); +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';