Opened 22 years ago
Closed 22 years ago
#381 closed defect (bug)
user_can_create_draft undefined in 2004-10-16 nightly.
| Reported by: | nickromney | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | |
| Severity: | minor | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
wp-settings.php already had that line in CVS three days ago.