Version Description
- Improved ACF addon, now you can use relationships with IDs in addition to slugs
Download this release
Release Info
Developer | carazo |
Plugin | Import users from CSV with meta |
Version | 1.19.1.3 |
Comparing to | |
See all releases |
Code changes from version 1.19.1.2 to 1.19.1.3
- addons/advanced-custom-fields.php +3 -2
- import-users-from-csv-with-meta.php +3 -2
- readme.txt +5 -2
addons/advanced-custom-fields.php
CHANGED
@@ -35,6 +35,7 @@ class ACUI_ACF{
|
|
35 |
</ul>
|
36 |
<?php endforeach; ?>
|
37 |
</ul>
|
|
|
38 |
</td>
|
39 |
</tr>
|
40 |
<?php
|
@@ -64,8 +65,8 @@ class ACUI_ACF{
|
|
64 |
if( $types[ $key ][ 'type' ] == 'relationship' ){
|
65 |
$data = explode( ',', $row[ $pos ] );
|
66 |
|
67 |
-
foreach ( $data as $it => $
|
68 |
-
$data[ $it ] = ACUI_Helper::get_post_id_by_slug( $
|
69 |
}
|
70 |
}
|
71 |
elseif( $types[ $key ][ 'multiple' ] ){
|
35 |
</ul>
|
36 |
<?php endforeach; ?>
|
37 |
</ul>
|
38 |
+
<p class="description">In fields of type relationships, you can use post slug or post ID in the list of posts related.</p>
|
39 |
</td>
|
40 |
</tr>
|
41 |
<?php
|
65 |
if( $types[ $key ][ 'type' ] == 'relationship' ){
|
66 |
$data = explode( ',', $row[ $pos ] );
|
67 |
|
68 |
+
foreach ( $data as $it => $value ) {
|
69 |
+
$data[ $it ] = is_numeric( $value ) ? $value : ACUI_Helper::get_post_id_by_slug( $value );
|
70 |
}
|
71 |
}
|
72 |
elseif( $types[ $key ][ 'multiple' ] ){
|
import-users-from-csv-with-meta.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Import and export users and customers
|
4 |
Plugin URI: https://www.codection.com
|
5 |
Description: Using this plugin you will be able to import and export users or customers choosing many options and interacting with lots of other plugins
|
6 |
-
Version: 1.19.1.
|
7 |
Author: codection
|
8 |
Author URI: https://codection.com
|
9 |
License: GPL2
|
@@ -11,10 +11,11 @@ License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
|
11 |
Text Domain: import-users-from-csv-with-meta
|
12 |
Domain Path: /languages
|
13 |
*/
|
|
|
14 |
if ( ! defined( 'ABSPATH' ) )
|
15 |
exit;
|
16 |
|
17 |
-
define( 'ACUI_VERSION', '1.19.1.
|
18 |
|
19 |
class ImportExportUsersCustomers{
|
20 |
var $file;
|
3 |
Plugin Name: Import and export users and customers
|
4 |
Plugin URI: https://www.codection.com
|
5 |
Description: Using this plugin you will be able to import and export users or customers choosing many options and interacting with lots of other plugins
|
6 |
+
Version: 1.19.1.3
|
7 |
Author: codection
|
8 |
Author URI: https://codection.com
|
9 |
License: GPL2
|
11 |
Text Domain: import-users-from-csv-with-meta
|
12 |
Domain Path: /languages
|
13 |
*/
|
14 |
+
|
15 |
if ( ! defined( 'ABSPATH' ) )
|
16 |
exit;
|
17 |
|
18 |
+
define( 'ACUI_VERSION', '1.19.1.3' );
|
19 |
|
20 |
class ImportExportUsersCustomers{
|
21 |
var $file;
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: carazo, hornero
|
|
3 |
Donate link: https://codection.com/go/donate-import-users-from-csv-with-meta/
|
4 |
Tags: csv, import, importer, meta data, meta, user, users, user meta, editor, profile, custom, fields, delimiter, update, insert
|
5 |
Requires at least: 3.4
|
6 |
-
Tested up to: 5.8.
|
7 |
-
Stable tag: 1.19.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -103,6 +103,9 @@ Plugin will automatically detect:
|
|
103 |
|
104 |
== Changelog ==
|
105 |
|
|
|
|
|
|
|
106 |
= 1.19.1.2 =
|
107 |
* Fixed fatal error
|
108 |
|
3 |
Donate link: https://codection.com/go/donate-import-users-from-csv-with-meta/
|
4 |
Tags: csv, import, importer, meta data, meta, user, users, user meta, editor, profile, custom, fields, delimiter, update, insert
|
5 |
Requires at least: 3.4
|
6 |
+
Tested up to: 5.8.3
|
7 |
+
Stable tag: 1.19.1.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
103 |
|
104 |
== Changelog ==
|
105 |
|
106 |
+
= 1.19.1.3 =
|
107 |
+
* Improved ACF addon, now you can use relationships with IDs in addition to slugs
|
108 |
+
|
109 |
= 1.19.1.2 =
|
110 |
* Fixed fatal error
|
111 |
|