Plugin Directory

Changeset 3316028


Ignore:
Timestamp:
06/23/2025 01:10:01 AM (8 months ago)
Author:
wplingua
Message:

2.6.7

Location:
wplingua
Files:
477 added
5 edited

Legend:

Unmodified
Added
Removed
  • wplingua/trunk/data.php

    r3305387 r3316028  
    7878        // Plugin: Complianz GDPR
    7979        '.cookies-per-purpose .name',
     80
     81        // Plugin: SEOPress
     82        '#seopress-metabox-js-extra',
    8083    );
    8184}
  • wplingua/trunk/inc/admin/option-page-register.php

    r3305387 r3316028  
    267267function wplng_register_part_free_api_key() {
    268268
     269    $locale = strtolower( substr( get_locale(), 0, 2 ) );
     270    $url    = get_home_url();
    269271    $email  = sanitize_email( get_bloginfo( 'admin_email' ) );
    270     $locale = strtolower( substr( get_locale(), 0, 2 ) );
     272
     273    if ( wplng_str_contains( $email, '.local' )
     274        || wplng_str_contains( $email, 'admin' )
     275        || wplng_str_contains( $email, parse_url( $url, PHP_URL_HOST ) )
     276    ) {
     277        $email = '';
     278    }
    271279
    272280    if ( ! wplng_is_valid_language_id( $locale ) ) {
     
    310318                <span title="<?php esc_attr_e( 'Click to expand', 'wplingua' ); ?>" wplng-help-box="#wplng-hb-register-url"></span>
    311319            </label>
    312             <input type="url" name="wplng-website-url" id="wplng-website-url" class="wplng-fe-50" value="<?php echo esc_url( get_home_url() ); ?>">
     320            <input type="url" name="wplng-website-url" id="wplng-website-url" class="wplng-fe-50" value="<?php echo esc_url( $url ); ?>">
    313321        </fieldset>
    314322    </p>
  • wplingua/trunk/inc/admin/option-page.php

    r3305387 r3316028  
    301301     */
    302302
    303     $incompatible_list     = array();
    304     $incompatible_detected = array();
    305 
    306303    $incompatible_list = array(
    307304        'Automatic Translator'      => 'auto-translate/auto-translate.php',
     
    310307        'ConveyThis Translate'      => 'conveythis-translate/index.php',
    311308        'Falang'                    => 'falang/falang.php',
     309        'Google Translator'         => 'google-language-translator/google-language-translator.php',
    312310        'Google Website Translator' => 'google-website-translator/google-website-translator.php',
    313         'Google Translator'         => 'google-language-translator/google-language-translator.php',
    314311        'Gtranslate'                => 'gtranslate/gtranslate.php',
    315312        'linguise'                  => 'linguise/linguise.php',
     313        'Lokalise'                  => 'lokalise/lokalise.php',
    316314        'localizejs'                => 'localizejs/localizejs.php',
    317315        'Multilanguage'             => 'multilanguage/multilanguage.php',
     
    322320        'WP Multilang'              => 'wp-multilang/wp-multilang.php',
    323321    );
     322
     323    $incompatible_detected = array();
    324324
    325325    foreach ( $incompatible_list as $name => $file ) {
  • wplingua/trunk/readme.txt

    r3305387 r3316028  
    11=== wpLingua - Automatic translation - Translate and make website multilingual ===
    2 Contributors: wpr0ck, lyly13, wplingua
     2Contributors: wpr0ck, lyly13, pierrelannoy, wplingua
    33Donate link: https://wplingua.com/
    44Tags: translate, translation, multilingual, localization, language
    55Requires at least: 6.0
    66Tested up to: 6.8
    7 Stable tag: 2.6.6
     7Stable tag: 2.6.7
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    191191
    192192== Changelog ==
     193
     194= 2.6.7 =
     195
     196* Better plugin compatibility: SEOPress
     197* Better incompatible plugin check
     198* Check email before fill registration field
    193199
    194200= 2.6.6 =
  • wplingua/trunk/wplingua.php

    r3305387 r3316028  
    88 * Text Domain: wplingua
    99 * Domain Path: /languages/
    10  * Version: 2.6.6
     10 * Version: 2.6.7
    1111 * Requires PHP: 7.4
    1212 * License: GPL v2 or later
     
    2525define( 'WPLNG_API_VERSION', '3.0' );
    2626define( 'WPLNG_API_SSLVERIFY', true );
    27 define( 'WPLNG_PLUGIN_VERSION', '2.6.6' );
     27define( 'WPLNG_PLUGIN_VERSION', '2.6.7' );
    2828define( 'WPLNG_PLUGIN_FILE', plugin_basename( __FILE__ ) );
    2929define( 'WPLNG_PLUGIN_PATH', __DIR__ );
Note: See TracChangeset for help on using the changeset viewer.