From 4252c3d93a8a7caf5fc3189ff1cefe448e00ebe3 Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Fri, 14 Mar 2008 20:01:08 +0000 Subject: [PATCH] Use blog name in atom service document. Fixes #5667 props tvachon. git-svn-id: https://develop.svn.wordpress.org/trunk@7301 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-app.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/wp-app.php b/wp-app.php index 3bee65f143..8c7b8fbea8 100644 --- a/wp-app.php +++ b/wp-app.php @@ -174,17 +174,18 @@ class AtomServer { $accepted_media_types = $accepted_media_types . "" . $med . ""; } $atom_prefix="atom"; + $atom_blogname=get_bloginfo('name'); $service_doc = << - <$atom_prefix:title>WordPress Workspace + <$atom_prefix:title>$atom_blogname Workspace - <$atom_prefix:title>WordPress Posts + <$atom_prefix:title>$atom_blogname Posts $this->ATOM_CONTENT_TYPE;type=entry - <$atom_prefix:title>WordPress Media + <$atom_prefix:title>$atom_blogname Media $accepted_media_types