- if "Finished" not in result and "Success" not in result:
- raise app.InstallFailure()
-
- # not sure what to do about this
- meta = sql.connect(options.dsn)
- wp_options = meta.tables["wp_options"]
- wp_options.update().where(wp_options.c.option_name == 'siteurl').values(option_value=options.web_path).execute()
- wp_options.update().where(wp_options.c.option_name == 'home').values(option_value="http://%s%s" % (options.web_host, options.web_path)).execute() # XXX: what if missing leading slash; this should be put in a function
+ # Starting in Wordpress 4.7, install now redirects you directly
+ # to login page. So... don't check.
+ #if "Finished" not in result and "Success" not in result:
+ # raise app.InstallFailure()