hyunsupul / aesop-core

Open-sourced suite of components that empower interactive storytelling in WordPress.
http://aesopstoryengine.com
GNU General Public License v2.0
245 stars 56 forks source link

Migrate to CMB2 #150

Closed bearded-avenger closed 9 years ago

bearded-avenger commented 9 years ago

Last week I discovered that the fork of CMB from Humanmade provides no sanitization out of the box, and instead relies on individual callbacks. Not only is not having default sanitization not secure, but the procedures for writing callback functions are not very good at the moment and cause more time than needed for third party developers.

This is reason enough on it's own to move away from the fork and back to the original by WebDev studios, more specifically CMB2. It's out of the box sanitization techniques far exceed the fork. In the last couple of years this has vastly improved and the feature set now closely matches the fork.

\ Benefits

\ Drawbacks

We're looking at putting this change in about six weeks.

michaelbeil commented 9 years ago

better solution overall.

bearded-avenger commented 9 years ago

Yeah so the only drawback is that repeating field group data is stored differently, so although the users meta will not be erased, those values will not show in the repeater fields in admin. We'll need so map those accordingly. Other than that the upgrade on this branch locally went well.

michaelbeil commented 9 years ago

good. seems like the implementation will go better than expected.

bearded-avenger commented 9 years ago

punting to 1.4 CMB2 beta has many bugs with repeating fields and isn't stable enough yet

bearded-avenger commented 9 years ago

closing this completely as we dont' rely on external libs anymore for metabbox creation