WordPress.org

Make WordPress Core

Ticket #20127: dynamic_sidebar-filter.diff

File dynamic_sidebar-filter.diff, 383 bytes (added by andrewryno, 4 years ago)
  • wp-includes/widgets.php

     
    853853                } 
    854854        } 
    855855 
     856        $index = apply_filters( 'dynamic_sidebar_index', $index ); 
     857 
    856858        $sidebars_widgets = wp_get_sidebars_widgets(); 
    857859        if ( empty( $sidebars_widgets ) ) 
    858860                return false;