Opened 16 years ago
Closed 16 years ago
#381 closed defect (bug)
user_can_create_draft undefined in 2004-10-16 nightly.
Reported by: |
|
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');
Note: See
TracTickets for help on using
tickets.
wp-settings.php already had that line in CVS three days ago.