WordPress.org

Make WordPress Core

Changeset 7301


Ignore:
Timestamp:
03/14/08 20:01:08 (6 years ago)
Author:
westi
Message:

Use blog name in atom service document. Fixes #5667 props tvachon.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-app.php

    r6726 r7301  
    175175                } 
    176176        $atom_prefix="atom"; 
     177        $atom_blogname=get_bloginfo('name'); 
    177178        $service_doc = <<<EOD 
    178179<service xmlns="$this->ATOMPUB_NS" xmlns:$atom_prefix="$this->ATOM_NS"> 
    179180  <workspace> 
    180     <$atom_prefix:title>WordPress Workspace</$atom_prefix:title> 
     181    <$atom_prefix:title>$atom_blogname Workspace</$atom_prefix:title> 
    181182    <collection href="$entries_url"> 
    182       <$atom_prefix:title>WordPress Posts</$atom_prefix:title> 
     183      <$atom_prefix:title>$atom_blogname Posts</$atom_prefix:title> 
    183184      <accept>$this->ATOM_CONTENT_TYPE;type=entry</accept> 
    184185      <categories href="$categories_url" /> 
    185186    </collection> 
    186187    <collection href="$media_url"> 
    187       <$atom_prefix:title>WordPress Media</$atom_prefix:title> 
     188      <$atom_prefix:title>$atom_blogname Media</$atom_prefix:title> 
    188189      $accepted_media_types 
    189190    </collection> 
Note: See TracChangeset for help on using the changeset viewer.