[wp-trac] [WordPress Trac] #15332: dbDelta($query) - do not create view

WordPress Trac noreply at wordpress.org
Sun May 25 21:25:07 UTC 2025


#15332: dbDelta($query) - do not create view
-------------------------------------------------+-------------------------
 Reporter:  christian_gnoth                      |       Owner:  (none)
     Type:  feature request                      |      Status:  reopened
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Database                             |     Version:  3.0.1
 Severity:  normal                               |  Resolution:
 Keywords:  needs-unit-tests needs-docs has-     |     Focuses:
  patch needs-refresh needs-test-info            |
-------------------------------------------------+-------------------------
Changes (by SirLouen):

 * keywords:  needs-unit-tests needs-docs has-patch needs-testing => needs-
     unit-tests needs-docs has-patch needs-refresh needs-test-info


Comment:

 It looks like a great idea to support views. I've never considered using
 `dbDelta` for this purpose.

 @mordauk two things come to my mind:
 1. Patch is not applying any more, needs a refresh, can you have a look at
 it?
 2. Most importantly, to facilitate the things for the testing team, can
 you provide with [https://make.wordpress.org/test/2025/05/15/building-the-
 testing-use-case/#back-end-enhancements-and-new-features a very simple
 Testing Use Case] to showcase your patch?

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


More information about the wp-trac mailing list