[wp-trac] [WordPress Trac] #45936: Insert empty record

WordPress Trac noreply at wordpress.org
Sat Jan 12 08:19:30 UTC 2019


#45936: Insert empty record
-------------------------------+------------------------------
 Reporter:  maximeschoeni      |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by maximeschoeni):

 Of course it makes no sense to insert an empty record if the table doesn't
 have an auto-incremental primary key.

 As an example, what's about some kind of post you would want to relate to
 a category before setting other fields, maybe with AJAX or REST?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45936#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list