From 3f3df99b377eca4f2ed8870ff3f4559abd0bec80 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Tue, 17 May 2016 16:09:14 +0200 Subject: [PATCH 1/1] tweeper.php: write the word "URL" in upper case --- tweeper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tweeper.php b/tweeper.php index 5379be7..bfc07f2 100644 --- a/tweeper.php +++ b/tweeper.php @@ -129,7 +129,7 @@ class Tweeper { "video/ogg", ); - // The RSS specification says that the enclosure element url must be http. + // The RSS specification says that the enclosure element URL must be http. // See http://sourceforge.net/p/feedvalidator/bugs/72/ $http_url = preg_replace("/^https/", "http", $url); @@ -298,7 +298,7 @@ class Tweeper { public function tweep($src_url) { $url = parse_url($src_url); if (FALSE === $url || empty($url["host"])) { - trigger_error("Invalid url: $src_url", E_USER_ERROR); + trigger_error("Invalid URL: $src_url", E_USER_ERROR); return NULL; } -- 2.1.4