Changeset 2993504
- Timestamp:
- 11/09/2023 07:29:55 PM (2 years ago)
- Location:
- simple-export-import-for-acf-data/trunk
- Files:
-
- 3 edited
-
app.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
-
src/SeipImport.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
simple-export-import-for-acf-data/trunk/app.php
r2989857 r2993504 5 5 Plugin URI: https://www.opcodespace.com 6 6 Author: Opcodespace <mehedee@opcodespace.com> 7 Version: 1.3.1 37 Version: 1.3.14 8 8 Text Domain: simple-export-import-for-acf-data 9 9 */ … … 13 13 define("SEIP_VIEW_PATH", wp_normalize_path(plugin_dir_path(__FILE__) . "view/")); 14 14 define("SEIP_ASSETSURL", plugins_url("assets/", __FILE__)); 15 define('SEIP_PLUGIN_VERSION', '1.3.1 3');15 define('SEIP_PLUGIN_VERSION', '1.3.14'); 16 16 define('PAID_TEXT', '<small class="paid_text">(This is for paid user)</small>'); 17 17 -
simple-export-import-for-acf-data/trunk/readme.txt
r2989857 r2993504 96 96 97 97 == Changelog == 98 = 1.3.14 = 99 * Bug Fixed: Importing data of Child Flexible Content fixed 100 98 101 = 1.3.13 = 99 102 * Bug Fixed: Import Post type filtering fixed. -
simple-export-import-for-acf-data/trunk/src/SeipImport.php
r2989857 r2993504 220 220 } 221 221 222 $related_field = get_field_object($this->post_metas['_'.$key]); 222 $keys = explode('_field_', $this->post_metas['_'.$key]); 223 $no_of_keys = count($keys); 224 if($no_of_keys > 1){ 225 $related_field = get_field_object('field_'.$keys[$no_of_keys - 1]); 226 } 227 else{ 228 $related_field = get_field_object($this->post_metas['_'.$key]); 229 } 230 223 231 224 232 if (!$related_field) {
Note: See TracChangeset
for help on using the changeset viewer.