WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/03/2009 11:20:26 PM (11 years ago)
Author:
azaozz
Message:

Make is_active_widget() optionally look in 'wp_inactive_widgets' for use in the admin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/widgets.php

    r11160 r11164  
    3232            continue;
    3333
    34         $sidebar = is_active_widget( $widget['callback'], $widget['id'] );
     34        $sidebar = is_active_widget( $widget['callback'], $widget['id'], false, false );
    3535        $done[] = $widget['callback'];
    3636
Note: See TracChangeset for help on using the changeset viewer.