Make WordPress Core

Changeset 55336


Ignore:
Timestamp:
02/14/2023 04:04:41 PM (4 years ago)
Author:
audrasjb
Message:

Feeds: Fix various typos in MagpieRSS.

Props nithins53, desrosj, anantajitjg, mukesh27.
Fixes #57102.

File:
1 edited

Legend:

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

    r52978 r55336  
    196196                }
    197197
    198                 // Atom support many links per containging element.
     198                // Atom support many links per containing element.
    199199                // Magpie treats link elements of type rel='alternate'
    200200                // as being equivalent to RSS's simple link element.
    … …  
    339339                // if atom populate rss fields
    340340                if ( $this->is_atom() ) {
    341                         $this->channel['descripton'] = $this->channel['tagline'];
     341                        $this->channel['description'] = $this->channel['tagline'];
    342342                        for ( $i = 0; $i < count($this->items); $i++) {
    343343                                $item = $this->items[$i];
    … …  
    501501                                $errormsg = "Failed to fetch $url. ";
    502502                                if ( $resp->error ) {
    503                                         # compensate for Snoopy's annoying habbit to tacking
     503                                        # compensate for Snoopy's annoying habit to tacking
    504504                                        # on '\n'
    505505                                        $http_error = substr($resp->error, 0, -2);
Note: See TracChangeset for help on using the changeset viewer.