Changeset 6953
- Timestamp:
- 03/28/2018 05:01:59 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-meeting-posttype/wporg-meeting-posttype.php
r6952 r6953 166 166 $months = array( 'this month', 'next month' ); 167 167 168 foreach ( $ post->occurrence as $index) {169 foreach ( $ months as $month) {168 foreach ( $months as $month ) { 169 foreach ( $post->occurrence as $index ) { 170 170 $next = new DateTime( sprintf( '%s %s of %s %s GMT', $numerals[ $index - 1 ], $day_name, $month, $post->time ) ); 171 171 if ( $next > $now ) {
Note: See TracChangeset
for help on using the changeset viewer.