Changeset 5270
- Timestamp:
- 04/14/07 22:03:32 (1 year ago)
- Files:
-
- trunk/app.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/app.php
r5166 r5270 401 401 */ 402 402 function create_post() { 403 global $ current_blog;403 global $blog_id; 404 404 $this->get_accepted_content_type($this->atom_content_types); 405 405 … … 418 418 $this->auth_required('Sorry, you do not have the right to edit/publish new posts.'); 419 419 420 $blog_ID = (int ) $current_blog->blog_id;420 $blog_ID = (int ) $blog_id; 421 421 $post_status = ($publish) ? 'publish' : 'draft'; 422 422 $post_author = (int) $user->ID;
