Plugin Directory

Changeset 2770454


Ignore:
Timestamp:
08/15/2022 07:52:36 AM (4 years ago)
Author:
frpet
Message:

Fix null or empty string issue

Location:
easytranslate/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • easytranslate/trunk/README.txt

    r2768836 r2770454  
    55Requires at least: 4.7
    66Tested up to: 6.0
    7 Stable tag: 4.3
     7Stable tag: 4.4
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
  • easytranslate/trunk/admin/class-easy-translate-translation.php

    r2768836 r2770454  
    7272    {
    7373        $source_post_id = key($content);
    74         $post_title = $content[$source_post_id]['title'] ?? null;
    75         $post_content = $content[$source_post_id]['content'] ?? null;
    76         $post_excerpt = $content[$source_post_id]['excerpt'] ?? null;
     74        $post_title = $content[$source_post_id]['title'] ?? '';
     75        $post_content = $content[$source_post_id]['content'] ?? '';
     76        $post_excerpt = $content[$source_post_id]['excerpt'] ?? '';
    7777        $woocommerce = $content[$source_post_id]['woocommerce'] ?? [];
    7878
  • easytranslate/trunk/easy-translate.php

    r2768836 r2770454  
    1515 * Plugin URI:        https://www.easytranslate.com/en/integrations/cms/wordpress-plugin/
    1616 * Description:       This is a short description of what the plugin does. It's displayed in the WordPress admin area.
    17  * Version:           1.7.0
     17 * Version:           1.7.1
    1818 * Author:            EasyTranslate
    1919 * Author URI:        https://easytranslate.com
     
    3434 * Rename this for your plugin and update it as you release new versions.
    3535 */
    36 define('EASY_TRANSLATE_VERSION', '1.7.0');
     36define('EASY_TRANSLATE_VERSION', '1.7.1');
    3737
    3838/**
Note: See TracChangeset for help on using the changeset viewer.