Commit Graph

3558 Commits

Author SHA1 Message Date
ryan b0f69e20a3 Create dir hierarchy for files passed to wp_upload_bits().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-02 04:59:39 +00:00
ryan c798fede84 Upload dir cleanups. Honor old fileupload_path settings if present.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-02 04:33:27 +00:00
ryan 807f5ded08 Preserve suid and sgid bits when creating new directories. fixes #2190
git-svn-id: http://svn.automattic.com/wordpress/trunk@3388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-02 02:50:59 +00:00
ryan da72493884 MT import fixes from cubex.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-01 22:54:56 +00:00
ryan faa30b7898 Default expiration is too long. Change it to 15 minutes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-31 22:34:58 +00:00
ryan 67febd9d7a Fallback to matching the leaf category if the full path doesn't match. Props David House. fixes #2161
git-svn-id: http://svn.automattic.com/wordpress/trunk@3385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-31 21:53:13 +00:00
ryan 90fc694201 Trackback tweaks. Props http://blog.serv.idv.tw/2005/12/29/380/. fixes #2170
git-svn-id: http://svn.automattic.com/wordpress/trunk@3384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-31 21:24:56 +00:00
ryan 41a3730222 newCatAddIn fix. fixes #2184
git-svn-id: http://svn.automattic.com/wordpress/trunk@3383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-31 20:59:28 +00:00
ryan 38f4fca0db Move PHP_SELF setup to wp-settings.php. #2153
git-svn-id: http://svn.automattic.com/wordpress/trunk@3382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-29 23:11:26 +00:00
ryan 095edb0aea Add footer to Import Blogroll page. Props Ozh. fixes #2168
git-svn-id: http://svn.automattic.com/wordpress/trunk@3381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-29 21:59:38 +00:00
ryan fb25862f14 Silenzio.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-29 21:42:56 +00:00
ryan 8cdc22e3d8 Post delete fix from David House. fixes #2173
git-svn-id: http://svn.automattic.com/wordpress/trunk@3379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-29 21:16:53 +00:00
ryan 6d40d77615 More wp_upload_bits() fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-29 02:07:10 +00:00
ryan 39195303f1 Fix extension handling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-29 01:46:32 +00:00
ryan d789b7005e Typo in wp_upload_bits()
git-svn-id: http://svn.automattic.com/wordpress/trunk@3376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-29 01:40:42 +00:00
ryan 00e695e6f5 LJ tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-29 01:25:41 +00:00
ryan 529d5294ec Flesh out LJ importer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 20:24:12 +00:00
ryan 305a286ce1 Cache rewrite rules. Add WP_Rewrite::flush_rules(). fixes #2155
git-svn-id: http://svn.automattic.com/wordpress/trunk@3373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 07:05:05 +00:00
ryan 81f0c504cd Regen page rewrite rules when upgrading.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 05:20:13 +00:00
ryan 240128b76d Create explicit page attachment rewrite rules rather than matching the attachment name against a regexp.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 04:27:21 +00:00
ryan 8906eb2557 Anchor str replacements to head so that we don't replace across the entire string. fixes #2162
git-svn-id: http://svn.automattic.com/wordpress/trunk@3370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 01:48:29 +00:00
ryan b64e33619d Use mb_strcut instead of mb_substr. fixes #2163
git-svn-id: http://svn.automattic.com/wordpress/trunk@3369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 01:06:57 +00:00
ryan f1e77a800a i18n trackback fix. Props thinkini. fixes #2163
git-svn-id: http://svn.automattic.com/wordpress/trunk@3368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 00:55:55 +00:00
ryan 97749ecf1d Title fixes for plugin menu pages. fixes #1447
git-svn-id: http://svn.automattic.com/wordpress/trunk@3367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 00:45:13 +00:00
ryan 365a7b5ee0 Use API to delete comment so that counts are kept in sync. Props Mike Little. fixes #2159
git-svn-id: http://svn.automattic.com/wordpress/trunk@3366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 00:42:42 +00:00
ryan 7ff17cba43 Exit after sending headers. fixes #1917
git-svn-id: http://svn.automattic.com/wordpress/trunk@3365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 00:16:40 +00:00
ryan e4bc49b839 Don't be lazy. Props Denyerec
git-svn-id: http://svn.automattic.com/wordpress/trunk@3364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 00:10:23 +00:00
matt 08005a3bba Pop the champagne
git-svn-id: http://svn.automattic.com/wordpress/trunk@3362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-26 20:15:06 +00:00
ryan c24a484571 Don't require admin-header.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-26 17:00:39 +00:00
ryan 94b2a5ad5d Use wp_handle_upload().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-26 09:55:24 +00:00
ryan ca096fabad Make sure we have a valid timestamp. fixes #2148
git-svn-id: http://svn.automattic.com/wordpress/trunk@3359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-25 21:42:07 +00:00
ryan 9c99a92bc5 Silence mkdir().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-25 21:16:27 +00:00
ryan 48f0f0a89e Update post_modified when the post is changed. fixes #1837
git-svn-id: http://svn.automattic.com/wordpress/trunk@3357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-24 20:04:59 +00:00
ryan 541c30cc70 Fix page permalink 404 when pages are reordered. Props David House. fixes #2071
git-svn-id: http://svn.automattic.com/wordpress/trunk@3356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-24 16:26:55 +00:00
ryan d3105dc988 gettext updates from SteveAgl. fixes #2143
git-svn-id: http://svn.automattic.com/wordpress/trunk@3355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-24 15:12:59 +00:00
ryan c9afa8e4dc MAke sure post_parent is valid.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-24 05:34:50 +00:00
ryan d0ff0c9315 Make wp_insert_attachment() MySQL 5 strict mode compliant. fixes #2115
git-svn-id: http://svn.automattic.com/wordpress/trunk@3353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-24 05:32:49 +00:00
ryan 5df9400ad9 Enable MT importer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-23 23:16:20 +00:00
ryan cbb50041a8 Return ID not user_login.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-23 23:16:01 +00:00
ryan a8652d0823 Use API.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-23 23:10:59 +00:00
ryan 0ea2312357 Styling for the theme select button. fixes #2101
git-svn-id: http://svn.automattic.com/wordpress/trunk@3349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-23 21:08:42 +00:00
ryan 33ad867646 Remove cruft.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-23 20:59:23 +00:00
ryan 71d5605298 Fix already pinged list. Props pirateking. fixes #2136
git-svn-id: http://svn.automattic.com/wordpress/trunk@3347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-23 20:43:30 +00:00
ryan 242cfef107 Typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-23 20:30:25 +00:00
ryan 056106dcfd h-scroll fix. fixes #1994
git-svn-id: http://svn.automattic.com/wordpress/trunk@3345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-23 03:24:10 +00:00
matt e5f66550f4 Hack hack hack hack hack hack hack
git-svn-id: http://svn.automattic.com/wordpress/trunk@3344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-23 02:52:11 +00:00
ryan 2a40219b33 Hide errors when getting usermeta in case we're upgrading and usermeta doesn't exist yet. fixes #2110
git-svn-id: http://svn.automattic.com/wordpress/trunk@3343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-23 00:32:15 +00:00
matt b111087cbb Updating to stable version.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-22 21:45:59 +00:00
ryan 8b686cdc2d Update cache when editing categories. fixes #2127
git-svn-id: http://svn.automattic.com/wordpress/trunk@3341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-22 20:32:12 +00:00
ryan 65223a924f Reduce consecutive backslashes to one backslash. Handy when escaped windows paths are passed in.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-22 05:18:18 +00:00