Plugin Directory

Changeset 3043548


Ignore:
Timestamp:
03/01/2024 09:56:12 AM (2 years ago)
Author:
memsource
Message:

Version 4.6.1

Location:
memsource-connector/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • memsource-connector/trunk/memsource.php

    r3006102 r3043548  
    55Plugin URI: https://support.phrase.com/hc/en-us/articles/5709657294620
    66Description: Localize WordPress websites with the help of professional translation tools: translation memories, terminology bases and quality checkers.
    7 Version: 4.6.0
     7Version: 4.6.1
    88Text Domain: memsource
    99Domain Path: /locale
     
    1818
    1919define('MEMSOURCE_PLUGIN_PATH', dirname(__FILE__));
    20 define('MEMSOURCE_PLUGIN_VERSION', '4.6.0');
     20define('MEMSOURCE_PLUGIN_VERSION', '4.6.1');
    2121define('MEMSOURCE_PLUGIN_DIR_URL', plugin_dir_url(__FILE__));
    2222
  • memsource-connector/trunk/readme.txt

    r3006102 r3043548  
    3333== Changelog ==
    3434
     35= 4.6.1 =
     36*Release Date - 1 Mar 2024*
     37
     38* Added support for the ACF plugin installed via MU-Plugins
     39
    3540= 4.6.0 =
    3641*Release Date - 6 Dec 2023*
  • memsource-connector/trunk/src/Service/TranslationWorkflowService.php

    r2929793 r3043548  
    194194    public function isAcfEnabled(): bool
    195195    {
    196         return in_array('advanced-custom-fields/acf.php', get_option('active_plugins'), true) ||
    197                in_array('advanced-custom-fields-pro/acf.php', get_option('active_plugins'), true);
     196        global $acf;
     197        return isset($acf);
    198198    }
    199199}
  • memsource-connector/trunk/src/Utils/LogUtils.php

    r2870027 r3043548  
    153153            'Memsource Connector Plugin Version' => MEMSOURCE_PLUGIN_VERSION,
    154154            'Active plugins' => get_option('active_plugins'),
     155            'MU plugins' => wp_get_mu_plugins(),
    155156            'Configured custom fields' => $appRegistry->getCustomFieldsService()->getCustomFieldsDump(),
    156157            'Installed shortcodes' => array_keys($shortcode_tags),
Note: See TracChangeset for help on using the changeset viewer.