Commit Graph

274 Commits

Author SHA1 Message Date
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 adb0bd1ff3 Use set_time_limit(0) in import/mt.php. see #12595
git-svn-id: https://develop.svn.wordpress.org/trunk@13807 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-23 19:20:03 +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
Ryan Boren 499172e7c8 LJ importer tweaks. Props briancolinger. fixes #12620
git-svn-id: https://develop.svn.wordpress.org/trunk@13734 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:52:44 +00:00
Andrew Nacin 3a5b7f065b Fix assignment. Props Rasmus Lerdorf via ConFoo presentation.
git-svn-id: https://develop.svn.wordpress.org/trunk@13684 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-12 19:32:48 +00:00
Andrew Nacin 5c8e788197 Use ABSPATH because we can. props miqrogroove see #12411
git-svn-id: https://develop.svn.wordpress.org/trunk@13459 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 16:44:26 +00:00
Andrew Nacin ddb16a0d4a Use ABSPATH because we can. props miqrogroove see #12411
git-svn-id: https://develop.svn.wordpress.org/trunk@13458 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 16:35:41 +00:00
Andrew Nacin 6e071efc20 Fix include paths. props nadavvin fixes #12411
git-svn-id: https://develop.svn.wordpress.org/trunk@13457 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 16:15:46 +00:00
Ryan Boren 66b081abd2 Remove author tags. fixes #12366
git-svn-id: https://develop.svn.wordpress.org/trunk@13377 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 19:07:21 +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
Andrew Nacin 670b8d8bfb Don't use deprecated *_usermeta() functions. Props technosailor fixes #10837
git-svn-id: https://develop.svn.wordpress.org/trunk@13311 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 21:25:32 +00:00
Andrew Nacin 4a6314cdc7 Fix notice, and use wp_max_upload_size() to fill MAX_FILE_SIZE hidden field (used by supporting browsers for a client-side check). Fixes #10849 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@13306 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 19:48:38 +00:00
Andrew Nacin 5d808fce86 Use admin_url() for images in wp-admin, to allow for filtering. Props mdawaffe, see #12300
git-svn-id: https://develop.svn.wordpress.org/trunk@13256 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 21:09:49 +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
Ryan Boren 2e46e81309 i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: https://develop.svn.wordpress.org/trunk@12789 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 21:37:43 +00:00
Ryan Boren e2adfc832a Coding standards, space after if
git-svn-id: https://develop.svn.wordpress.org/trunk@12752 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 20:34:48 +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
Peter Westwood b799f4886e Consitent use of … Fixes #10374 props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@12533 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-24 09:46:57 +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 64200ba296 Filter imported comments
git-svn-id: https://develop.svn.wordpress.org/trunk@12270 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-24 14:40:25 +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
Peter Westwood c8748b8364 Fix some login typos. Fixes #11031 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@12100 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-25 09:28:20 +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 80cc420d2c Retire Jerome's keywords importer
git-svn-id: https://develop.svn.wordpress.org/trunk@11917 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-11 17:55:35 +00:00
Ryan Boren 188ca14ebd Retire BunnyTags importer
git-svn-id: https://develop.svn.wordpress.org/trunk@11914 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-11 17:53:14 +00:00
Peter Westwood d43ed9f448 Correctly CamelCase TypePad. Fixes #10686 props niallkennedy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11882 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-26 06:51:36 +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 e12c642c54 Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 23:47:49 +00:00
Mark Jaquith ba1c3bdd5b Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@11383 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 16:00:33 +00:00
Mark Jaquith f0336cfa7d deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 15:11:07 +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
Peter Westwood cfa0abc319 Switch dotclear importer to use builtin UTF8 testing functionality. Fixes #9771 props hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@11278 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 20:26:27 +00:00
Mark Jaquith 8d6cb67233 esc_js(). Shorter, follows new escaping naming convention.
git-svn-id: https://develop.svn.wordpress.org/trunk@11245 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-09 07:27:22 +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 8788a2520e Add wpspin_light and wpspin_dark spinners
git-svn-id: https://develop.svn.wordpress.org/trunk@11203 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 18:57:43 +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
Andrew Ozz aac1622495 Add wpspin.gif and replace all spinners
git-svn-id: https://develop.svn.wordpress.org/trunk@11150 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-01 19:43:22 +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