Commit Graph

154 Commits

Author SHA1 Message Date
westi
520d17d7f0 Switch from abs(intval()) to absint(). See #4762.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 18:48:38 +00:00
ryan
5b2e3bed58 More explicit statement of requirements. fixes #5220
git-svn-id: http://svn.automattic.com/wordpress/trunk@6607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-14 04:38:02 +00:00
westi
484a252c4b Ensure that we preserve GUIDs when importing from RSS. Fixes #5589 props peterjanes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 21:27:08 +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
99ed3ba7ce Not so new anymore. Props johnbillion. fixes #4951
git-svn-id: http://svn.automattic.com/wordpress/trunk@6423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 23:19:49 +00:00
matt
c5529f7d0f Change prints to echoes. Add check all button to avoid carpal clicking syndrome. Cleaned up some English. Fixes #5437. Hat tip: hailin. Changes from diff: moved JS inside of function so it didn't show up on every import page; moved button above form instead of next to submit button.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 22:07:32 +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
fe3b6ca4ac Lose Convert All Categories button. It is confusing people. Props foolswisdom. fixes #5058
git-svn-id: http://svn.automattic.com/wordpress/trunk@6225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-11 17:50:56 +00:00
ryan
d4cefda518 Add some cache clearing to cat to tag converter.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-08 22:39:20 +00:00
ryan
fbd6081f46 Spelling fix from zamoose. fixes #5095 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-28 17:37:16 +00:00
ryan
e87e2508f5 Gettext fix from nbachiyski. fixes #5086 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-26 23:23:14 +00:00
ryan
6486085cf4 STP importer fixes from momo360modena. fixes #5059
git-svn-id: http://svn.automattic.com/wordpress/trunk@6162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-24 01:57:55 +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
2794b34f4a Add some filtering. Props jhodgdon. fixes #5030
git-svn-id: http://svn.automattic.com/wordpress/trunk@6147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-21 15:04:13 +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
markjaquith
b9dcf3c0c3 Don't set comment_author_email for pings in MT import. fixes #4461
git-svn-id: http://svn.automattic.com/wordpress/trunk@6101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 04:10:36 +00:00
ryan
6d983b5bb5 If a category is already a tag, don't put it in the list of categories to convert. fixes #4955
git-svn-id: http://svn.automattic.com/wordpress/trunk@6080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 19:54:19 +00:00
ryan
33953bc337 Retain default category when converting categories to tags. fixes #4845
git-svn-id: http://svn.automattic.com/wordpress/trunk@6079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 19:33:35 +00:00
westi
a4a609093e Add importer for Bunny's Technorati Tags plugin. Fixes #4931
git-svn-id: http://svn.automattic.com/wordpress/trunk@6072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-10 20:30:55 +00:00
ryan
2ee9183f8a Fix comment orphaning in blogger importer. Props andy. fixes #4406
git-svn-id: http://svn.automattic.com/wordpress/trunk@6043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 22:48:58 +00:00
markjaquith
2f0e0c8760 Clean up Jerome's Keywords importer
git-svn-id: http://svn.automattic.com/wordpress/trunk@6028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 02:14:34 +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
87c4f3a17f Strip lines that contain only whitespace down to newlines.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:19:20 +00:00
ryan
8790a28916 Importer for Jerome's Keywords. fixes #4346
git-svn-id: http://svn.automattic.com/wordpress/trunk@5984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-30 01:39:46 +00:00
ryan
aac14d9531 Don't convert category to tag if tag of the same name already exists. fixes #4864
git-svn-id: http://svn.automattic.com/wordpress/trunk@5980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 22:47:07 +00:00
ryan
440c4dedd6 Simple Tagging importer. Props bloertscher and joostdevalk. fixes #4247
git-svn-id: http://svn.automattic.com/wordpress/trunk@5977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 19:55:39 +00:00
ryan
0cb5968afc Fix blogger auth. Props andy. fixes #4847
git-svn-id: http://svn.automattic.com/wordpress/trunk@5966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-28 23:31:51 +00:00
ryan
82705c845d Remove extraneous tag. Props nbachiyski. fixes #4838
git-svn-id: http://svn.automattic.com/wordpress/trunk@5962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-28 20:25:57 +00:00
ryan
3d9dce3497 Update dotclear and textpattern importers to use taxonomy
git-svn-id: http://svn.automattic.com/wordpress/trunk@5953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-28 00:08:58 +00:00
ryan
5217cd1838 Trim before comparison. Props foolswisdom and Nazgul. fixes #4815
git-svn-id: http://svn.automattic.com/wordpress/trunk@5948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-27 15:17:00 +00:00
ryan
a03073ef0a Add nonces to tag importers. Props xknown. fixes #4811
git-svn-id: http://svn.automattic.com/wordpress/trunk@5941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-25 17:07:10 +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
markjaquith
764f50bd3d ABSPATH already has a trailing slash. Props Nazgul. fixes #4607
git-svn-id: http://svn.automattic.com/wordpress/trunk@5820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-27 21:28:01 +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
ryan
56272d8507 MT importer rework. see #4421
git-svn-id: http://svn.automattic.com/wordpress/trunk@5684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 19:49:30 +00:00