Index: src/wp-includes/widgets/class-wp-widget-archives.php
===================================================================
--- src/wp-includes/widgets/class-wp-widget-archives.php	(リビジョン 38655)
+++ src/wp-includes/widgets/class-wp-widget-archives.php	(作業コピー)
@@ -67,12 +67,13 @@
 			 * @see wp_get_archives()
 			 *
 			 * @param array $args An array of Archives widget drop-down arguments.
+			 * @param array $instance Settings for the current Archives widget instance.
 			 */
 			$dropdown_args = apply_filters( 'widget_archives_dropdown_args', array(
 				'type'            => 'monthly',
 				'format'          => 'option',
 				'show_post_count' => $c
-			) );
+			), $instance );
 
 			switch ( $dropdown_args['type'] ) {
 				case 'yearly':
@@ -104,15 +105,17 @@
 		 * Filters the arguments for the Archives widget.
 		 *
 		 * @since 2.8.0
+		 * @since 4.7.0 Added `$instance` argument.
 		 *
 		 * @see wp_get_archives()
 		 *
-		 * @param array $args An array of Archives option arguments.
+		 * @param array $args     An array of Archives option arguments.
+		 * @param array $instance Array of settings for the current widget.
 		 */
 		wp_get_archives( apply_filters( 'widget_archives_args', array(
 			'type'            => 'monthly',
 			'show_post_count' => $c
-		) ) );
+		), $instance ) );
 		?>
 		</ul>
 		<?php
Index: src/wp-includes/widgets/class-wp-widget-categories.php
===================================================================
--- src/wp-includes/widgets/class-wp-widget-categories.php	(リビジョン 38655)
+++ src/wp-includes/widgets/class-wp-widget-categories.php	(作業コピー)
@@ -79,8 +79,9 @@
 			 * @see wp_dropdown_categories()
 			 *
 			 * @param array $cat_args An array of Categories widget drop-down arguments.
+			 * @param array $instance Array of settings for the current widget.
 			 */
-			wp_dropdown_categories( apply_filters( 'widget_categories_dropdown_args', $cat_args ) );
+			wp_dropdown_categories( apply_filters( 'widget_categories_dropdown_args', $cat_args, $instance ) );
 			?>
 
 <script type='text/javascript'>
@@ -108,10 +109,12 @@
 		 * Filters the arguments for the Categories widget.
 		 *
 		 * @since 2.8.0
+		 * @since 4.7.0 Added `$instance` argument.
 		 *
 		 * @param array $cat_args An array of Categories widget options.
+		 * @param array $instance Array of settings for the current widget.
 		 */
-		wp_list_categories( apply_filters( 'widget_categories_args', $cat_args ) );
+		wp_list_categories( apply_filters( 'widget_categories_args', $cat_args, $instance ) );
 ?>
 		</ul>
 <?php
Index: src/wp-includes/widgets/class-wp-widget-meta.php
===================================================================
--- src/wp-includes/widgets/class-wp-widget-meta.php	(リビジョン 38655)
+++ src/wp-includes/widgets/class-wp-widget-meta.php	(作業コピー)
@@ -62,14 +62,16 @@
 			 * Filters the "Powered by WordPress" text in the Meta widget.
 			 *
 			 * @since 3.6.0
+			 * @since 4.7.0 Added `$instance` argument.
 			 *
 			 * @param string $title_text Default title text for the WordPress.org link.
+			 * @param array  $instance   Array of settings for the current widget.
 			 */
 			echo apply_filters( 'widget_meta_poweredby', sprintf( '<li><a href="%s" title="%s">%s</a></li>',
 				esc_url( __( 'https://wordpress.org/' ) ),
 				esc_attr__( 'Powered by WordPress, state-of-the-art semantic personal publishing platform.' ),
 				_x( 'WordPress.org', 'meta widget link text' )
-			) );
+			), $instance );
 
 			wp_meta();
 			?>
Index: src/wp-includes/widgets/class-wp-widget-pages.php
===================================================================
--- src/wp-includes/widgets/class-wp-widget-pages.php	(リビジョン 38655)
+++ src/wp-includes/widgets/class-wp-widget-pages.php	(作業コピー)
@@ -64,10 +64,12 @@
 		 * Filters the arguments for the Pages widget.
 		 *
 		 * @since 2.8.0
