Changeset 3434043
- Timestamp:
- 01/07/2026 04:08:54 AM (2 months ago)
- Location:
- lightsyncpro/trunk
- Files:
-
- 3 edited
-
includes/sync/class-sync.php (modified) (1 diff)
-
lightsyncpro.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lightsyncpro/trunk/includes/sync/class-sync.php
r3433999 r3434043 829 829 830 830 // Helper: infer extension from mime 831 // Helper: infer extension from mime 831 832 $infer_ext = function(string $mime): string { 832 833 $mime = strtolower(trim($mime)); 833 return match ($mime) {834 'image/png' => '.png',835 'image/webp' => '.webp',836 'image/avif' => '.avif',837 'image/gif' => '.gif',838 default => '.jpg',839 } ;834 switch ($mime) { 835 case 'image/png': return '.png'; 836 case 'image/webp': return '.webp'; 837 case 'image/avif': return '.avif'; 838 case 'image/gif': return '.gif'; 839 default: return '.jpg'; 840 } 840 841 }; 841 842 -
lightsyncpro/trunk/lightsyncpro.php
r3433999 r3434043 4 4 * Plugin URI: https://lightsyncpro.com 5 5 * Description: Sync Adobe Lightroom (Cloud) albums directly into the Media Library. 6 * Version: 1.2. 26 * Version: 1.2.3 7 7 * Author: Tag Team Design 8 8 * Author URI: https://tagteamdesign.com … … 48 48 49 49 if ( ! defined( 'LIGHTSYNC_PRO' ) ) define( 'LIGHTSYNC_PRO', 'lightsyncpro' ); 50 if ( ! defined( 'LIGHTSYNC_VERSION' ) ) define( 'LIGHTSYNC_VERSION', '1.2. 2' );50 if ( ! defined( 'LIGHTSYNC_VERSION' ) ) define( 'LIGHTSYNC_VERSION', '1.2.3' ); 51 51 52 52 53 53 // Core constants - all guarded to prevent conflicts during Pro activation 54 if ( ! defined( 'LIGHTSYNC_PRO_VERSION' ) ) define( 'LIGHTSYNC_PRO_VERSION', '1.2. 2' );54 if ( ! defined( 'LIGHTSYNC_PRO_VERSION' ) ) define( 'LIGHTSYNC_PRO_VERSION', '1.2.3' ); 55 55 if ( ! defined( 'LIGHTSYNC_PRO_NAME' ) ) define( 'LIGHTSYNC_PRO_NAME', 'LightSync Pro' ); 56 56 if ( ! defined( 'LIGHTSYNC_PRO_SLUG' ) ) define( 'LIGHTSYNC_PRO_SLUG', 'lightsyncpro' ); -
lightsyncpro/trunk/readme.txt
r3433999 r3434043 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.4 7 Stable tag: 1.2. 27 Stable tag: 1.2.3 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 134 134 135 135 == Changelog == 136 137 = 1.2.3 = 138 * Fixed PHP 7.4 compatibility 136 139 137 140 = 1.2.2 = … … 156 159 == Upgrade Notice == 157 160 161 = 1.2.3 = 162 PHP 7.4 stability 163 158 164 = 1.2.2 = 159 165 Minor code quality fix for WordPress.org compliance.
Note: See TracChangeset
for help on using the changeset viewer.