Plugin Directory

Changeset 2997056


Ignore:
Timestamp:
11/16/2023 01:07:21 PM (2 years ago)
Author:
opcodespace
Message:

bug fixed 1.3.15

Location:
simple-export-import-for-acf-data/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • simple-export-import-for-acf-data/trunk/app.php

    r2993504 r2997056  
    55Plugin URI: https://www.opcodespace.com
    66Author: Opcodespace <mehedee@opcodespace.com>
    7 Version: 1.3.14
     7Version: 1.3.15
    88Text Domain: simple-export-import-for-acf-data
    99*/
     
    1313define("SEIP_VIEW_PATH", wp_normalize_path(plugin_dir_path(__FILE__) . "view/"));
    1414define("SEIP_ASSETSURL", plugins_url("assets/", __FILE__));
    15 define('SEIP_PLUGIN_VERSION', '1.3.14');
     15define('SEIP_PLUGIN_VERSION', '1.3.15');
    1616define('PAID_TEXT', '<small class="paid_text">(This is for paid user)</small>');
    1717
  • simple-export-import-for-acf-data/trunk/readme.txt

    r2993640 r2997056  
    55Tested up to: 6.4.1
    66Requires PHP: 7.0
    7 Stable tag: 1.3.14
     7Stable tag: 1.3.15
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    9696
    9797== Changelog ==
     98= 1.3.15 (November 16, 2023) =
     99* Bug Fixed: Link Field type error
     100
    98101= 1.3.14 =
    99102* Bug Fixed: Importing data of Child Flexible Content fixed
  • simple-export-import-for-acf-data/trunk/src/SeipEnqueue.php

    r2842642 r2997056  
    1414    {
    1515        $version = SEIP_PLUGIN_VERSION;
    16         if($_GET['page'] === 'seip-simple-export-import'){
     16        if(isset($_GET['page']) && $_GET['page'] === 'seip-simple-export-import'){
    1717            wp_enqueue_style('chosen-style', SEIP_ASSETSURL . "add-on/chosen-js/chosen.min.css");
    1818            wp_enqueue_style('virtual-select', SEIP_ASSETSURL . "add-on/virtual-select/virtual-select.min.css", false, $version);
  • simple-export-import-for-acf-data/trunk/src/SeipImport.php

    r2993504 r2997056  
    198198
    199199            # Setting Terms
    200             $this->set_terms($post_id, $data['terms']);
     200            if(!empty($data['terms'])){
     201                $this->set_terms($post_id, $data['terms']);
     202            }
    201203        }
    202204
     
    398400            }
    399401
    400             if (empty($terms)) {
    401                 return false;
    402             }
    403 
    404402            foreach ($terms as $_term) {
    405403                foreach ($_term as $term) {
     
    432430        protected function link_field($value)
    433431        {
     432            if(empty($value['link']['url'])){
     433                return $value;
     434            }
    434435            $url         = str_replace($value['source_domain'], home_url(), $value['link']['url']);
    435436            $link        = $value['link'];
Note: See TracChangeset for help on using the changeset viewer.