Documentation correction: is_active_widget(), props mdawaffe, fixes #9080

git-svn-id: http://svn.automattic.com/wordpress/trunk@10535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-02-10 15:22:08 +00:00
parent 7f7214bb4d
commit 3641891df0
1 changed files with 2 additions and 3 deletions

View File

@ -486,9 +486,8 @@ function dynamic_sidebar($index = 1) {
/**
* Whether widget is registered using callback with widget ID.
*
* Will only check if both parameters are used. Used to find which sidebar the
* widget is located in, but requires that both the callback and the widget ID
* be known.
* 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.
* With the $widget_id parameter, returns the ID of the sidebar in which the widget with that callback AND that ID is found.
*
* @since 2.2.0
*