Code update for GreyMatter import script and WP 1.5
-
With the release of WP 1.5, it appears that the import-greymatter.php file has been broken. I think this is a result of some changes to the function files and table names in version 1.5 of Word Press. I was able to get the file working again by making the following changes to the code in the import-greymatter.php file itself.
If you make these changes, do so at your own risk, I do not claim to be a WP expert:
Line Number 70
Change this code (MySQL login variables):
mysql_connect($server,$loginsql,$passsql)To this:
mysql_connect(DB_HOST,DB_USER,DB_PASSWORD)Line Number 96
Change this code (a database field name):
dateYMDhourTo This:
user_registeredHopefully that will make the GreyMatter import script work again on WP 1.5 for everyone. It seemed to work on my install after those changes. Maybe one of the PHP experts here can confirm that these changes are the best solution.
- The topic ‘Code update for GreyMatter import script and WP 1.5’ is closed to new replies.