[Plugin: Magic Fields] Version 154 and Dates
-
My blog after an mass update get erros using Write Panels. The panels still appear, but there was no Custom Fields on the writing post. Also, the behavior of date fields changed without asking, leaving me in trouble.
Admins can bring some light into as I didnt research a all, BUT HERE’S MY SOLUTION:
1. For the missing customs fields on the write panel YOU SHOULD update your write panel via the administrator interface. Just enter on Magic Fields Plugin Admin and update your panel, as it is. This should do the trick behind the scenes.
2. The dates stored in the wp_postmeta changed its format. Before it was stored in the format I’d selected for it to show up, but now it is stored in a regular SQL Date format (yyyy-mm-dd). SOLUTION: in my app I needed to change the SQL Query to get both types of datesAND ( STR_TO_DATE(wpostmeta.meta_value, '%m/%d/%Y') >= '2011-05-01' OR STR_TO_DATE(wpostmeta.meta_value, '%Y-%m-%d') >= '2011-05-01' )
- The topic ‘[Plugin: Magic Fields] Version 154 and Dates’ is closed to new replies.