#13197 closed defect (bug) (worksforme)
Quick Edit of Custom Post Type deletes all custom fields
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0 |
Component: | Posts, Post Types | Keywords: | |
Focuses: | Cc: |
Description
When i use Quick Edit on Custom Post Type (created via this help http://kovshenin.com/archives/extending-custom-post-types-in-wordpress-3-0/), all custom fields are deleted. The same problem has 2 other people (see comments there)
I'm using the latest (today's) nightly version
Change History (2)
#1
@
15 years ago
- Milestone 3.0 deleted
- Resolution set to worksforme
- Severity changed from blocker to normal
- Status changed from new to closed
- Version set to 3.0
#2
@
15 years ago
Just as a follow-up, the solution to the problem was reported by scribu in response to Deanna's identical problem on the wp-hackers list http://lists.automattic.com/pipermail/wp-hackers/2010-April/031701.html
For the kovshenin.com example, need to add this at the top of the wp_insert_post function:
if ( defined('DOING_AJAX') ) return;
Note: See
TracTickets for help on using
tickets.
Not able to duplicate your problem using Quick Edit on posts created with Jamie Oastler's (idealien) Manager Bio custom post type plugin - http://lists.automattic.com/pipermail/wp-testers/2010-April/012709.html
Since that pastebin expired hopefully Jamie doesn't mind me reposting his code for discussion purposes--see http://wordpress.pastebin.com/q2NtJZ7R
Marking as worksforme. Please reopen if more information comes to light.