diff --git a/includes/Context.php b/includes/Context.php index eda1892dc2b..e0deb20504c 100644 --- a/includes/Context.php +++ b/includes/Context.php @@ -211,7 +211,7 @@ public function get_reference_canonical() { // Handle the home page URL. if ( is_front_page() ) { - return $this->get_reference_site_url(); + return user_trailingslashit( $this->get_reference_site_url() ); } elseif ( is_home() ) { return $this->get_reference_permalink( get_option( 'page_for_posts' ) ); }