Commit Graph

99 Commits

Author SHA1 Message Date
Andrew Nacin
2473cefe8f s/blog/site/ in even more places. props PeteMall, see #11644.
git-svn-id: https://develop.svn.wordpress.org/trunk@14315 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 03:17:49 +00:00
Andrew Nacin
12c0ed6a6c Ensure PHP4 compat. fixes #12791
git-svn-id: https://develop.svn.wordpress.org/trunk@13907 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 07:01:32 +00:00
Andrew Nacin
4f5a2095a8 Remove trailing whites and double semicolons.
git-svn-id: https://develop.svn.wordpress.org/trunk@13830 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:36:49 +00:00
Andrew Nacin
ddc506f01c Remove unnecessary ternary operators such as (expr) ? true : false.
git-svn-id: https://develop.svn.wordpress.org/trunk@13769 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 21:15:00 +00:00
Ryan Boren
5e588d11a8 WP importer fixes. Props briancolinger. fixes #12619
git-svn-id: https://develop.svn.wordpress.org/trunk@13735 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:56:10 +00:00
Mark Jaquith
fc77a1d879 Whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@13316 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 23:12:48 +00:00
Dion Hulse
96578ed6b8 Remove < PHP 4.3 compat functions from importers. Props nacin. Fixes #11636
git-svn-id: https://develop.svn.wordpress.org/trunk@12985 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 07:19:25 +00:00
Peter Westwood
2a93c55f43 Switch to passing arrays instead of query strings to functions. Fixes #6647 props filosofo and hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@12657 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 08:34:39 +00:00
Ryan Boren
7b580bf8e8 Use update and insert. Props DD32. fixes #6836
git-svn-id: https://develop.svn.wordpress.org/trunk@12652 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 20:13:54 +00:00
Ryan Boren
dcd3604d90 Use array calling style. Props Denis-de-Bernardy. see #6647
git-svn-id: https://develop.svn.wordpress.org/trunk@12515 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:31:02 +00:00
Ryan Boren
6de4fcc190 Remove unneeded quotes around vars. Props johnbillion. fixes #10245
git-svn-id: https://develop.svn.wordpress.org/trunk@12513 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:16:53 +00:00
Peter Westwood
b7b7429478 Use maybe_unserialized on all post_meta values on import to ensure we don't end up with double serialized data in the database. Fixes #10619 props znarfor.
git-svn-id: https://develop.svn.wordpress.org/trunk@12495 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 17:05:49 +00:00
Peter Westwood
af1919accd Fix some notices in the importer when importing files from old WordPress versions or not fetching attachments. See #11484.
Ensure that we check that a user is created for the username we specify and otherwise fallback to the current user
See #10319.

git-svn-id: https://develop.svn.wordpress.org/trunk@12469 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-21 15:26:57 +00:00
Ryan Boren
3d270053f2 Preserve parentage when importing comments. Props joostdevalk. fixes #8019
git-svn-id: https://develop.svn.wordpress.org/trunk@12301 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 02:12:42 +00:00
Ryan Boren
36b5b622f3 Filter imported comments
git-svn-id: https://develop.svn.wordpress.org/trunk@12269 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-24 14:00:41 +00:00
Peter Westwood
f713ed5a48 Remove the extra screen icons from the WordPress importer. Fixes #8720 props MattyRob.
git-svn-id: https://develop.svn.wordpress.org/trunk@12178 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-12 21:40:54 +00:00
Ryan Boren
ba1f1d3780 Export and import custom taxonomies. Props chrisscott. fixes #10012
git-svn-id: https://develop.svn.wordpress.org/trunk@12109 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-26 13:57:55 +00:00
Andrew Ozz
869f5f8649 Typo fixes, props dd32, fixes #11030
git-svn-id: https://develop.svn.wordpress.org/trunk@12104 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-25 17:30:58 +00:00
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