Website Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 1 insertions, 6 deletions
-rwxr-xr-xwp-content/plugins/dx-vehicles/vehicles-class.php7
diff --git a/wp-content/plugins/dx-vehicles/vehicles-class.php b/wp-content/plugins/dx-vehicles/vehicles-class.php
index 5d36f96..3a0b127 100755
--- a/wp-content/plugins/dx-vehicles/vehicles-class.php
+++ b/wp-content/plugins/dx-vehicles/vehicles-class.php
@@ -90,13 +90,8 @@ class Vehicles {
// Cycle through the $events_meta array.
// Note, in this example we just have one item, but this is helpful if you have multiple.
foreach ( $events_meta as $key => $value ) {
- // Don't store custom data twice
- if ( 'revision' === $post->post_type ) {
- return;
- }
-
if ( $value == null ) {
- return;
+ continue;
}
switch ( $key ) {