diff --git a/.travis.yml b/.travis.yml
index 7948a6d3..b9448534 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -45,8 +45,8 @@ before_script:
composer global require "phpunit/phpunit:^6"
;;
5.6)
- echo "Using PHPUnit 4.x"
- composer global require "phpunit/phpunit:^4"
+ echo "Using PHPUnit 5.x"
+ composer global require "phpunit/phpunit:^5"
;;
*)
echo "No PHPUnit version handling for PHP version $TRAVIS_PHP_VERSION"
diff --git a/languages/webmention.pot b/languages/webmention.pot
index 2c420b28..4f476098 100644
--- a/languages/webmention.pot
+++ b/languages/webmention.pot
@@ -2,10 +2,10 @@
# This file is distributed under the MIT.
msgid ""
msgstr ""
-"Project-Id-Version: Webmention 4.0.3\n"
+"Project-Id-Version: Webmention 4.0.4\n"
"Report-Msgid-Bugs-To: "
"https://wordpress.org/support/plugin/wordpress-webmention\n"
-"POT-Creation-Date: 2020-06-17 07:26:23+00:00\n"
+"POT-Creation-Date: 2020-09-16 14:27:08+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -365,72 +365,64 @@ msgstr ""
msgid "Webmention Vouch URL"
msgstr ""
-#: includes/class-webmention-receiver.php:240
+#: includes/class-webmention-receiver.php:243
msgid "Target is not on this domain"
msgstr ""
-#: includes/class-webmention-receiver.php:247
-#: includes/class-webmention-receiver.php:261
+#: includes/class-webmention-receiver.php:250
+#: includes/class-webmention-receiver.php:264
msgid "Target is not a valid post"
msgstr ""
-#: includes/class-webmention-receiver.php:251
+#: includes/class-webmention-receiver.php:254
msgid "Target and source cannot direct to the same resource"
msgstr ""
-#: includes/class-webmention-receiver.php:256
+#: includes/class-webmention-receiver.php:259
msgid "Pings are disabled for this post"
msgstr ""
-#: includes/class-webmention-receiver.php:323
+#: includes/class-webmention-receiver.php:326
msgid "Webmention is scheduled"
msgstr ""
-#: includes/class-webmention-receiver.php:397
+#: includes/class-webmention-receiver.php:400
msgid "Webmention was successful"
msgstr ""
-#: includes/class-webmention-receiver.php:448
+#: includes/class-webmention-receiver.php:451
#: includes/class-webmention-vouch.php:58
msgid "Invalid data passed"
msgstr ""
-#: includes/class-webmention-receiver.php:467
-msgid "Source URL not found"
-msgstr ""
-
-#: includes/class-webmention-receiver.php:481
-#: includes/class-webmention-request.php:241
-msgid "Content Type is not supported"
+#: includes/class-webmention-receiver.php:477
+msgid "Cannot find target link"
msgstr ""
-#: includes/class-webmention-receiver.php:496
-#: includes/class-webmention-request.php:264
-msgid "Resource not found"
+#: includes/class-webmention-receiver.php:677
+#. translators: This post format was mentioned on this URL with this domain
+#. name
+msgid "This %1$s was mentioned on %3$s"
msgstr ""
-#: includes/class-webmention-receiver.php:505
-#: includes/class-webmention-request.php:281
-msgid "Resource has been deleted"
+#: includes/class-webmention-request.php:173
+msgid "Content Type is not supported"
msgstr ""
-#: includes/class-webmention-receiver.php:514
-#: includes/class-webmention-request.php:289
-msgid "Resource removed for legal reasons"
+#: includes/class-webmention-request.php:196
+msgid "Resource not found"
msgstr ""
-#: includes/class-webmention-receiver.php:548
-msgid "Cannot find target link"
+#: includes/class-webmention-request.php:204
+msgid "Method not allowed"
msgstr ""
-#: includes/class-webmention-receiver.php:746
-#. translators: This post format was mentioned on this URL with this domain
-#. name
-msgid "This %1$s was mentioned on %3$s"
+#: includes/class-webmention-request.php:213
+msgid "Resource has been deleted"
msgstr ""
-#: includes/class-webmention-request.php:272
-msgid "Method not allowed"
+#: includes/class-webmention-request.php:221
+msgid "Resource removed for legal reasons"
msgstr ""
#: includes/class-webmention-vouch.php:25
diff --git a/readme.md b/readme.md
index e4a2c10a..ec849519 100644
--- a/readme.md
+++ b/readme.md
@@ -5,8 +5,8 @@
**Donate link:** https://notiz.blog/donate/
**Tags:** webmention, pingback, trackback, linkback, indieweb, comment, response
**Requires at least:** 4.9
-**Tested up to:** 5.4
-**Stable tag:** 4.0.3
+**Tested up to:** 5.5
+**Stable tag:** 4.0.4
**Requires PHP:** 5.6
**License:** MIT
**License URI:** https://opensource.org/licenses/MIT
@@ -93,7 +93,13 @@ Webmention headers are only shown if webmentions are available for that particul
Project and support maintained on github at [pfefferle/wordpress-webmention](https://github.com/pfefferle/wordpress-webmention).
+### 4.0.4 ###
+
+* Update dependencies
+* Fix WordPress warnings
+
### 4.0.3 ###
+
* Move comment approve list and auto approve to the `wp_allow_comment` function called by the `wp_new_comment` function.
* Minor fix to avatar function to account for the fact comments have an empty comment type
@@ -103,8 +109,8 @@ Project and support maintained on github at [pfefferle/wordpress-webmention](htt
### 4.0.1 ###
-* show webmention form only if `pings_open`
-* show webmention form also if comments are disabled
+* Show webmention form only if `pings_open`
+* Show webmention form also if comments are disabled
### 4.0.0 ###
diff --git a/readme.txt b/readme.txt
index bcd04f02..efeb7f51 100755
--- a/readme.txt
+++ b/readme.txt
@@ -3,8 +3,8 @@ Contributors: pfefferle, dshanske
Donate link: https://notiz.blog/donate/
Tags: webmention, pingback, trackback, linkback, indieweb, comment, response
Requires at least: 4.9
-Tested up to: 5.4
-Stable tag: 4.0.3
+Tested up to: 5.5
+Stable tag: 4.0.4
Requires PHP: 5.6
License: MIT
License URI: https://opensource.org/licenses/MIT
@@ -91,7 +91,13 @@ Webmention headers are only shown if webmentions are available for that particul
Project and support maintained on github at [pfefferle/wordpress-webmention](https://github.com/pfefferle/wordpress-webmention).
+= 4.0.4 =
+
+* Update dependencies
+* Fix WordPress warnings
+
= 4.0.3 =
+
* Move comment approve list and auto approve to the `wp_allow_comment` function called by the `wp_new_comment` function.
* Minor fix to avatar function to account for the fact comments have an empty comment type
@@ -101,8 +107,8 @@ Project and support maintained on github at [pfefferle/wordpress-webmention](htt
= 4.0.1 =
-* show webmention form only if `pings_open`
-* show webmention form also if comments are disabled
+* Show webmention form only if `pings_open`
+* Show webmention form also if comments are disabled
= 4.0.0 =
diff --git a/webmention.php b/webmention.php
index d7218a63..46f0ef86 100755
--- a/webmention.php
+++ b/webmention.php
@@ -5,7 +5,7 @@
* Description: Webmention support for WordPress posts
* Author: Matthias Pfefferle
* Author URI: https://notiz.blog/
- * Version: 4.0.3
+ * Version: 4.0.4
* License: MIT
* License URI: https://opensource.org/licenses/MIT
* Text Domain: webmention