[wp-trac] [WordPress Trac] #64696: Real time collboration effectively disables persistent post caches while anyone edits a post

WordPress Trac noreply at wordpress.org
Thu Mar 26 01:33:36 UTC 2026


#64696: Real time collboration effectively disables persistent post caches while
anyone edits a post
--------------------------------------+--------------------------
 Reporter:  peterwilsoncc             |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  7.0
Component:  Posts, Post Types         |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+--------------------------

Comment (by peterwilsoncc):

 A few weeks ago I posted this on a PR linked to this ticket:

 > `dbDelta()` runs prior to the upgrade routine so there is no opportunity
 to truncate before altering the table.

 I just want to acknowledge that this was incorrect.

 I've since discovered that `pre_schema_upgrade()` exists and can be used
 for this purpose. This will make it much easier to remove/truncate the
 ephemeral data from a new table if it needs to be altered in the future.

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


More information about the wp-trac mailing list