Plugin Directory

Changeset 3475701


Ignore:
Timestamp:
03/05/2026 02:00:32 PM (4 weeks ago)
Author:
bilaltas
Message:

Bug fix related to user localization preference

Location:
custom-codes/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • custom-codes/trunk/custom-codes.php

    r3459941 r3475701  
    1717 * Text Domain: custom-codes
    1818 * Domain Path: /languages
    19  * Version: 2.5.1
     19 * Version: 2.5.2
    2020 *
    2121 */
    2222defined( 'ABSPATH' ) || die( 'No script kiddies please!' );
    23 define( 'CODES_VERSION', '2.5.1' );
     23define( 'CODES_VERSION', '2.5.2' );
    2424define( 'CODES_DEBUG', false );
    2525// Paths.
     
    4545                require_once dirname( __FILE__ ) . '/vendor/freemius/wordpress-sdk/start.php';
    4646                $codes_fs = fs_dynamic_init( array(
    47                     'id'              => '7183',
    48                     'slug'            => 'custom-codes',
    49                     'premium_slug'    => 'custom-codes-pro',
    50                     'type'            => 'plugin',
    51                     'public_key'      => 'pk_4c4440eed53a6dd7637b96b2b82c0',
    52                     'is_premium'      => false,
    53                     'premium_suffix'  => 'PRO',
    54                     'has_addons'      => false,
    55                     'has_paid_plans'  => true,
    56                     'has_affiliation' => 'selected',
    57                     'menu'            => array(
     47                    'id'               => '7183',
     48                    'slug'             => 'custom-codes',
     49                    'premium_slug'     => 'custom-codes-pro',
     50                    'type'             => 'plugin',
     51                    'public_key'       => 'pk_4c4440eed53a6dd7637b96b2b82c0',
     52                    'is_premium'       => false,
     53                    'premium_suffix'   => 'PRO',
     54                    'has_addons'       => false,
     55                    'has_paid_plans'   => true,
     56                    'has_affiliation'  => 'selected',
     57                    'menu'             => array(
    5858                        'slug'        => 'edit.php?post_type=custom-code',
    5959                        'first-path'  => 'edit.php?post_type=custom-code',
     
    6262                        'affiliation' => false,
    6363                    ),
    64                     'is_live'         => true,
     64                    'is_live'          => true,
     65                    'is_org_compliant' => true,
    6566                ) );
    6667            }
  • custom-codes/trunk/lib/activation.php

    r3457485 r3475701  
    6262function codes_load_plugin_textdomain() {
    6363
    64     load_textdomain( 'custom-codes', CODES_PLUGIN_DIR . '/languages/custom-codes-' . get_locale() . '.mo' );
     64    load_textdomain( 'custom-codes', CODES_PLUGIN_DIR . '/languages/custom-codes-' . get_user_locale() . '.mo' );
    6565}
    6666add_action( 'plugins_loaded', 'codes_load_plugin_textdomain' );
  • custom-codes/trunk/readme.txt

    r3459941 r3475701  
    150150
    151151== Changelog ==
     152= 2.5.2 (2026-03-05 16:239 EET) =
     153* Bug fix related to user localization preference
     154* Unused assets removed and old icon updated
     155
    152156= 2.5.1 (2026-02-12 15:27 EET) =
    153157* Added: AI modal preview
     
    479483== Upgrade Notice ==
    480484
     485= 2.5.0 =
     486CodeKit now has AI superpowers! Generate, fix, and optimize your custom codes with Google Gemini or OpenAI.
     487
    481488= 2.0.0 =
    482489This is a major upgrade. Please backup both files and database before updating.
  • custom-codes/trunk/vendor/composer-lite/installed.php

    r3459941 r3475701  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '2ed11afc896109a89d2fdc1045e62d4daa9f1056',
     6        'reference' => '6cd914c9145cda32e65b62430f6fbc16f629c340',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-master',
    1515            'version' => 'dev-master',
    16             'reference' => '2ed11afc896109a89d2fdc1045e62d4daa9f1056',
     16            'reference' => '6cd914c9145cda32e65b62430f6fbc16f629c340',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.