[wp-trac] [WordPress Trac] #52157: Sidebar widget not partial refreshing for first widget add and remove

WordPress Trac noreply at wordpress.org
Tue Jun 1 03:33:14 UTC 2021


#52157: Sidebar widget not partial refreshing for first widget add and remove
--------------------------+------------------------------
 Reporter:  rohitrpatil   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Customize     |     Version:  5.6
 Severity:  major         |  Resolution:  maybelater
 Keywords:  2nd-opinion   |     Focuses:  ui, performance
--------------------------+------------------------------
Changes (by celloexpressions):

 * status:  new => closed
 * resolution:   => maybelater
 * milestone:  Awaiting Review =>


Comment:

 I concur with the assessment in [comment:2]. By default, adding the first
 widget to a sidebar triggers a full refresh for the theme to recognize
 that the sidebar becomes active. Themes (or plugins, which can also
 register widget areas) could theoretically hook into the core API to
 prevent that behavior and dynamically instantiate the widget area
 container markup.

 Core could potentially change this in the future if there were substantial
 demand for a core API that helped themes avoid the initial refresh. This
 seems unlikely to offer a major user benefit since themes would need to
 opt in.

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


More information about the wp-trac mailing list