if ( $d ) {
?>
<select name="archive-dropdown" onchange='document.location.href=this.options[this.selectedIndex].value;'>
- <option value=""><?php echo esc_attr( __( 'Select Month' ) ); ?></option>
+ <option value=""><?php esc_attr_e( 'Select Month' ); ?></option>
<?php
/**
*
* @since 3.4.0
*
- * @see get_comments()
+ * @see WP_Comment_Query::query() for information on accepted arguments.
*
* @param array $comment_args An array of arguments used to retrieve the recent comments.
*/
$nav_menu = isset( $instance['nav_menu'] ) ? $instance['nav_menu'] : '';
// Get menus
- $menus = wp_get_nav_menus( array( 'orderby' => 'name' ) );
+ $menus = wp_get_nav_menus();
// If no menus exists, direct the user to go and create some.
if ( !$menus ) {