Opened 9 years ago
Closed 7 years ago
#32983 closed defect (bug) (invalid)
Duplicate Posts & Picture by creating user Posts with meta/custom fields
Reported by: | my-fish | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | major | Version: | 4.2.2 |
Component: | Posts, Post Types | Keywords: | |
Focuses: | Cc: |
Description
Hello,
we have created a plugin for creating user posts as project with an edit function. The last two years it worked fine. Now, with the update to 4.2.2 we recognized a duplication bug. How it works? For post creation by a community user we use the custom fields to add meta data for the projects. After the update to 4.2.2 a new post will uploaded in a loop for the complete runtime. In the same way the media. So we got round about 100-150 posts and new media (all with an unique id). In the error log we can't find any problem tracked. Know we now the wp_insert_post infinite loop is the problem. The same post without any pictures can be created without any problems. Only the media / picture upload cause this duplicate problem.
Link for creation: http://my-fish.org/zuchtprogramm/zuchtprojekt-anlegen/
Link for project view: http://my-fish.org/zuchtprogramm/level-3-profi/
If you want we can send the whole plugin code to you.
my-fish fish project