diff --git a/reactive/wordpress.py b/reactive/wordpress.py
index 5e015b87d094a0e05b233a6f93ddf7c00d08386b..012628c73178a83540abdabc600058d5c6eb51c2 100644
--- a/reactive/wordpress.py
+++ b/reactive/wordpress.py
@@ -6,7 +6,7 @@ import charms.apt
 import subprocess
 
 @when_not('apt.installed.wordpress')
-def install_moodle_apt():
+def install_wordpress_apt():
     charms.apt.queue_install(['wordpress'])
     # sets the 'apt.installed.wordpress' flag when done