WordPress.org

Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#381 closed defect (bug)

user_can_create_draft undefined in 2004-10-16 nightly.

Reported by: nickromney Owned by:
Milestone: Priority: normal
Severity: minor Version:
Component: Administration Keywords:
Focuses: Cc:

Description

Fatal error: Call to undefined function: user_can_create_draft() in C:\Apache2\Apache2\htdocs\wordpress\wp-admin\post.php on line 692

user_can_create_draft() is defined in wp-includes/functions-post.php

Adding the following line to wp-settings.php resolves the error:

require (ABSPATH . WPINC . '/functions-post.php');

Change History (2)

#2 @michel v
16 years ago

  • Status changed from new to closed

wp-settings.php already had that line in CVS three days ago.

Note: See TracTickets for help on using tickets.