- Timestamp:
- 10/02/2017 10:01:19 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-categories.php
r41547 r41685 77 77 * 78 78 * @since 2.8.0 79 * @since 4.9.0 Added the `$instance` parameter. 79 80 * 80 81 * @see wp_dropdown_categories() 81 82 * 82 83 * @param array $cat_args An array of Categories widget drop-down arguments. 84 * @param array $instance Array of settings for the current widget. 83 85 */ 84 wp_dropdown_categories( apply_filters( 'widget_categories_dropdown_args', $cat_args ) );86 wp_dropdown_categories( apply_filters( 'widget_categories_dropdown_args', $cat_args, $instance ) ); 85 87 86 88 echo '</form>'; … … 112 114 * 113 115 * @since 2.8.0 116 * @since 4.9.0 Added the `$instance` parameter. 114 117 * 115 118 * @param array $cat_args An array of Categories widget options. 119 * @param array $instance Array of settings for the current widget. 116 120 */ 117 wp_list_categories( apply_filters( 'widget_categories_args', $cat_args ) );121 wp_list_categories( apply_filters( 'widget_categories_args', $cat_args, $instance ) ); 118 122 ?> 119 123 </ul>
Note: See TracChangeset
for help on using the changeset viewer.