+		 * @since 4.7.0 Added `$instance` argument.
 		 *
 		 * @see wp_list_pages()
 		 *
-		 * @param array $args An array of arguments to retrieve the pages list.
+		 * @param array $args     An array of arguments to retrieve the pages list.
+		 * @param array $instance Array of settings for the current widget.
 		 */
 		$out = wp_list_pages( apply_filters( 'widget_pages_args', array(
 			'title_li'    => '',
@@ -74,7 +76,7 @@
 			'echo'        => 0,
 			'sort_column' => $sortby,
 			'exclude'     => $exclude
-		) ) );
+		), $instance ) );
 
 		if ( ! empty( $out ) ) {
 			echo $args['before_widget'];
Index: src/wp-includes/widgets/class-wp-widget-recent-comments.php
===================================================================
--- src/wp-includes/widgets/class-wp-widget-recent-comments.php	(リビジョン 38655)
+++ src/wp-includes/widgets/class-wp-widget-recent-comments.php	(作業コピー)
@@ -88,16 +88,18 @@
 		 * Filters the arguments for the Recent Comments widget.
 		 *
 		 * @since 3.4.0
+		 * @since 4.7.0 Added `$instance` argument.
 		 *
 		 * @see WP_Comment_Query::query() for information on accepted arguments.
 		 *
 		 * @param array $comment_args An array of arguments used to retrieve the recent comments.
+		 * @param array $instance     Array of settings for the current widget.
 		 */
 		$comments = get_comments( apply_filters( 'widget_comments_args', array(
 			'number'      => $number,
 			'status'      => 'approve',
 			'post_status' => 'publish'
-		) ) );
+		), $instance ) );
 
 		$output .= $args['before_widget'];
 		if ( $title ) {
Index: src/wp-includes/widgets/class-wp-widget-recent-posts.php
===================================================================
--- src/wp-includes/widgets/class-wp-widget-recent-posts.php	(リビジョン 38655)
+++ src/wp-includes/widgets/class-wp-widget-recent-posts.php	(作業コピー)
@@ -61,10 +61,12 @@
 		 * Filters the arguments for the Recent Posts widget.
 		 *
 		 * @since 3.4.0
+		 * @since 4.7.0 Added `$instance` argument.
 		 *
 		 * @see WP_Query::get_posts()
 		 *
-		 * @param array $args An array of arguments used to retrieve the recent posts.
+		 * @param array $args     An array of arguments used to retrieve the recent posts.
+		 * @param array $instance Array of settings for the current widget.
 		 */
 		$r = new WP_Query( apply_filters( 'widget_posts_args', array(
 			'posts_per_page'      => $number,
@@ -71,7 +73,7 @@
 			'no_found_rows'       => true,
 			'post_status'         => 'publish',
 			'ignore_sticky_posts' => true
-		) ) );
+		), $instance ) );
 
 		if ($r->have_posts()) :
 		?>
Index: src/wp-includes/widgets/class-wp-widget-tag-cloud.php
===================================================================
--- src/wp-includes/widgets/class-wp-widget-tag-cloud.php	(リビジョン 38655)
+++ src/wp-includes/widgets/class-wp-widget-tag-cloud.php	(作業コピー)
@@ -58,15 +58,17 @@
 		 *
 		 * @since 2.8.0
 		 * @since 3.0.0 Added taxonomy drop-down.
+		 * @since 4.7.0 Added `$instance` argument.
 		 *
 		 * @see wp_tag_cloud()
 		 *
 		 * @param array $current_taxonomy The taxonomy to use in the tag cloud. Default 'tags'.
+		 * @param array $instance         Array of settings for the current widget.
 		 */
 		$tag_cloud = wp_tag_cloud( apply_filters( 'widget_tag_cloud_args', array(
 			'taxonomy' => $current_taxonomy,
 			'echo' => false
-		) ) );
+		), $instance ) );
 
 		if ( empty( $tag_cloud ) ) {
 			return;
