Plugin Directory

Changeset 3261836


Ignore:
Timestamp:
03/25/2025 11:06:28 PM (12 months ago)
Author:
mvpis
Message:

Updated to support Ajax and bug improvements

Location:
fluentc-translation
Files:
79 added
4 edited

Legend:

Unmodified
Added
Removed
  • fluentc-translation/tags/2.4.5/src/actions/class-wordpress.php

    r3261810 r3261836  
    169169        add_action('fluentc_language_set', array($this, 'refresh_language_code'));
    170170       
    171         // Register browser language detection and redirection.
    172         add_action('template_redirect', array($this, 'fluentc_language_redirect'), 1);
    173171    }
    174172   
     
    297295    public function process_final_output($buffer) {
    298296        // Don't process admin pages
    299         if (is_admin() || wp_doing_ajax() || defined('DOING_CRON') || wp_is_xml_request()) {
     297        if (is_admin() || defined('DOING_CRON') || wp_is_xml_request()) {
    300298            return $buffer;
    301299        }
  • fluentc-translation/trunk/fluentc_wordpress_plugin.php

    r3261810 r3261836  
    77 * Plugin URI: https://www.fluentc.ai
    88 * Description: A plugin that enables website owners to easily install the FluentC Translation on their WordPress site.
    9  * Version: 2.4.5
     9 * Version: 2.4.6
    1010 * Author: FluentC
    1111 * Author URI: https://www.fluentc.ai
     
    1717define( 'FLUENTC_DIR', __DIR__ );
    1818define( 'FLUENTC_SLUG', 'fluentc_translation' );
    19 define( 'FLUENTC_TRANSLATION_VERSION', "2.4.5" );
     19define( 'FLUENTC_TRANSLATION_VERSION', "2.4.6" );
    2020define( 'FLUENTC_TRANSLATION_PLUGIN_DIR', plugin_dir_path(__FILE__) );
    2121define( 'FLUENTC_TRANSLATION_PLUGIN_URL', plugin_dir_url(__FILE__) );
  • fluentc-translation/trunk/readme.txt

    r3261810 r3261836  
    55Requires at least: 4.6
    66Tested up to: 6.6.2
    7 Stable tag: 2.4.5
     7Stable tag: 2.4.6
    88Requires PHP: 7.3
    99License: GPLv2 or later
  • fluentc-translation/trunk/src/actions/class-wordpress.php

    r3261810 r3261836  
    169169        add_action('fluentc_language_set', array($this, 'refresh_language_code'));
    170170       
    171         // Register browser language detection and redirection.
    172         add_action('template_redirect', array($this, 'fluentc_language_redirect'), 1);
    173171    }
    174172   
     
    297295    public function process_final_output($buffer) {
    298296        // Don't process admin pages
    299         if (is_admin() || wp_doing_ajax() || defined('DOING_CRON') || wp_is_xml_request()) {
     297        if (is_admin() || defined('DOING_CRON') || wp_is_xml_request()) {
    300298            return $buffer;
    301299        }
Note: See TracChangeset for help on using the changeset viewer.