Opened 13 years ago
Closed 13 years ago
#24560 closed defect (bug) (worksforme)
Error in 'get_default_post_to_edit' when creating new posts
| Reported by: | metaltoast | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 3.6 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
In 3.6-beta3-24432, when visiting post-new.php to create a new post the blue 'Publish' button is replaced by a 'Submit for Review' button. I initially thought it was a user permissions error but the backtrace script shows the following error:
sitepath/wp-admin/post-new.php 52 calling get_default_post_to_edit()
When clicking 'Submit for Review', a blank post is created which shows up on the frontend and on the RSS feed but is undeletable from the admin section as no edit link or checkbox is available on edit.php.
Also, the issue exists through XMLRPC (I've tried with the iPhone and iPad apps).
Change History (6)
#2
@
13 years ago
- Keywords reporter-feedback removed
Could not reproduce on a clean install.
Issues like this can be a sign of a corrupted database. Running a repair on all tables should help in that case.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Can you elaborate on the error? What you posted looks like a piece of a call stack (X function called from Y location) but I don't see an error or how get_default_post_to_edit() is involved.
Do you have any plugins enabled?