diff --git a/includes/utils.php b/includes/utils.php index 9baab22d43..165c9d716c 100644 --- a/includes/utils.php +++ b/includes/utils.php @@ -518,7 +518,7 @@ function get_indexing_status() { 'method' => 'none', 'items_indexed' => 0, 'total_items' => -1, - 'url' => $url, + 'url' => ( ! empty( $url ) ) ? $url : '', ); $index_status['indexing'] = true;