Index: src/wp-includes/post-template.php
===================================================================
--- src/wp-includes/post-template.php	(revision 34280)
+++ src/wp-includes/post-template.php	(working copy)
@@ -1187,7 +1187,7 @@
  * arguments.
  *
  * @since 2.7.0
- * @since 4.4.0 Added `$before`, `$after`, and `$walker` arguments.
+ * @since 4.4.0 Added `$menu_tag`, `$before`, `$after`, and `$walker` arguments.
  *
  * @param array|string $args {
  *     Optional. Arguments to generate a page menu. See wp_list_pages() for additional arguments.
@@ -1194,7 +1194,7 @@
  *
  *     @type string          $sort_column How to short the list of pages. Accepts post column names.
  *                                        Default 'menu_order, post_title'.
- *     @type string          $menu_class  Class to use for the div ID containing the page list. Default 'menu'.
+ *     @type string          $menu_class  Class to use for the element containing the page list. Default 'menu'.
  *     @type string          $menu_tag    Element to use for the element containing the page list. Default 'div'.
  *     @type bool            $echo        Whether to echo the list or return it. Accepts true (echo) or false (return).
  *                                        Default true.
@@ -1267,7 +1267,7 @@
 		$menu = $args['before'] . $menu . $args['after'];
 	}
 	$tag = sanitize_text_field( $args['menu_tag'] );
-	$menu = "<{$args['menu_tag']} class=\"" . esc_attr( $args['menu_class'] ) . '">' . $menu . "</{$args['menu_tag']}>\n";
+	$menu = "<{$tag} class=\"" . esc_attr( $args['menu_class'] ) . '">' . $menu . "</{$tag}>\n";
 
 	/**
 	 * Filter the HTML output of a page-based menu.
