[wp-trac] Re: [WordPress Trac] #2464: Greymatter import support
missing
WordPress Trac
wp-trac at lists.automattic.com
Fri Feb 17 00:47:01 GMT 2006
#2464: Greymatter import support missing
----------------------------+-----------------------------------------------
Id: 2464 | Status: new
Component: Administration | Modified: Fri Feb 17 00:47:01 2006
Severity: normal | Milestone: 2.1
Priority: normal | Version: 2.0.1
Owner: anonymous | Reporter: bungeman
----------------------------+-----------------------------------------------
Changes (by ryan):
* milestone: => 2.1
Comment:
Avoiding the generic_ping() during import is will be fixed in 2.1.
Importers should be using wp_insert_post().
A few things need to change though:
Use username_exists() instead of doing a SELECT on user_login.
Remove the call to upgrade_all(). It is not necessary.
Remove the SELECT * on $wpdb->posts. It doesn't look like it is really
needed.
Never use mysql_query. Use $wpdb for all database operations.
Thanks.
--
Ticket URL: <http://trac.wordpress.org/ticket/2464>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list