Make WordPress Core

Changeset 55644


Ignore:
Timestamp:
04/10/2023 07:29:15 PM (12 months ago)
Author:
audrasjb
Message:

Docs: Fix a typo in wp-includes/rss.php inline comments.

This changeset replaces "wc3dtf" with "W3C date/time formats" to fix a typo and to provide a better description of the related code.

Props lanacodes, sabernhardt, nithins53.
Fixes #57467.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rss.php

    r55398 r55644  
    837837function parse_w3cdtf ( $date_str ) {
    838838
    839     # regex to match wc3dtf
     839    # regex to match W3C date/time formats
    840840    $pat = "/(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(:(\d{2}))?(?:([-+])(\d{2}):?(\d{2})|(Z))?/";
    841841
Note: See TracChangeset for help on using the changeset viewer.