Title: V3.70 breaks compare code
Last modified: March 30, 2018

---

# V3.70 breaks compare code

 *  [laurielyatescom](https://wordpress.org/support/users/laurielyatescom/)
 * (@laurielyatescom)
 * [8 years ago](https://wordpress.org/support/topic/v3-70-breaks-compare-code/)
 * Working in 3.6.7 but fails in 3.7.0
    The shortcode loop includes `field=cutoff
   value='future-time' after='-9 hours'` cutoff is an integer datetime and now in
   loop.php at line 1643 the foreach fails because $values is that integer via format.
   php->explode_list the first line which is now `if (!is_string($list)) return 
   $list;`
 * is there a better way to perform that compare rather than patch explode_list.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/v3-70-breaks-compare-code/#post-10393457)
 * Hi, sorry for the late reply!
 * Thank you for noting the exact location of the bug. I fixed it to handle field
   values that are numbers. I’ll be publishing a new version soon.
 *  [philipt18](https://wordpress.org/support/users/philipt18/)
 * (@philipt18)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/v3-70-breaks-compare-code/#post-10417689)
 * Eliot, was this fixed in one of the newer versions posted recently?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘V3.70 breaks compare code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-content-shortcode_766976.svg)
 * [Custom Content Shortcode](https://wordpress.org/plugins/custom-content-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-content-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-content-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-content-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-content-shortcode/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [philipt18](https://wordpress.org/support/users/philipt18/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/v3-70-breaks-compare-code/#post-10417689)
 * Status: not resolved