Changeset 3166149
- Timestamp:
- 10/09/2024 11:14:34 PM (18 months ago)
- Location:
- brightedge-autopilot/trunk
- Files:
-
- 3 edited
-
be_ixf_php_wp.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
src/constants.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
brightedge-autopilot/trunk/be_ixf_php_wp.php
r3148911 r3166149 4 4 * Plugin URI: https://www.brightedge.com/ 5 5 * Description: Enables BrightEdge Autopilot on your Wordpress site. 6 * Version: 1.1.1 56 * Version: 1.1.16 7 7 * Author: BrightEdge 8 8 * Author URI: https://www.brightedge.com/ … … 51 51 /*********** custom code start ******************/ 52 52 53 // Ensure WP_CLI is defined and check if it's active 54 if (!defined('WP_CLI')) { 55 define('WP_CLI', false); 53 // Check if WP-CLI is active to prevent conflicts with other plugins 54 if (defined('WP_CLI') && WP_CLI && php_sapi_name() == 'cli') { 55 // Exit early if WP-CLI is active to skip frontend and admin hooks 56 return; 56 57 } 57 58 58 /*********** custom code end ******************/ 59 59 60 60 61 // Only add actions if WP-CLI is not active62 if (! WP_CLI) {61 // Ensure actions and loader are only run in non-CLI mode 62 if (!defined('WP_CLI') || !WP_CLI) { 63 63 if (function_exists('add_action')) { 64 64 add_action('init', function () { -
brightedge-autopilot/trunk/readme.txt
r3148911 r3166149 7 7 Requires PHP: 5.5 8 8 Tested up to: 6.6.1 9 Version: 1.1.1 59 Version: 1.1.16 10 10 Copyright: BrightEdge Technologies, Inc. 11 11 License: www.brightedge.com/infrastructure-product-terms … … 25 25 26 26 == Changelog == 27 28 1.1.16 = 29 * Release date: Oct 3, 2024 30 31 **Update** 32 33 * Added a fix for WP CLI Conflicts 27 34 28 35 1.1.15 = -
brightedge-autopilot/trunk/src/constants.php
r3148911 r3166149 5 5 class BEIXFConstants{ 6 6 // wordpress plugin version 7 const WP_VERSION = '<meta name="be:wp" content="1.1.1 5">';7 const WP_VERSION = '<meta name="be:wp" content="1.1.16">'; 8 8 // account id 9 9 const ACCOUNT_ID = 'account_id';
Note: See TracChangeset
for help on using the changeset viewer.