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

WordPress Trac noreply at wordpress.org
Mon Oct 6 16:07:35 UTC 2025


#45936: Insert empty record
---------------------------+------------------------------
 Reporter:  maximeschoeni  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  General        |     Version:
 Severity:  normal         |  Resolution:  invalid
 Keywords:                 |     Focuses:
---------------------------+------------------------------
Changes (by mindctrl):

 * keywords:  reporter-feedback =>
 * status:  new => closed
 * resolution:   => invalid


Comment:

 Hi all,

 It's been 7 years since this ticket was opened, requesting the ability to
 insert blank records via wpdb. We haven't had any additional requests for
 this, and I believe it's generally considered undesirable behavior to add
 empty rows. Looking at the use case mentioned, it would probably be better
 to insert a row with whatever data you have, and then update it afterwards
 when you get the rest of the data.

 I'm going to close this ticket to help clean up Trac, but feel free to
 discuss and reopen if you feel this is critical for WordPress.

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


More information about the wp-trac mailing list