Ticket #9080: 9080.diff
File 9080.diff, 764 bytes (added by , 16 years ago) |
---|
-
wp-includes/widgets.php
486 486 /** 487 487 * Whether widget is registered using callback with widget ID. 488 488 * 489 * Will only check if both parameters are used. Used to find which sidebar the 490 * widget is located in, but requires that both the callback and the widget ID 491 * be known. 489 * Without the optional $widget_id parameter, returns the ID of the first sidebar in which the first instance of the widget with the given callback is found. 490 * With the $widget_id parameter, returns the ID of the sidebar in which the widget with that callback AND that ID is found. 492 491 * 493 492 * @since 2.2.0 494 493 *