Duplicate post with numbers of pods
-
We are using the plugin Pods for custom posttypes. We have a field in there with the format Currency that displays in dutch as 15.190,00 However if i duplicate the post the field changes to 1.519.000,00 and my guess is that it has something to do with the language of wordpress.
To solve this for a couple of site we have written a custom fix and hosted your plugin local. The fix is this:
$meta_value = maybe_unserialize($meta_value); add_post_meta($new_id, $meta_key, duplicate_post_wp_slash($meta_value));
It is added to:
function duplicate_post_copy_post_meta_info($new_id, $post)
In the following file:
duplicate-post-admin.php
Now is this not something we fancy since we just want to use your plugin else we have to keep up by hand and thats not the best way of course.
Do you have any solution to this problem or can you fix this issue?
Thanks.
Pods version: 2.6.10
Duplicate post version: 3.2
Language WordPress: Dutch
- The topic ‘Duplicate post with numbers of pods’ is closed to new replies.