Commit Graph

67 Commits

Author SHA1 Message Date
westi
b392c3a35f validation fixes for the WordPress importer. Fixes #7982 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-27 21:12:24 +00:00
westi
b679f97348 Syncronise the messages for Import/Export of WXR. Fixes #6557 props mtdewvirus.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-26 18:40:20 +00:00
ryan
2eb1ba967f Better error response when fetching attachments. Props DD32. see #7944
git-svn-id: http://svn.automattic.com/wordpress/trunk@9327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 18:22:43 +00:00
ryan
5a529cd216 Notice fixes from DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-21 23:54:18 +00:00
ryan
9af33a74a9 Suspend cache invalidation while importing posts with WP importer
git-svn-id: http://svn.automattic.com/wordpress/trunk@9106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-09 00:50:52 +00:00
ryan
65660bd565 Try to preserve post IDs during import
git-svn-id: http://svn.automattic.com/wordpress/trunk@9100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-08 21:42:52 +00:00
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