Plugin Directory

Changeset 3434043


Ignore:
Timestamp:
01/07/2026 04:08:54 AM (2 months ago)
Author:
lightsyncpro
Message:

Version 1.2.3 - Fixed PHP 7.4 compatibility

Location:
lightsyncpro/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • lightsyncpro/trunk/includes/sync/class-sync.php

    r3433999 r3434043  
    829829
    830830    // Helper: infer extension from mime
     831   // Helper: infer extension from mime
    831832    $infer_ext = function(string $mime): string {
    832833        $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        }
    840841    };
    841842
  • lightsyncpro/trunk/lightsyncpro.php

    r3433999 r3434043  
    44 * Plugin URI: https://lightsyncpro.com
    55 * Description: Sync Adobe Lightroom (Cloud) albums directly into the Media Library.
    6  * Version: 1.2.2
     6 * Version: 1.2.3
    77 * Author: Tag Team Design
    88 * Author URI: https://tagteamdesign.com
     
    4848
    4949if ( ! defined( 'LIGHTSYNC_PRO' ) ) define( 'LIGHTSYNC_PRO', 'lightsyncpro' );
    50 if ( ! defined( 'LIGHTSYNC_VERSION' ) ) define( 'LIGHTSYNC_VERSION', '1.2.2' );
     50if ( ! defined( 'LIGHTSYNC_VERSION' ) ) define( 'LIGHTSYNC_VERSION', '1.2.3' );
    5151
    5252
    5353// Core constants - all guarded to prevent conflicts during Pro activation
    54 if ( ! defined( 'LIGHTSYNC_PRO_VERSION' ) )  define( 'LIGHTSYNC_PRO_VERSION',  '1.2.2' );
     54if ( ! defined( 'LIGHTSYNC_PRO_VERSION' ) )  define( 'LIGHTSYNC_PRO_VERSION',  '1.2.3' );
    5555if ( ! defined( 'LIGHTSYNC_PRO_NAME' ) )     define( 'LIGHTSYNC_PRO_NAME',     'LightSync Pro' );
    5656if ( ! defined( 'LIGHTSYNC_PRO_SLUG' ) )     define( 'LIGHTSYNC_PRO_SLUG',     'lightsyncpro' );
  • lightsyncpro/trunk/readme.txt

    r3433999 r3434043  
    55Tested up to: 6.9
    66Requires PHP: 7.4
    7 Stable tag: 1.2.2
     7Stable tag: 1.2.3
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    134134
    135135== Changelog ==
     136
     137= 1.2.3 =
     138* Fixed PHP 7.4 compatibility
    136139
    137140= 1.2.2 =
     
    156159== Upgrade Notice ==
    157160
     161= 1.2.3 =
     162PHP 7.4 stability
     163
    158164= 1.2.2 =
    159165Minor code quality fix for WordPress.org compliance.
Note: See TracChangeset for help on using the changeset viewer.