353 | | if ( $show_author || $show_summary ) |
354 | | $text .= _c( ' on %4$s|feed_display' ); |
355 | | $date = wp_specialchars( strip_tags( isset($item['pubdate']) ? $item['pubdate'] : $item['published'] ) ); |
356 | | $date = strtotime( $date ); |
357 | | $date = gmdate( get_option( 'date_format' ), $date ); |
| 353 | $text .= _c( ' on %4$s|feed_display' ); |
| 354 | if ( isset($item['pubdate']) ) |
| 355 | $date = $item['pubdate']; |
| 356 | elseif ( isset($item['published']) ) |
| 357 | $date = $item['published']; |
| 358 | elseif ( isset($item['dc']['date']) ) |
| 359 | $date = $item['dc']['date']; |
| 360 | $date = wp_specialchars( strip_tags( $date ) ); |
| 361 | if( !empty($date) ){ |
| 362 | $date = strtotime( $date ); |
| 363 | $date = gmdate( get_option( 'date_format' ), $date ); |
| 364 | } |