- Remove AS3CF_Pro_Licences_Updates instantiation and all $this->licence references from the PHP backend; stub methods return safe defaults (is_valid_licence → true, is_licence_over_media_limit → false, feature_enabled → true, is_pro_plugin_setup bypasses licence check) - Remove Licences REST API endpoint from add_api_endpoints() - Remove 'licence' from allowed settings keys - Bump version from 3.2.12 to 4.0.0-cloudhost in version.php and plugin header - Replace licence derived store with hardcoded always-valid writable store - Simplify enableAssets store to depend only on config.assets_settings - Remove licence panel row from Nav flyout; remove licence check from offload remaining button disabled logic - Replace Header licence display with "Internal Build" label - Remove LicencePage route registration from pages.js; drop licence import and is_valid guards from all isNextRoute functions - Rebuild compiled Svelte bundle Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
7 lines
269 B
PHP
7 lines
269 B
PHP
<?php
|
|
$version = '4.0.0-cloudhost';
|
|
|
|
// We set versions for both slugs to avoid undefined index errors for free slug
|
|
$GLOBALS['aws_meta']['amazon-s3-and-cloudfront-pro']['version'] = $version;
|
|
$GLOBALS['aws_meta']['amazon-s3-and-cloudfront']['version'] = $version;
|