Changeset 5270
- Timestamp:
- 04/14/2007 10:03:32 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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;
Note: See TracChangeset
for help on using the changeset viewer.