Compare commits
8 Commits
fix/truste
...
chore/word
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
166583621b | ||
|
|
ca952c4674 | ||
|
|
4054778b6c | ||
|
|
56a5f00015 | ||
|
|
a96d50c481 | ||
|
|
4806212f46 | ||
|
|
2486f3c6b2 | ||
|
|
97b1ab23d8 |
@@ -89,7 +89,11 @@ steps:
|
||||
from_secret: registry_password
|
||||
platforms: linux/amd64
|
||||
provenance: false
|
||||
build_args: APP_BUILD_VERSION=${CI_COMMIT_SHA:0:8},APP_GIT_SHA=${CI_COMMIT_SHA},APP_BUILD_TIME=${CI_PIPELINE_CREATED},CONTAINER_IMAGE_TAG=${CI_COMMIT_SHA:0:8}
|
||||
build_args:
|
||||
APP_BUILD_VERSION: ${CI_COMMIT_SHA:0:8}
|
||||
APP_GIT_SHA: ${CI_COMMIT_SHA}
|
||||
APP_BUILD_TIME: ${CI_PIPELINE_CREATED}
|
||||
CONTAINER_IMAGE_TAG: ${CI_COMMIT_SHA:0:8}
|
||||
depends_on: []
|
||||
when:
|
||||
branch: master
|
||||
|
||||
BIN
backend/public/downloads/cannaiq-menus-1.6.0.zip
Normal file
BIN
backend/public/downloads/cannaiq-menus-1.6.0.zip
Normal file
Binary file not shown.
1
backend/public/downloads/cannaiq-menus-latest.zip
Symbolic link
1
backend/public/downloads/cannaiq-menus-latest.zip
Symbolic link
@@ -0,0 +1 @@
|
||||
cannaiq-menus-1.6.0.zip
|
||||
@@ -46,14 +46,17 @@ class CannaIQ_Menus_Plugin {
|
||||
// Initialize plugin
|
||||
load_plugin_textdomain('cannaiq-menus', false, dirname(plugin_basename(__FILE__)) . '/languages');
|
||||
|
||||
// Register shortcodes
|
||||
// Register shortcodes - primary CannaIQ shortcodes
|
||||
add_shortcode('cannaiq_products', [$this, 'products_shortcode']);
|
||||
add_shortcode('cannaiq_product', [$this, 'single_product_shortcode']);
|
||||
// Legacy shortcode support (backward compatibility)
|
||||
add_shortcode('crawlsy_products', [$this, 'products_shortcode']);
|
||||
add_shortcode('crawlsy_product', [$this, 'single_product_shortcode']);
|
||||
add_shortcode('dutchie_products', [$this, 'products_shortcode']);
|
||||
add_shortcode('dutchie_product', [$this, 'single_product_shortcode']);
|
||||
|
||||
// DEPRECATED: Legacy shortcode aliases for backward compatibility only
|
||||
// These allow sites that used the old plugin names to continue working
|
||||
// New implementations should use [cannaiq_products] and [cannaiq_product]
|
||||
add_shortcode('crawlsy_products', [$this, 'products_shortcode']); // deprecated
|
||||
add_shortcode('crawlsy_product', [$this, 'single_product_shortcode']); // deprecated
|
||||
add_shortcode('dutchie_products', [$this, 'products_shortcode']); // deprecated
|
||||
add_shortcode('dutchie_product', [$this, 'single_product_shortcode']); // deprecated
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -114,7 +117,9 @@ class CannaIQ_Menus_Plugin {
|
||||
public function register_settings() {
|
||||
register_setting('cannaiq_menus_settings', 'cannaiq_api_token');
|
||||
|
||||
// Migrate old settings if they exist
|
||||
// MIGRATION: Auto-migrate API tokens from old plugin versions
|
||||
// This runs once - if user had crawlsy or dutchie plugin, their token is preserved
|
||||
// Can be removed in a future major version once all users have migrated
|
||||
$old_crawlsy_token = get_option('crawlsy_api_token');
|
||||
$old_dutchie_token = get_option('dutchie_api_token');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user