diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index ea1c7f5fd6..3610bbb529 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -313,7 +313,7 @@ function get_archives_link($url, $text, $format = 'html', $before = '', $after = function wp_get_archives($args = '') { - global $wpdb; + global $wpdb, $wp_locale; $defaults = array( 'type' => 'monthly', 'limit' => '',