[wp-trac] [WordPress Trac] #50980: Extra query to get WPLANG option on each page-load when the option doesn't exist in the db

WordPress Trac noreply at wordpress.org
Thu Aug 13 12:13:45 UTC 2020


#50980: Extra query to get WPLANG option on each page-load when the option doesn't
exist in the db
--------------------------+--------------------------
 Reporter:  aristath      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.6
Component:  I18N          |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  performance
--------------------------+--------------------------
Changes (by SergeyBiryukov):

 * keywords:   => needs-patch
 * milestone:  Awaiting Review => 5.6


Comment:

 This can be done in an upgrade routine like [source:tags/5.5/src/wp-
 admin/includes/upgrade.php#L2167 upgrade_550()], for example.

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


More information about the wp-trac mailing list