Docs: Use the `$widget_links_args` parameter in the hook doc for the `widget_links_args` filter, introduced when the args array was split out to a variable in [33971].
See #20788. Built from https://develop.svn.wordpress.org/trunk@33978 git-svn-id: http://core.svn.wordpress.org/trunk@33947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4bdda75696
commit
f5c8f20a69
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-33971';
|
$wp_version = '4.4-alpha-33978';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
|
@ -53,8 +53,8 @@ class WP_Widget_Links extends WP_Widget {
|
||||||
*
|
*
|
||||||
* @see wp_list_bookmarks()
|
* @see wp_list_bookmarks()
|
||||||
*
|
*
|
||||||
* @param array $args An array of arguments to retrieve the links list.
|
* @param array $widget_links_args An array of arguments to retrieve the links list.
|
||||||
* @param array $instance The settings for the particular instance of the widget.
|
* @param array $instance The settings for the particular instance of the widget.
|
||||||
*/
|
*/
|
||||||
wp_list_bookmarks( apply_filters( 'widget_links_args', $widget_links_args, $instance ) );
|
wp_list_bookmarks( apply_filters( 'widget_links_args', $widget_links_args, $instance ) );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue