diff --git a/src/wp-includes/rss.php b/src/wp-includes/rss.php index 45e543c09c..6d8941ab38 100644 --- a/src/wp-includes/rss.php +++ b/src/wp-includes/rss.php @@ -836,7 +836,7 @@ class RSSCache { if ( !function_exists('parse_w3cdtf') ) : function parse_w3cdtf ( $date_str ) { - # regex to match wc3dtf + # regex to match W3C date/time formats $pat = "/(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(:(\d{2}))?(?:([-+])(\d{2}):?(\d{2})|(Z))?/"; if ( preg_match( $pat, $date_str, $match ) ) {