Changeset 1137
- Timestamp:
- 01/13/2015 07:45:36 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/functions.php
r1127 r1137 619 619 620 620 foreach ( $wordcamps as $wordcamp ) { 621 if ( $year = date( 'Y', get_post_meta( $wordcamp->ID, 'Start Date (YYYY-mm-dd)', true ) ) ) {621 if ( $year = date( 'Y', (int) get_post_meta( $wordcamp->ID, 'Start Date (YYYY-mm-dd)', true ) ) ) { 622 622 $grouped_wordcamps[ $year ][] = $wordcamp; 623 623 }
Note: See TracChangeset
for help on using the changeset viewer.