Commit Graph

1345 Commits

Author SHA1 Message Date
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
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
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
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
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
ryan
3a3d3f6aee Don't get children for cat 0. fixes #2123
git-svn-id: http://svn.automattic.com/wordpress/trunk@3338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-22 04:31:48 +00:00
ryan
0d9a94d553 Edit link does not belong on attachments. fixes #2119
git-svn-id: http://svn.automattic.com/wordpress/trunk@3333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-21 15:47:54 +00:00
matt
d62c42289e It goes bump in the night.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-20 07:07:26 +00:00
ryan
2d9779beba Make sure comment_parent is set.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-20 04:28:32 +00:00
ryan
a626f32296 Cache user ids and user logins separately to avoid collision. Props donncha. fixes #2096
git-svn-id: http://svn.automattic.com/wordpress/trunk@3330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-19 19:14:22 +00:00
ryan
4f3bef3ac1 Validation tweaks. fixes #2097
git-svn-id: http://svn.automattic.com/wordpress/trunk@3329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-19 19:10:09 +00:00
ryan
beca0741ca Init tweak. No need to prime category cache.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-18 22:08:01 +00:00
ryan
4e79fa55fe get_children()
git-svn-id: http://svn.automattic.com/wordpress/trunk@3321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-16 09:50:10 +00:00
ryan
30c70223b3 Compression tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-16 08:04:55 +00:00
ryan
4260bf8b16 Populate PHP_SELF from REQUEST_URI if blank.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-16 08:04:41 +00:00
ryan
97cd7143da New asyncronous ping method. fixes #2048
git-svn-id: http://svn.automattic.com/wordpress/trunk@3317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-16 03:04:33 +00:00
ryan
ee7b572202 Add post titles to site comment feed. Add some gettext. fixes #2067 #1987
git-svn-id: http://svn.automattic.com/wordpress/trunk@3314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 22:20:06 +00:00
ryan
c676e9c5c0 Separate dbx managers for post and page forms. Props mdawaffe. fixes #2035
git-svn-id: http://svn.automattic.com/wordpress/trunk@3313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 21:48:12 +00:00
ryan
3a51b35f25 Pluggable tinyMCE init. fixes #2080
git-svn-id: http://svn.automattic.com/wordpress/trunk@3312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 21:42:38 +00:00
ryan
fd28b6f640 When changing a post's categories, redo category counts for both old and new cats. Props ringmaster. fixes #2085
git-svn-id: http://svn.automattic.com/wordpress/trunk@3311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 20:31:29 +00:00
ryan
d567007a42 Don't treat a numeric user name as an id.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 16:45:20 +00:00
ryan
5a56fc2414 is_user_logged_in()
git-svn-id: http://svn.automattic.com/wordpress/trunk@3309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 16:31:41 +00:00
ryan
9aa7dc5290 Bump ver.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 01:17:46 +00:00
ryan
ab9b8f8b6a Attachment enhancements from skeltoac. fixes #2074
git-svn-id: http://svn.automattic.com/wordpress/trunk@3303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-13 19:19:56 +00:00
ryan
9a11319958 Better user check.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-13 18:18:07 +00:00
ryan
3671c6786d Update post cache before running the_posts filter. Since we already retrieved them, might as well cache them even if they are filtered out by plugins later.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-13 03:49:09 +00:00
ryan
2343663e0b If no user is logged in, setup an empty user.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-13 03:46:40 +00:00
ryan
f2d7c06c6d Add optional user_id arg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-13 03:46:08 +00:00
ryan
f588d966bd Add read_post meta cap.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-13 00:54:52 +00:00
ryan
72650ed6b7 role_has_cap and user_has_cap filters from ringmaster. fixes #2005
git-svn-id: http://svn.automattic.com/wordpress/trunk@3296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-12 23:20:44 +00:00
ryan
2a4aafe9b9 Fix attachment queries. fixes #2041
git-svn-id: http://svn.automattic.com/wordpress/trunk@3293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-12 01:33:46 +00:00
ryan
9d75e305a2 MCE improvements from skeltoac. fixes #2058
git-svn-id: http://svn.automattic.com/wordpress/trunk@3292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-12 01:27:56 +00:00
ryan
b5da83787d Resurrect save_post action for back compat. fixes #2063
git-svn-id: http://svn.automattic.com/wordpress/trunk@3291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-12 00:30:14 +00:00
ryan
93cd8402f2 Update get_queried_object() to use get_userdata() when retrieving authors. fixes #2044
git-svn-id: http://svn.automattic.com/wordpress/trunk@3290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-11 19:14:29 +00:00
ryan
931ee9ff74 get_post(), get_page() fixes from skeltoac. fixes #2057
git-svn-id: http://svn.automattic.com/wordpress/trunk@3289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-11 18:01:19 +00:00
ryan
4e4739b918 Gecko paste fix. fixes #2051
git-svn-id: http://svn.automattic.com/wordpress/trunk@3287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-11 01:32:05 +00:00
ryan
e6bcf0632d Fix is_admin() for situations where the query is not run. fixes #1741
git-svn-id: http://svn.automattic.com/wordpress/trunk@3286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-10 23:29:39 +00:00
ryan
157aecdf6e Make sure fields without defaults are specified when inserting. fixes #1953
git-svn-id: http://svn.automattic.com/wordpress/trunk@3285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-10 23:22:47 +00:00
ryan
0ace9024cd Add richedit_pre filter. Props mani_monaj. fixes #2047
git-svn-id: http://svn.automattic.com/wordpress/trunk@3284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-10 19:03:22 +00:00
ryan
06c51d01c2 MCE fix-em-ups from skeltoac. fixes #1962
git-svn-id: http://svn.automattic.com/wordpress/trunk@3283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-09 19:24:14 +00:00
ryan
ec0b1a8602 Remove debug cruft. fixes #2040
git-svn-id: http://svn.automattic.com/wordpress/trunk@3280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-08 23:54:24 +00:00
ryan
1f2e257074 Add timezone to iso8601 timestamp. Props devlogic. fixes #2036
git-svn-id: http://svn.automattic.com/wordpress/trunk@3279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-08 00:08:12 +00:00
ryan
3221e7d7df gzdeflate unnecessary. fixes #2038
git-svn-id: http://svn.automattic.com/wordpress/trunk@3278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-07 23:53:02 +00:00
ryan
c8b54e3bba Make page slugs unique. Props skeltoac. fixes #2034
git-svn-id: http://svn.automattic.com/wordpress/trunk@3277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-07 19:02:05 +00:00
ryan
1547da4733 Remove calls to html_entity_decode(). fixes #2029
git-svn-id: http://svn.automattic.com/wordpress/trunk@3276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-07 00:36:07 +00:00
ryan
181dd79885 Add wp_title filter.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 23:57:41 +00:00
ryan
3d55d1e28c autop fixes from skeltoac. fixes #2022
git-svn-id: http://svn.automattic.com/wordpress/trunk@3273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 17:00:01 +00:00
ryan
9d4c41b823 i18n fix from pandem. fixes #2028
git-svn-id: http://svn.automattic.com/wordpress/trunk@3272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 16:58:26 +00:00
ryan
9dc3881715 Decrease comment count only when deleting approved comments.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 05:31:27 +00:00
ryan
1a44970d3a Add edit_pages checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 04:04:23 +00:00
ryan
bd31c21f83 Relocate wp_upload_dir(). fixes #2019
git-svn-id: http://svn.automattic.com/wordpress/trunk@3267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 03:17:03 +00:00
ryan
57ce56e8f4 tinyMCE updates from skeltoac. fixes #1991
git-svn-id: http://svn.automattic.com/wordpress/trunk@3265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 03:04:25 +00:00
ryan
843a9afbfc i18n fixes from nbachiyski. #2006
git-svn-id: http://svn.automattic.com/wordpress/trunk@3262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-02 22:37:02 +00:00
ryan
30a8b614b2 Add wp_upload_bits(). Attempt to fix mw_newMediaObject().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-01 22:51:40 +00:00
ryan
9de108b9bf Make sure user_login keyed caches are cleared upon change.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-01 17:38:37 +00:00
ryan
40a83116c2 Don't attempt to match the index against a rule. This fixes problems with /index.php requests matching agagainst the %category% rewrite rules.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-01 01:34:29 +00:00
ryan
4cc66547a3 Remove ugly whitespace. Props abhay. fixes #1996
git-svn-id: http://svn.automattic.com/wordpress/trunk@3250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 21:13:18 +00:00
ryan
ec4e918588 add_role() and remove_role() convenience wrappers around
git-svn-id: http://svn.automattic.com/wordpress/trunk@3249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 20:04:04 +00:00
ryan
d9c7e8ff0d Add delete_usermeta(). fixes #1992
git-svn-id: http://svn.automattic.com/wordpress/trunk@3247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 19:19:47 +00:00
ryan
24d31cbef8 Remove extraneous parens.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 17:30:51 +00:00
ryan
8f6c123fa7 TinyMCE directionality for RTL support. Props skeltoac. fixes #1967
git-svn-id: http://svn.automattic.com/wordpress/trunk@3244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 17:15:43 +00:00
ryan
7b9f47b54b Allow Author role to edit published posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 07:47:22 +00:00
ryan
b174a8dadb Return role object after adding.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 07:32:43 +00:00
ryan
5211ae3da6 Unserialize fix. fixes #1988
git-svn-id: http://svn.automattic.com/wordpress/trunk@3239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 00:25:05 +00:00
ryan
1a351ef8c0 Add get_role() convenience wrapper.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 18:47:28 +00:00
ryan
489c6c4257 escapeshell SA17779
git-svn-id: http://svn.automattic.com/wordpress/trunk@3235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 14:07:30 +00:00
matt
0ff8f49cd5 Part of a healthy balanced breakfast - fixes #1980
git-svn-id: http://svn.automattic.com/wordpress/trunk@3234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 07:58:50 +00:00
ryan
f57362c61c Only unset query vars when serving admin pages. fixes #1979
git-svn-id: http://svn.automattic.com/wordpress/trunk@3233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 06:44:44 +00:00
ryan
b62211209a If PHP_SELF is empty, use REQUEST_URI when determining pagenow.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 02:33:25 +00:00
matt
138f2e6a91 So close I can taste it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 02:01:48 +00:00
ryan
efce6979b1 Use the full page hierarchy when matching page URIs. Props David House. fixes #1964
git-svn-id: http://svn.automattic.com/wordpress/trunk@3229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 01:43:32 +00:00
ryan
cba87fb462 Don't try to do permalinks for admin pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 23:30:42 +00:00
matt
beff0bedba Don't do bad xhtml fixing by default - fixes #1975
git-svn-id: http://svn.automattic.com/wordpress/trunk@3223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 23:05:12 +00:00
matt
2235469b60 No need to do those big fancy joins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 09:44:56 +00:00
matt
7c4d4cbec8 Another query bites the dust!
git-svn-id: http://svn.automattic.com/wordpress/trunk@3219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 09:37:17 +00:00
matt
dced5779ea Don't create empty umeta values.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 08:48:18 +00:00
matt
e8a4812526 Return if not an array, fixes #1940
git-svn-id: http://svn.automattic.com/wordpress/trunk@3217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 06:38:12 +00:00
matt
2fdc11a1d2 Don't show 404s for empty cats, fixes #1969
git-svn-id: http://svn.automattic.com/wordpress/trunk@3215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 03:15:48 +00:00
matt
43b2fc5f73 Better email from, fixes #1532
git-svn-id: http://svn.automattic.com/wordpress/trunk@3214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-25 22:57:26 +00:00
ryan
313e9a406b Strip home path from path info. This prevents a path info value of '/wp/index.php' from being considered as a permalink request. fixes #1938
git-svn-id: http://svn.automattic.com/wordpress/trunk@3206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 22:38:25 +00:00
ryan
6708e3d4ff s/user_description/description/. Props tinyau. fixes #1943
git-svn-id: http://svn.automattic.com/wordpress/trunk@3205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 18:01:32 +00:00
ryan
945a03bea5 Add get_attached_file().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 10:00:07 +00:00
matt
45c73a3298 Don't show 0 as a month.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 07:57:58 +00:00
ryan
0b3cf7e738 Allow wp_insert/update_post to handle classes in addition to associative arrays. This should avoid the 'Cannot use object of type stdClass as array' warnings.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 01:35:08 +00:00
ryan
c9cc15c4f4 Add some defaults to avoid MySQL warnings.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 00:38:56 +00:00
ryan
7b29bce03c Add glob() compat for php < 4.3.0
git-svn-id: http://svn.automattic.com/wordpress/trunk@3198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 23:39:56 +00:00
ryan
9426478867 Store some values in the class for debug purposes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 21:07:48 +00:00
matt
ac47eb038c Bumpa version
git-svn-id: http://svn.automattic.com/wordpress/trunk@3195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 09:56:15 +00:00
ryan
5be6242b23 Silence mkdir().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 07:45:07 +00:00
ryan
24e2307445 Instead of incrementing the current comment count, recount all comments to make sure we have a good count. Props Mark Jaquith. fixes #1920
git-svn-id: http://svn.automattic.com/wordpress/trunk@3193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 03:45:40 +00:00
ryan
a9d801767f Upgrade to Snoopy 1.2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@3191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 01:14:26 +00:00
ryan
73dde55507 Update meta before updating the post so that page_template is not stomped. fixes #1933
git-svn-id: http://svn.automattic.com/wordpress/trunk@3190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 00:36:36 +00:00
ryan
40bcf58a25 Therapeutic db version bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 09:13:20 +00:00
ryan
3587a865c9 Run attachment filter for themes that don't have single.php or page.php. Props podz. fixes #1924
git-svn-id: http://svn.automattic.com/wordpress/trunk@3174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 02:08:59 +00:00
ryan
6cc1deb00c TinyMCE publish fix from skeltoac. fixes #1921
git-svn-id: http://svn.automattic.com/wordpress/trunk@3172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-20 07:34:47 +00:00
ryan
eb7c563406 Silence fopen warnings and check return.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 22:52:57 +00:00
ryan
6628bfcf35 Suppress fopen warnings and check return.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 20:12:26 +00:00
ryan
51b8a36906 get_post_mime_type() from skeltoac.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 20:08:21 +00:00
ryan
ed7b824257 Remove extra file.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:41:54 +00:00
ryan
e1a257cc18 Add missing file.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:41:21 +00:00
ryan
a42ba92fe9 Relocate help icon to the correct place.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:39:09 +00:00
ryan
d34cfa089b Update help icon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:28:48 +00:00
ryan
15147edb24 TinyMCE help. fixes #1908
git-svn-id: http://svn.automattic.com/wordpress/trunk@3163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:15:11 +00:00
ryan
ff39307b04 Wrong PCRE flag break TinyMCE on lower PHP versions. fixes #1913
git-svn-id: http://svn.automattic.com/wordpress/trunk@3162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:11:03 +00:00
matt
94c145394c Dat da-da duuuummmmmmmm
git-svn-id: http://svn.automattic.com/wordpress/trunk@3160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 00:19:43 +00:00
ryan
a78ca073b5 Don't texturize for the rich editor. Props skeltoac. fixes #1909
git-svn-id: http://svn.automattic.com/wordpress/trunk@3156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 23:27:39 +00:00
ryan
dfb4f6b962 Autosave warning fix. fixes #1910
git-svn-id: http://svn.automattic.com/wordpress/trunk@3153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 22:55:39 +00:00
ryan
f4f22fce81 Attachment cleanups from skeltoac. fixes #1870
git-svn-id: http://svn.automattic.com/wordpress/trunk@3145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 09:25:47 +00:00
ryan
d2ae62c45c Remove dead code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 02:20:19 +00:00
ryan
c1095d12dd Don't return undefined variable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 02:15:08 +00:00
ryan
2b178e8737 Filter on the_content_rss. Props Kafkaesqui. fixes #1685
git-svn-id: http://svn.automattic.com/wordpress/trunk@3140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 23:17:06 +00:00
ryan
90004a8ae6 Don't stripslashes() in plugin_basename() since this breaks established expectation of being able to pass a non-escaped FILE. Instead, stripslashes further up the stack. fixes #1866
git-svn-id: http://svn.automattic.com/wordpress/trunk@3139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 23:01:28 +00:00
ryan
f237c0bf41 Don't loop over empty options. fixes #1900
git-svn-id: http://svn.automattic.com/wordpress/trunk@3138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 22:46:18 +00:00
ryan
e6425a4127 Tidy up get_userdatabylogin().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 18:15:59 +00:00
ryan
544842e3dc Big tiny fixes from skeltoac. fixes #1897
git-svn-id: http://svn.automattic.com/wordpress/trunk@3136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 17:47:29 +00:00
ryan
3a83db90da Don't bother with sems.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 09:30:14 +00:00
ryan
d662ef80b1 Add posts_groupby and posts_request filters. fixes #1479
git-svn-id: http://svn.automattic.com/wordpress/trunk@3130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 09:10:18 +00:00
ryan
a370a5d002 i18n fix from nbachiyski. fixes #1874
git-svn-id: http://svn.automattic.com/wordpress/trunk@3125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 03:01:55 +00:00
ryan
a6472cdafa Check if writable before checking if dir to avoid permission denied problems.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 02:24:52 +00:00
matt
60e7c34c12 Fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@3122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 01:57:18 +00:00
matt
1fb7241355 New logo, better login.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 00:51:34 +00:00
matt
773df46145 Not used any more.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 00:34:24 +00:00
ryan
a41c4a693f Add missing space to fix validation. Props seth. fixes #1887
git-svn-id: http://svn.automattic.com/wordpress/trunk@3118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 23:59:29 +00:00
ryan
09809cc917 Don't run stylesheet directory URI through filters. fixes #1890
git-svn-id: http://svn.automattic.com/wordpress/trunk@3117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 23:54:39 +00:00
ryan
5fdc8b56da Add some comment API and update comment popup templates to use them. Props David Hose. fixes #1892
git-svn-id: http://svn.automattic.com/wordpress/trunk@3115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 23:48:12 +00:00
matt
6154d26ea1 Better email links, fixes #1416
git-svn-id: http://svn.automattic.com/wordpress/trunk@3114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 23:44:03 +00:00
ryan
36722b2528 Silence file ops.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 23:40:14 +00:00
ryan
4eb19bcf5e More 404 work. Hopefully fixes #1471
git-svn-id: http://svn.automattic.com/wordpress/trunk@3111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 22:54:52 +00:00
ryan
64567c90f4 Don't flush if cache is disabled.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 19:01:58 +00:00
ryan
aba1a4437d Fix 404s. Props donncha. fixes #1471
git-svn-id: http://svn.automattic.com/wordpress/trunk@3108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 10:16:20 +00:00
ryan
428f06c54a Fix typos in remove_accents(). Props kyknos and YaaL. fixes #1688
git-svn-id: http://svn.automattic.com/wordpress/trunk@3106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 06:37:06 +00:00
ryan
25b644e8ce Add comment_count to the posts table. Props donncha. fixes #1860
git-svn-id: http://svn.automattic.com/wordpress/trunk@3104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 06:29:36 +00:00
ryan
005dce9352 Make sure plugins and themes are readable. Props Mike Little. fixes #1502
git-svn-id: http://svn.automattic.com/wordpress/trunk@3103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 03:27:22 +00:00
ryan
b6f44dc532 Pull the values in WP_User::data directly into WP_User so that we don't have to do ->data->blah.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 02:54:23 +00:00
ryan
10c71b6d01 Execute rewrite rules for / so that plugins can add rules. Props: filosofo. fixes #1864
git-svn-id: http://svn.automattic.com/wordpress/trunk@3097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 01:58:04 +00:00
ryan
72c031e0a5 Update to use cap API.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 00:50:02 +00:00
ryan
0170736e28 Move category post count updater into wp_set_post_cats().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-15 23:47:16 +00:00
ryan
f83326f125 Renaming. object and subpost are now attachment. post_type is post_mime_type.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-15 22:55:24 +00:00
ryan
e120711bdd Update category counts. Props donncha. fixes #1886
git-svn-id: http://svn.automattic.com/wordpress/trunk@3091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-15 16:31:24 +00:00
ryan
9ba3193309 Fix [3074] commit so that draft->publish transitions up date the timestamp.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-15 00:00:26 +00:00
matt
e13b370b3d Mystery of the disappearing post solved, fixes #1879
git-svn-id: http://svn.automattic.com/wordpress/trunk@3089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 23:28:10 +00:00
ryan
a3a84d2957 Flush the cache before installing. fixes #1877
git-svn-id: http://svn.automattic.com/wordpress/trunk@3088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 22:32:03 +00:00
ryan
08fea3c335 Implement wp_cache_flush().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 22:10:28 +00:00
ryan
60d04abb0c Avoid infinite recursion when expiring cache. fixes #1875
git-svn-id: http://svn.automattic.com/wordpress/trunk@3086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 21:29:30 +00:00
matt
50cc9f757b Don't die on me now! Fixes #1631
git-svn-id: http://svn.automattic.com/wordpress/trunk@3083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 10:21:39 +00:00