From 7bc575400e6756e2541e8fd9401982f681186d68 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sat, 14 Apr 2007 22:03:32 +0000 Subject: [PATCH] Lose reference to current_blog. git-svn-id: https://develop.svn.wordpress.org/trunk@5270 602fd350-edb4-49c9-b593-d223f7449a82 --- app.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.php b/app.php index 2dbd760c50..986041a67a 100644 --- a/app.php +++ b/app.php @@ -400,7 +400,7 @@ EOD; * Create Post (No arguments) */ function create_post() { - global $current_blog; + global $blog_id; $this->get_accepted_content_type($this->atom_content_types); $parser = new AtomParser(); @@ -417,7 +417,7 @@ EOD; if(!current_user_can($cap)) $this->auth_required('Sorry, you do not have the right to edit/publish new posts.'); - $blog_ID = (int )$current_blog->blog_id; + $blog_ID = (int ) $blog_id; $post_status = ($publish) ? 'publish' : 'draft'; $post_author = (int) $user->ID; $post_title = $entry->title;