[wp-trac] [WordPress Trac] #32983: Duplicate Posts & Picture by creating user Posts with meta/custom fields

WordPress Trac noreply at wordpress.org
Mon Jul 13 19:11:51 UTC 2015


#32983: Duplicate Posts & Picture by creating user Posts with meta/custom fields
-------------------------------+-----------------------------
 Reporter:  my-fish            |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  4.2.2
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32983>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list