Commit Graph

61 Commits

Author SHA1 Message Date
westi 81818b9ed8 Ensure that post meta is attached to the correct post when importing. Fixes #7707 props dougal.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-22 20:52:05 +00:00
ryan c7e516b25d WXR Importer fix to resolve absolute urls without protocol and domain. fixes #7595
git-svn-id: http://svn.automattic.com/wordpress/trunk@8799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-03 18:34:20 +00:00
westi 7f894ae416 phpdoc for wp-admin. See #7496 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-14 06:30:38 +00:00
ryan 35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
ryan 47e6a79b98 Export and import post excerpts. Props kartik_subbarao. fixes #5555
git-svn-id: http://svn.automattic.com/wordpress/trunk@7965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-20 22:22:21 +00:00
westi 3cbcbbbfb4 Associate lables with form fields. Fixes #6859 props MarcoZ.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 10:37:06 +00:00
ryan 70a2ebbdd3 Init categories array. Props tellyworth. fixes #6411
git-svn-id: http://svn.automattic.com/wordpress/trunk@7546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 07:20:53 +00:00
matt 92745e8531 Don't timeout while importing WXR. Fixes #6089. Hat tip: tellyworth.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 04:33:40 +00:00
ryan 577f12beae Update deprecated attributes. Props hansengel. fixes #6037
git-svn-id: http://svn.automattic.com/wordpress/trunk@7104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 17:09:44 +00:00
ryan d91f8ed06e Make punctuation consistent. Props hervada and lloydbudd. fixes #5880
git-svn-id: http://svn.automattic.com/wordpress/trunk@7072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 22:05:50 +00:00
westi 92cd35b5a2 Generate random passwords for users created during import. Fixes #5837 props pishmishy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 18:45:40 +00:00
westi 43a7c39340 Add translations. Fixes #5877 props hervada.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-16 12:54:10 +00:00
ryan 47faf261ba Add post_password to export. Props Nazgul. fixes #4376
git-svn-id: http://svn.automattic.com/wordpress/trunk@6753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-07 19:22:59 +00:00
ryan d88983793b Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
ryan 65ce4f3e03 Init tags array. Props fitzrev. fixes #5468
git-svn-id: http://svn.automattic.com/wordpress/trunk@6565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-06 08:43:20 +00:00
ryan 1ae1811dd0 Unused var cleanup. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 19:36:34 +00:00
ryan 8b64f70945 Defer comment counting. Props tellyworth. fixes #5557
git-svn-id: http://svn.automattic.com/wordpress/trunk@6532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-01 17:03:52 +00:00
ryan b3fa9f2840 Importer refactoring from tellyworth. fixes #5522
git-svn-id: http://svn.automattic.com/wordpress/trunk@6477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 06:20:34 +00:00
ryan 7e0152f018 Add import_done actions
git-svn-id: http://svn.automattic.com/wordpress/trunk@6472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-23 01:10:29 +00:00
ryan 7f722d1f90 Use __ngettext() for plurals. Props darkdragon. see #4865
git-svn-id: http://svn.automattic.com/wordpress/trunk@6430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 17:05:06 +00:00
ryan 74cb5ee95d Attachment and post meta import improvements from tellyworth. fixes #5497
git-svn-id: http://svn.automattic.com/wordpress/trunk@6428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 05:31:39 +00:00
ryan e9c9b1fbf2 Import file attachments. Props tellyworth. fixes #5466
git-svn-id: http://svn.automattic.com/wordpress/trunk@6390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 21:34:48 +00:00
ryan 805e41198c Defer term counting during import. Props tellyworth. fixes #5377
git-svn-id: http://svn.automattic.com/wordpress/trunk@6376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-12 05:14:00 +00:00
ryan 336e9b9e20 Correctly handle post_parent during import. Props tellyworth. fixes #5456
git-svn-id: http://svn.automattic.com/wordpress/trunk@6374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-12 05:08:48 +00:00
ryan 3dc58c8383 Don't load entire wxr import file at once to conserve memory. Props tellyworth. fixes #5357
git-svn-id: http://svn.automattic.com/wordpress/trunk@6336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-15 05:36:43 +00:00
ryan ea1663435c Make sure term id is an int. Props tellyworth. fixes #5330
git-svn-id: http://svn.automattic.com/wordpress/trunk@6332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-12 19:51:42 +00:00
ryan a366ee01ef Export and import of post tags. fixes #4682
git-svn-id: http://svn.automattic.com/wordpress/trunk@6149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-21 18:34:28 +00:00
ryan 8eceaca349 Import tags. see #4682
git-svn-id: http://svn.automattic.com/wordpress/trunk@6129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 17:50:21 +00:00
ryan 9bfccd6286 Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: http://svn.automattic.com/wordpress/trunk@6125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 16:32:22 +00:00
ryan 321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
ryan ccdf20ef62 Update WP importer to use taxonomy and query cat based on slug. see #4613
git-svn-id: http://svn.automattic.com/wordpress/trunk@5937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-24 14:44:26 +00:00
ryan 13b23aa20a Space before slash to properly close br tag. Props tmountjr. fixes #4717
git-svn-id: http://svn.automattic.com/wordpress/trunk@5870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 03:12:24 +00:00
ryan b6978b2123 Don't slurp in entire file. Props tellyworth. see #4421
git-svn-id: http://svn.automattic.com/wordpress/trunk@5802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-15 17:55:12 +00:00
ryan 9fbb55032a Regex fix. Props tellyworth. fixes #4452
git-svn-id: http://svn.automattic.com/wordpress/trunk@5718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-16 02:09:08 +00:00
ryan 2ea53cf51a Use CDATA escaping on fields. Props tellyworth. fixes #4452
git-svn-id: http://svn.automattic.com/wordpress/trunk@5711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-15 17:22:38 +00:00
ryan 2f09416258 Trim empty lines. Nothing but newline.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:25:30 +00:00
rob1n ac72ff2a42 Show authors' logins in alphabetical order. fixes #4232
git-svn-id: http://svn.automattic.com/wordpress/trunk@5448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-11 03:51:21 +00:00
ryan 28f3106ee9 Var is an object var. Add missing this.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 02:31:16 +00:00
ryan 17be568a6d Don't preg_match_all when processing items. fixes #4239 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 00:05:21 +00:00
ryan ef4ad331e1 Add nonces to importers
git-svn-id: http://svn.automattic.com/wordpress/trunk@5404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-07 15:56:53 +00:00
rob1n 64f8429a12 Some fixes for another fix. Props takayukister. fixes #4040
git-svn-id: http://svn.automattic.com/wordpress/trunk@5252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 05:55:34 +00:00
ryan 44111a3ae7 Stripslashes post meta values before handing off to add_post_meta. Use wpdb::escape instead of addslashes. Props takayukister. fixes #4028
git-svn-id: http://svn.automattic.com/wordpress/trunk@5249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 02:58:41 +00:00
rob1n f8fd7370fc Use get_var and only select cat_ID. see #4040
git-svn-id: http://svn.automattic.com/wordpress/trunk@5247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 02:08:40 +00:00
rob1n f603da47b6 Use cat_name instead of cat_nicename when creating categories from import. Props takayukister. fixes #4040
git-svn-id: http://svn.automattic.com/wordpress/trunk@5246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 01:49:46 +00:00
ryan 69d3f2df59 Preserve page hierarchy. Props takayukister. fixes #4025
git-svn-id: http://svn.automattic.com/wordpress/trunk@5245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 01:34:15 +00:00
rob1n 62b2339e4b Add menu_order and page_name to WP import/export. Props takaykister. fixes #4024
git-svn-id: http://svn.automattic.com/wordpress/trunk@5208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 16:36:10 +00:00
rob1n b30fff9c07 Fix double header when WP importer file upload fails. Props takayukister. fixes #4033
git-svn-id: http://svn.automattic.com/wordpress/trunk@5146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 03:55:22 +00:00
matt 3d21925922 Ryan slays the dragon. (Some of these return WP_Error objects.)
git-svn-id: http://svn.automattic.com/wordpress/trunk@5089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 02:05:29 +00:00
matt 7602d17899 (int)er the dragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 00:59:21 +00:00
ryan 23148c01f3 Revert [4735]. Not needed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 03:00:35 +00:00