]> scripts.mit.edu Git - wizard.git/blobdiff - wizard/app/wordpress.py
Improve Wordpress page verification algorithm.
[wizard.git] / wizard / app / wordpress.py
index 9c99f4477762271bfb2590ffb347b56fe9be509e..227d7da5c0e019286b6facd4f23531b2454a42e2 100644 (file)
@@ -41,7 +41,7 @@ class Application(app.Application):
         return os.path.isfile("wp-config.php")
     def checkWeb(self, deployment):
         # XXX: this sucks pretty hard
-        return self.checkWebPage(deployment, "", "<html")
+        return self.checkWebPage(deployment, "", "<html", "WordPress", "feed")
     def detectVersion(self, deployment):
         return self.detectVersionFromFile("wp-includes/version.php", php.re_var("wp_version"))
     def install(self, version, options):