ideag / gust

port of Ghost admin panel to WordPress
Other
69 stars 12 forks source link

Can't parse when using custom table prefix #55

Open hjbarraza opened 10 years ago

hjbarraza commented 10 years ago

API error: parsererror WordPress database error: [Table 'dehesada_wor1.wp_posts' doesn't exist] MSELECT post_date FROM wp_posts WHERE ID = 566

The current table name is "dehesada_wor1.is_wp_posts"

It should read the custom table prefix defined in wp-config.php

ideag commented 10 years ago

@hjbarraza thanks for reporting. I can't find prefix hard-coded, but it seems $wpdb->posts does not get the custom prefix for some reason. Will have to look into it.