diff --git a/functions.php b/functions.php index 11dc27ac7..97e3ebe81 100644 --- a/functions.php +++ b/functions.php @@ -272,7 +272,7 @@ function dones_add_custom_query_vars( $query_vars ) { function dones_home_redirect() { global $wp; if ( home_url() === home_url( $wp->request ) ) { - wp_safe_redirect( home_url( '/date/' . date_i18n( 'Y-m-d' ) ) ); + wp_safe_redirect( home_url( '/date/' . date( 'Y-m-d' ) ) ); exit; } }