]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/default-widgets.php
WordPress 4.1-scripts
[autoinstalls/wordpress.git] / wp-includes / default-widgets.php
index d54dbc732c8fcbfd470097832ef395d21a78d563..1bdadd8ee21d3f194d48896a2884d3b36f254f8b 100644 (file)
@@ -287,7 +287,7 @@ class WP_Widget_Archives extends WP_Widget {
                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
                        /**
@@ -849,7 +849,7 @@ class WP_Widget_Recent_Comments extends WP_Widget {
                 *
                 * @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.
                 */
@@ -1344,7 +1344,7 @@ class WP_Widget_Tag_Cloud extends WP_Widget {
                $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 ) {