[wp-trac] [WordPress Trac] #34091: Errors thrown after wp_termmeta table created but db updates not yet run

WordPress Trac noreply at wordpress.org
Wed Sep 30 04:52:30 UTC 2015


#34091: Errors thrown after wp_termmeta table created but db updates not yet run
-----------------------------+---------------------------
 Reporter:  morganestes      |       Owner:  boonebgorges
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  4.4
Component:  Upgrade/Install  |     Version:  trunk
 Severity:  normal           |  Resolution:  fixed
 Keywords:                   |     Focuses:
-----------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34718"]:
 {{{
 #!CommitTicketReference repository="" revision="34718"
 Bail out of termmeta functions if schema is not up-to-date.

 Termmeta cache priming was throwing database errors on installations that
 had
 not yet gone through the database update routine. To avoid errors in all
 cases,
 the check has been added to all termmeta functions. These checks will be
 removed in a future version of WordPress. (Hang on to your hats!)

 Fixes #34091.
 }}}

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


More information about the wp-trac mailing list