Releases: YOSSEF-WEAL/content-manager
Releases · YOSSEF-WEAL/content-manager
Release list
v2.4.1
What's fixed in 2.4.1
This release fixes a critical issue in the GitHub updater that could interfere with installing other plugins in WordPress.
Fixes
-
Fixed
fix_source_directory()target folder calculation:- Replaced
basename(dirname(CPCM_PLUGIN_DIR))withbasename(rtrim(CPCM_PLUGIN_DIR, '/\\')) - Prevents wrong destination path like
/wp-content/plugins/plugins/
- Replaced
-
Added protection for first-time installs when
hook_extra['plugin']is empty:- Validates source folder name starts with
content-manager - Exits early for non-CPCM plugins
- Validates source folder name starts with
-
Ensured updater source renaming only applies to CPCM plugin updates/install flow
Internal
- Bumped plugin version to
2.4.1in plugin header andCPCM_VERSION - Updated README version to
2.4.1
2.4.0
v2.4.0 Update version to 2.4.0 and enhance GitHub updater with formatted rel…
v2.3.2 - Enhanced Update Checker & Fixes
Enhanced Update Checker & Fixes
v2.3.1 - Enhanced Update Checker & Fixes
What's New
🚀 Improved Update System
- Modified the plugin to check for fresh updates every time the Plugins or Updates page is visited in the dashboard.
- Reduced update cache timeout to 5 minutes for better responsiveness.
- Improved version comparison logic to ensure reliable update notifications.
✨ Shortcode Converter (from v2.3.0)
- Full support for using
[cpcm_field]shortcodes in Elementor link attributes (href, src). - Handles Elementor's automatic URL encoding and
http://prefixing.
🔧 Technical Changes
- Updated CPCM_GitHub_Updater class for better performance in the admin area.
- Added support for displaying the changelog directly in the WordPress update details popup.
Full Changelog: v2.3.0...v2.3.1
v2.3.0 - Shortcode Converter for Elementor
What's New
✨ New Feature: Shortcode Converter for Elementor Links
You can now use CPCM shortcodes directly in Elementor link fields (Button URLs, Image Links, etc.)!
Usage:
How it works:
- Automatically converts shortcodes in
hrefandsrcattributes - Handles Elementor's URL encoding
- Only processes on frontend (not in editor mode)
📦 Files Added
- includes/class-cpcm-shortcode-converter.php
🔧 Files Modified
- includes/class-cpcm-core.php - Added shortcode converter integration
Full Changelog: 2.2.3...v2.3.0