Commit Graph

81 Commits

Author SHA1 Message Date
Ryan Boren ede15e394f Use hard-coded functions instead of create_function() in importers. Props mdawaffe. fixes #10836
git-svn-id: https://develop.svn.wordpress.org/trunk@11964 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-23 22:03:39 +00:00
Ryan Boren 051e34e38f Don't import _wp_attachment_metadata. It is regenerated when the attachment is imported.
git-svn-id: https://develop.svn.wordpress.org/trunk@11842 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-19 21:37:47 +00:00
Peter Westwood b2fce410d1 Add support for sticky posts to the WXR exporter and importer. Fixes #10462 props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@11774 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-04 21:46:42 +00:00
Ryan Boren c5ce63e64d Import category descriptions. Props Denis-de-Bernardy. fixes #8840
git-svn-id: https://develop.svn.wordpress.org/trunk@11321 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-13 23:23:26 +00:00
Mark Jaquith c638e8d8de _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Andrew Ozz 3bf18aa189 Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: https://develop.svn.wordpress.org/trunk@11190 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 04:28:05 +00:00
Ryan Boren cfd320446f Attr escaping
git-svn-id: https://develop.svn.wordpress.org/trunk@11173 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 17:54:08 +00:00
Ryan Boren fe7c34b6fd s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +00:00
Ryan Boren 854a8d6341 Use _n(). Props nbachiyski. fixes #9111
git-svn-id: https://develop.svn.wordpress.org/trunk@10606 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-20 19:35:16 +00:00
Ryan Boren 2baa2f8e58 Use preg_replace_callback instead of preg_replace with eval. Props beaulebens. see #8689
git-svn-id: https://develop.svn.wordpress.org/trunk@10339 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-09 19:29:35 +00:00
Mark Jaquith 60c35316c1 Fix a few trailing spaces/tabs
git-svn-id: https://develop.svn.wordpress.org/trunk@10157 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 21:50:35 +00:00
Ryan Boren 7b0c368857 Don't import cat and tags with empty string for name. Check for WP_Error after term insertion. fixes #8474
git-svn-id: https://develop.svn.wordpress.org/trunk@10021 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-03 17:47:44 +00:00
Ryan Boren 04ac8afac0 Assign comment post ID when importing existing posts. Props tott. fixes #8458
git-svn-id: https://develop.svn.wordpress.org/trunk@10014 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-02 19:25:42 +00:00
Andrew Ozz 90c37c1792 Screen icons
git-svn-id: https://develop.svn.wordpress.org/trunk@9903 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-26 13:51:25 +00:00
Peter Westwood 7351b448ae validation fixes for the WordPress importer. Fixes #7982 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@9372 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-27 21:12:24 +00:00
Peter Westwood 674f89ae68 Syncronise the messages for Import/Export of WXR. Fixes #6557 props mtdewvirus.
git-svn-id: https://develop.svn.wordpress.org/trunk@9361 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-26 18:40:20 +00:00
Ryan Boren 9e467a6850 Better error response when fetching attachments. Props DD32. see #7944
git-svn-id: https://develop.svn.wordpress.org/trunk@9327 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-24 18:22:43 +00:00
Ryan Boren c368483c2d Notice fixes from DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9270 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-21 23:54:18 +00:00
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