Make WordPress Core

Ticket #57467: 57467.diff

File 57467.diff, 1008 bytes (added by lanacodes, 22 months ago)

Change "wc3dtf" to "w3cdtf".

  • src/wp-includes/rss.php

     
    836836if ( !function_exists('parse_w3cdtf') ) :
    837837function parse_w3cdtf ( $date_str ) {
    838838
    839         # regex to match wc3dtf
     839        # regex to match w3cdtf
    840840        $pat = "/(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(:(\d{2}))?(?:([-+])(\d{2}):?(\d{2})|(Z))?/";
    841841
    842842        if ( preg_match( $pat, $date_str, $match ) ) {