Commit Graph

63 Commits

Author SHA1 Message Date
Ryan Boren ec205359bc Suspend cache invalidation while importing posts with WP importer
git-svn-id: https://develop.svn.wordpress.org/trunk@9106 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-09 00:50:52 +00:00
Ryan Boren d2fa84c740 Try to preserve post IDs during import
git-svn-id: https://develop.svn.wordpress.org/trunk@9100 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-08 21:42:52 +00:00
Peter Westwood d830c032a2 Ensure that post meta is attached to the correct post when importing. Fixes #7707 props dougal.
git-svn-id: https://develop.svn.wordpress.org/trunk@8957 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-22 20:52:05 +00:00
Ryan Boren 341cede30b WXR Importer fix to resolve absolute urls without protocol and domain. fixes #7595
git-svn-id: https://develop.svn.wordpress.org/trunk@8799 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-03 18:34:20 +00:00
Peter Westwood ab17f7283c phpdoc for wp-admin. See #7496 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8645 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-14 06:30:38 +00:00
Ryan Boren 2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Ryan Boren d2b7cbe696 Export and import post excerpts. Props kartik_subbarao. fixes #5555
git-svn-id: https://develop.svn.wordpress.org/trunk@7965 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-20 22:22:21 +00:00
Peter Westwood f70f8d56cc Associate lables with form fields. Fixes #6859 props MarcoZ.
git-svn-id: https://develop.svn.wordpress.org/trunk@7883 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-04 10:37:06 +00:00
Ryan Boren ad508b0252 Init categories array. Props tellyworth. fixes #6411
git-svn-id: https://develop.svn.wordpress.org/trunk@7546 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-27 07:20:53 +00:00
Matt Mullenweg cea513fab1 Don't timeout while importing WXR. Fixes #6089. Hat tip: tellyworth.
git-svn-id: https://develop.svn.wordpress.org/trunk@7152 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 04:33:40 +00:00
Ryan Boren afc003cd20 Update deprecated attributes. Props hansengel. fixes #6037
git-svn-id: https://develop.svn.wordpress.org/trunk@7104 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-29 17:09:44 +00:00
Ryan Boren 3a7052f8df Make punctuation consistent. Props hervada and lloydbudd. fixes #5880
git-svn-id: https://develop.svn.wordpress.org/trunk@7072 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 22:05:50 +00:00
Peter Westwood b76a914593 Generate random passwords for users created during import. Fixes #5837 props pishmishy.
git-svn-id: https://develop.svn.wordpress.org/trunk@7065 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 18:45:40 +00:00
Peter Westwood 5515989e0a Add translations. Fixes #5877 props hervada.
git-svn-id: https://develop.svn.wordpress.org/trunk@6870 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-16 12:54:10 +00:00
Ryan Boren f1bcc40f30 Add post_password to export. Props Nazgul. fixes #4376
git-svn-id: https://develop.svn.wordpress.org/trunk@6753 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-07 19:22:59 +00:00
Ryan Boren 3a18b96c9b Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 06:47:27 +00:00
Ryan Boren f98aa55625 Init tags array. Props fitzrev. fixes #5468
git-svn-id: https://develop.svn.wordpress.org/trunk@6565 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-06 08:43:20 +00:00
Ryan Boren 791a7d7191 Unused var cleanup. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6551 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-04 19:36:34 +00:00
Ryan Boren d633240113 Defer comment counting. Props tellyworth. fixes #5557
git-svn-id: https://develop.svn.wordpress.org/trunk@6532 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-01 17:03:52 +00:00
Ryan Boren 49883447a3 Importer refactoring from tellyworth. fixes #5522
git-svn-id: https://develop.svn.wordpress.org/trunk@6477 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-24 06:20:34 +00:00
Ryan Boren 6d13a7f175 Add import_done actions
git-svn-id: https://develop.svn.wordpress.org/trunk@6472 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-23 01:10:29 +00:00
Ryan Boren d20eeb048b Use __ngettext() for plurals. Props darkdragon. see #4865
git-svn-id: https://develop.svn.wordpress.org/trunk@6430 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-20 17:05:06 +00:00
Ryan Boren 215361df76 Attachment and post meta import improvements from tellyworth. fixes #5497
git-svn-id: https://develop.svn.wordpress.org/trunk@6428 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-20 05:31:39 +00:00
Ryan Boren f4d8e3a731 Import file attachments. Props tellyworth. fixes #5466
git-svn-id: https://develop.svn.wordpress.org/trunk@6390 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-16 21:34:48 +00:00
Ryan Boren e6befddf5f Defer term counting during import. Props tellyworth. fixes #5377
git-svn-id: https://develop.svn.wordpress.org/trunk@6376 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-12 05:14:00 +00:00
Ryan Boren 267ecd4981 Correctly handle post_parent during import. Props tellyworth. fixes #5456
git-svn-id: https://develop.svn.wordpress.org/trunk@6374 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-12 05:08:48 +00:00
Ryan Boren e5e7b6d2b4 Don't load entire wxr import file at once to conserve memory. Props tellyworth. fixes #5357
git-svn-id: https://develop.svn.wordpress.org/trunk@6336 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-15 05:36:43 +00:00
Ryan Boren a24adbd80b Make sure term id is an int. Props tellyworth. fixes #5330
git-svn-id: https://develop.svn.wordpress.org/trunk@6332 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-12 19:51:42 +00:00
Ryan Boren 4f4bb50529 Export and import of post tags. fixes #4682
git-svn-id: https://develop.svn.wordpress.org/trunk@6149 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-21 18:34:28 +00:00
Ryan Boren b0baf1b7fd Import tags. see #4682
git-svn-id: https://develop.svn.wordpress.org/trunk@6129 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 17:50:21 +00:00
Ryan Boren 5917c5458c Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: https://develop.svn.wordpress.org/trunk@6125 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:32:22 +00:00
Ryan Boren 7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Ryan Boren aa0ab82ecd Update WP importer to use taxonomy and query cat based on slug. see #4613
git-svn-id: https://develop.svn.wordpress.org/trunk@5937 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-24 14:44:26 +00:00
Ryan Boren 1b36113b6a Space before slash to properly close br tag. Props tmountjr. fixes #4717
git-svn-id: https://develop.svn.wordpress.org/trunk@5870 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-14 03:12:24 +00:00
Ryan Boren 3ea5315ea9 Don't slurp in entire file. Props tellyworth. see #4421
git-svn-id: https://develop.svn.wordpress.org/trunk@5802 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-15 17:55:12 +00:00
Ryan Boren 724be536b6 Regex fix. Props tellyworth. fixes #4452
git-svn-id: https://develop.svn.wordpress.org/trunk@5718 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-16 02:09:08 +00:00
Ryan Boren 2383b46194 Use CDATA escaping on fields. Props tellyworth. fixes #4452
git-svn-id: https://develop.svn.wordpress.org/trunk@5711 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-15 17:22:38 +00:00
Ryan Boren b046d67f41 Trim empty lines. Nothing but newline.
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
rob1n 14a4a43f9e Show authors' logins in alphabetical order. fixes #4232
git-svn-id: https://develop.svn.wordpress.org/trunk@5448 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 03:51:21 +00:00
Ryan Boren 5168e22236 Var is an object var. Add missing this.
git-svn-id: https://develop.svn.wordpress.org/trunk@5427 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 02:31:16 +00:00
Ryan Boren 059f5ae3e8 Don't preg_match_all when processing items. fixes #4239 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5423 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 00:05:21 +00:00
Ryan Boren e8da828363 Add nonces to importers
git-svn-id: https://develop.svn.wordpress.org/trunk@5404 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-07 15:56:53 +00:00
rob1n ceea4bb3fe Some fixes for another fix. Props takayukister. fixes #4040
git-svn-id: https://develop.svn.wordpress.org/trunk@5252 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 05:55:34 +00:00
Ryan Boren 3a9b0e0c08 Stripslashes post meta values before handing off to add_post_meta. Use wpdb::escape instead of addslashes. Props takayukister. fixes #4028
git-svn-id: https://develop.svn.wordpress.org/trunk@5249 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 02:58:41 +00:00
rob1n e8c058cfc1 Use get_var and only select cat_ID. see #4040
git-svn-id: https://develop.svn.wordpress.org/trunk@5247 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 02:08:40 +00:00
rob1n f9ab937ce7 Use cat_name instead of cat_nicename when creating categories from import. Props takayukister. fixes #4040
git-svn-id: https://develop.svn.wordpress.org/trunk@5246 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 01:49:46 +00:00
Ryan Boren e58cfd6981 Preserve page hierarchy. Props takayukister. fixes #4025
git-svn-id: https://develop.svn.wordpress.org/trunk@5245 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 01:34:15 +00:00
rob1n f429599f0f Add menu_order and page_name to WP import/export. Props takaykister. fixes #4024
git-svn-id: https://develop.svn.wordpress.org/trunk@5208 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 16:36:10 +00:00
rob1n 424cdf9b88 Fix double header when WP importer file upload fails. Props takayukister. fixes #4033
git-svn-id: https://develop.svn.wordpress.org/trunk@5146 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 03:55:22 +00:00
Matt Mullenweg d57901d29a Ryan slays the dragon. (Some of these return WP_Error objects.)
git-svn-id: https://develop.svn.wordpress.org/trunk@5089 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 02:05:29 +00:00