Commit Graph

256 Commits

Author SHA1 Message Date
westi f05ee1844f Switch to passing arrays instead of query strings to functions. Fixes #6647 props filosofo and hakre.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 08:34:39 +00:00
ryan 0d31c12db6 Use update and insert. Props DD32. fixes #6836
git-svn-id: http://svn.automattic.com/wordpress/trunk@12652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 20:13:54 +00:00
westi 9ca731eee2 Consitent use of … Fixes #10374 props demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 09:46:57 +00:00
ryan cedfa0181b Use array calling style. Props Denis-de-Bernardy. see #6647
git-svn-id: http://svn.automattic.com/wordpress/trunk@12515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:31:02 +00:00
ryan 354607036c Remove unneeded quotes around vars. Props johnbillion. fixes #10245
git-svn-id: http://svn.automattic.com/wordpress/trunk@12513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:16:53 +00:00
westi fb04390c01 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: http://svn.automattic.com/wordpress/trunk@12495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 17:05:49 +00:00
westi cd4fd77beb 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: http://svn.automattic.com/wordpress/trunk@12469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-21 15:26:57 +00:00
ryan bfd934032c Preserve parentage when importing comments. Props joostdevalk. fixes #8019
git-svn-id: http://svn.automattic.com/wordpress/trunk@12301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 02:12:42 +00:00
ryan 5c5b0ddaff Filter imported comments
git-svn-id: http://svn.automattic.com/wordpress/trunk@12270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-24 14:40:25 +00:00
ryan 55c131eb14 Filter imported comments
git-svn-id: http://svn.automattic.com/wordpress/trunk@12269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-24 14:00:41 +00:00
westi f8b7514e8c Remove the extra screen icons from the WordPress importer. Fixes #8720 props MattyRob.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-12 21:40:54 +00:00
ryan 3fc2cea52e Export and import custom taxonomies. Props chrisscott. fixes #10012
git-svn-id: http://svn.automattic.com/wordpress/trunk@12109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-26 13:57:55 +00:00
azaozz 791cebe932 Typo fixes, props dd32, fixes #11030
git-svn-id: http://svn.automattic.com/wordpress/trunk@12104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-25 17:30:58 +00:00
westi 5188723e01 Fix some login typos. Fixes #11031 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-25 09:28:20 +00:00
ryan e1c0fad754 Use hard-coded functions instead of create_function() in importers. Props mdawaffe. fixes #10836
git-svn-id: http://svn.automattic.com/wordpress/trunk@11964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-23 22:03:39 +00:00
ryan a5ca722613 Retire Jerome's keywords importer
git-svn-id: http://svn.automattic.com/wordpress/trunk@11917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-11 17:55:35 +00:00
ryan a6dabdc42f Retire BunnyTags importer
git-svn-id: http://svn.automattic.com/wordpress/trunk@11914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-11 17:53:14 +00:00
westi 476a750167 Correctly CamelCase TypePad. Fixes #10686 props niallkennedy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-26 06:51:36 +00:00
ryan 58f9fb3e13 Don't import _wp_attachment_metadata. It is regenerated when the attachment is imported.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-19 21:37:47 +00:00
westi d74205ae0a Add support for sticky posts to the WXR exporter and importer. Fixes #10462 props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-04 21:46:42 +00:00
ryan 2df887bd07 Trim tailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 23:47:49 +00:00
markjaquith 3ebf837ced Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +00:00
markjaquith 119b39cec2 deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:11:07 +00:00
ryan 5c4aebf1ab Import category descriptions. Props Denis-de-Bernardy. fixes #8840
git-svn-id: http://svn.automattic.com/wordpress/trunk@11321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-13 23:23:26 +00:00
westi c97f114917 Switch dotclear importer to use builtin UTF8 testing functionality. Fixes #9771 props hakre.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 20:26:27 +00:00
markjaquith d7b015645d esc_js(). Shorter, follows new escaping naming convention.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-09 07:27:22 +00:00
markjaquith 6c2ffddf31 _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: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
azaozz 12924135ce Add wpspin_light and wpspin_dark spinners
git-svn-id: http://svn.automattic.com/wordpress/trunk@11203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 18:57:43 +00:00
azaozz 83f674bf9a Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: http://svn.automattic.com/wordpress/trunk@11190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 04:28:05 +00:00
ryan 12078bcb11 Attr escaping
git-svn-id: http://svn.automattic.com/wordpress/trunk@11173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 17:54:08 +00:00
azaozz d409315d8c Add wpspin.gif and replace all spinners
git-svn-id: http://svn.automattic.com/wordpress/trunk@11150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-01 19:43:22 +00:00
ryan 2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan 7651b29cb9 Silence html_entity_decode warnings. Props Denis-de-Bernardy. fixes #9616
git-svn-id: http://svn.automattic.com/wordpress/trunk@11081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-24 16:57:27 +00:00
azaozz 67d841770a Add "code" class to more URL input fields, props johnbillion, fixes #8383
git-svn-id: http://svn.automattic.com/wordpress/trunk@10995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-18 06:47:56 +00:00
ryan acfc07e738 Don't force balance tags to avoid image stripping. Props beaulebens. fixes #9468
git-svn-id: http://svn.automattic.com/wordpress/trunk@10880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-06 18:33:50 +00:00
ryan 18c63b62aa Clean urls
git-svn-id: http://svn.automattic.com/wordpress/trunk@10811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:46:32 +00:00
ryan e8b6fe7347 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:43:45 +00:00
ryan a33afa3546 Pass blog charset to html_entity_decode(). Props adferguson. fixes #7563
git-svn-id: http://svn.automattic.com/wordpress/trunk@10688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-03 18:37:25 +00:00
ryan 5ad4ed12b7 Remove raquo from buttons
git-svn-id: http://svn.automattic.com/wordpress/trunk@10647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-25 18:56:58 +00:00
ryan 74b9642857 Append .txt to import files rather than .import. Props donncha
git-svn-id: http://svn.automattic.com/wordpress/trunk@10611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 21:39:20 +00:00
ryan 37cbe1b939 Add some escaping
git-svn-id: http://svn.automattic.com/wordpress/trunk@10609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 21:35:49 +00:00
ryan ef85a2429e Make sure cache is clean when converting cats to tags. fixes #9186
git-svn-id: http://svn.automattic.com/wordpress/trunk@10608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 20:40:05 +00:00
ryan fc660a45a3 Use _n(). Props nbachiyski. fixes #9111
git-svn-id: http://svn.automattic.com/wordpress/trunk@10606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 19:35:16 +00:00
ryan 8e0f48c58d LJ importer updates. Props beaulebens. see #8999
git-svn-id: http://svn.automattic.com/wordpress/trunk@10586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-17 19:58:03 +00:00
azaozz 35002bde5f Completely New LiveJournal Importer update, props beaulebens, see #8999
git-svn-id: http://svn.automattic.com/wordpress/trunk@10538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-10 19:34:52 +00:00
ryan e74d1ca69d Revert the revert per Matt. see #8999
git-svn-id: http://svn.automattic.com/wordpress/trunk@10501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-04 18:24:02 +00:00
ryan c60bd16ec2 Revert new LJ importer. see #8999
git-svn-id: http://svn.automattic.com/wordpress/trunk@10499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-04 17:47:50 +00:00
azaozz e8b009cbf3 Fix single quote problems in LJ importer, props beaulebens, fixes #8999
git-svn-id: http://svn.automattic.com/wordpress/trunk@10492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-04 00:04:29 +00:00
azaozz fc8345977f Completely New LiveJournal Importer, props beaulebens, see #8999
git-svn-id: http://svn.automattic.com/wordpress/trunk@10475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-31 18:41:35 +00:00
azaozz 0c65134b61 Fix empty feed after MT import, props hailin, fixes #8944 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-24 12:24:57 +00:00