[wp-trac] [WordPress Trac] #42743: Disable wp_options autoload for inactive widgets

WordPress Trac noreply at wordpress.org
Fri Jul 19 19:52:04 UTC 2024


#42743: Disable wp_options autoload for inactive widgets
--------------------------+--------------------------
 Reporter:  ComputerGuru  |       Owner:  pbearne
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  6.7
Component:  Widgets       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  performance
--------------------------+--------------------------

Comment (by pbearne):

 in #61103 I use wp_use_widgets_block_editor() to toggle if widgets are
 active

 I feel this good be a way forward

 https://github.com/WordPress/wordpress-develop/pull/6465/files#diff-
 00b47823ca3f69b67f1d676b107347fbca7423c68b2172d850b57953ffe2750fR601

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


More information about the wp-trac mailing list