[wp-trac] [WordPress Trac] #53771: What about an equivalent of `is_active_widget()` for Widget Blocks ?

WordPress Trac noreply at wordpress.org
Thu Jul 29 17:05:20 UTC 2021


#53771: What about an equivalent of `is_active_widget()` for Widget Blocks ?
----------------------------------------+-----------------------------
 Reporter:  imath                       |       Owner:  (none)
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Widgets                     |     Version:  5.8
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+-----------------------------

Comment (by birgire):

 Sounds useful, what about the additional {{{orphaned_widgets}}} sidebar
 check in {{{is_active_widget()}}}, would that be relevant here too?

 https://core.trac.wordpress.org/browser/tags/5.8/src/wp-
 includes/widgets.php#L900

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


More information about the wp-trac mailing list