Commit Graph

130 Commits

Author SHA1 Message Date
Ryan Boren
aa88f20cff tinyMCE 2.0.5 coming at you live. fixes #2598
git-svn-id: https://develop.svn.wordpress.org/trunk@3664 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-30 07:50:33 +00:00
Ryan Boren
bd6323c272 Future post pinging and cron fixups from masquerade. fixes #2469
git-svn-id: https://develop.svn.wordpress.org/trunk@3663 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-30 07:36:54 +00:00
Ryan Boren
457b4b5251 Cron improvements from masquerade. #2425
git-svn-id: https://develop.svn.wordpress.org/trunk@3634 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-07 21:43:59 +00:00
Ryan Boren
5e2a95ac8e Add post_content_filtered to insert and update in wp_insert_attachment(). Props bungeman. fixes #2457
git-svn-id: https://develop.svn.wordpress.org/trunk@3539 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:09:40 +00:00
Ryan Boren
7bb0afb636 Fix timestamps for future posts. fixes #2439
git-svn-id: https://develop.svn.wordpress.org/trunk@3525 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 00:12:09 +00:00
Ryan Boren
6008a133c4 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: https://develop.svn.wordpress.org/trunk@3517 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:53:23 +00:00
Ryan Boren
f156e83af5 Post status = future. #2426
git-svn-id: https://develop.svn.wordpress.org/trunk@3514 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:41:56 +00:00
Ryan Boren
91421a7124 get_page_by_path. Some page uri cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@3511 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-10 00:54:16 +00:00
Ryan Boren
f961003343 Allow draft pages. Use post_type for object types. Reserve post_status strictly for status. fixes #1820
git-svn-id: https://develop.svn.wordpress.org/trunk@3510 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-09 10:03:48 +00:00
Matt Mullenweg
0628227ea0 Don't falsely marketh as spam. Fixes #1560
git-svn-id: https://develop.svn.wordpress.org/trunk@3506 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-09 07:25:25 +00:00
Ryan Boren
ef222cf77c Flush all_page_ids when a page is addded or deleted.
git-svn-id: https://develop.svn.wordpress.org/trunk@3496 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-29 19:58:48 +00:00
Ryan Boren
f08416af58 More upload path tweaks. fixes #2271
git-svn-id: https://develop.svn.wordpress.org/trunk@3437 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-14 22:09:51 +00:00
Ryan Boren
f8f6b07e9c Force absolute lookup. Props tanuki. fixes #2237
git-svn-id: https://develop.svn.wordpress.org/trunk@3433 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-13 22:40:22 +00:00
Ryan Boren
ad6ed9c744 Add upload folder options. Props David House. fixes #2206
git-svn-id: https://develop.svn.wordpress.org/trunk@3413 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-09 22:24:57 +00:00
Ryan Boren
78d90dda67 Remove printr calls.
git-svn-id: https://develop.svn.wordpress.org/trunk@3403 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-05 05:27:31 +00:00
Ryan Boren
fce486c48c Create dir hierarchy for files passed to wp_upload_bits().
git-svn-id: https://develop.svn.wordpress.org/trunk@3390 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-02 04:59:39 +00:00
Ryan Boren
e6e5cd892f Upload dir cleanups. Honor old fileupload_path settings if present.
git-svn-id: https://develop.svn.wordpress.org/trunk@3389 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-02 04:33:27 +00:00
Ryan Boren
f34cbd8d67 Preserve suid and sgid bits when creating new directories. fixes #2190
git-svn-id: https://develop.svn.wordpress.org/trunk@3388 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-02 02:50:59 +00:00
Ryan Boren
946cae67f4 Default expiration is too long. Change it to 15 minutes.
git-svn-id: https://develop.svn.wordpress.org/trunk@3386 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-31 22:34:58 +00:00
Ryan Boren
db2bd867db Trackback tweaks. Props http://blog.serv.idv.tw/2005/12/29/380/. fixes #2170
git-svn-id: https://develop.svn.wordpress.org/trunk@3384 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-31 21:24:56 +00:00
Ryan Boren
dbde443d4a More wp_upload_bits() fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@3378 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-29 02:07:10 +00:00
Ryan Boren
164371f70f Fix extension handling.
git-svn-id: https://develop.svn.wordpress.org/trunk@3377 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-29 01:46:32 +00:00
Ryan Boren
a3cb29233b Typo in wp_upload_bits()
git-svn-id: https://develop.svn.wordpress.org/trunk@3376 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-29 01:40:42 +00:00
Ryan Boren
5be951ca28 Cache rewrite rules. Add WP_Rewrite::flush_rules(). fixes #2155
git-svn-id: https://develop.svn.wordpress.org/trunk@3373 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-28 07:05:05 +00:00
Ryan Boren
eddf881bb5 Create explicit page attachment rewrite rules rather than matching the attachment name against a regexp.
git-svn-id: https://develop.svn.wordpress.org/trunk@3371 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-28 04:27:21 +00:00
Ryan Boren
9e591c4154 i18n trackback fix. Props thinkini. fixes #2163
git-svn-id: https://develop.svn.wordpress.org/trunk@3368 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-28 00:55:55 +00:00
Ryan Boren
01d852fe7f Silence mkdir().
git-svn-id: https://develop.svn.wordpress.org/trunk@3358 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-25 21:16:27 +00:00
Ryan Boren
bae7d044d2 Update post_modified when the post is changed. fixes #1837
git-svn-id: https://develop.svn.wordpress.org/trunk@3357 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-24 20:04:59 +00:00
Ryan Boren
250ecaaf4f Fix page permalink 404 when pages are reordered. Props David House. fixes #2071
git-svn-id: https://develop.svn.wordpress.org/trunk@3356 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-24 16:26:55 +00:00
Ryan Boren
ddbd1e3ac3 MAke sure post_parent is valid.
git-svn-id: https://develop.svn.wordpress.org/trunk@3354 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-24 05:34:50 +00:00
Ryan Boren
1d06871ca5 Make wp_insert_attachment() MySQL 5 strict mode compliant. fixes #2115
git-svn-id: https://develop.svn.wordpress.org/trunk@3353 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-24 05:32:49 +00:00
Ryan Boren
b239244636 New asyncronous ping method. fixes #2048
git-svn-id: https://develop.svn.wordpress.org/trunk@3317 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-16 03:04:33 +00:00
Ryan Boren
7321cfa5a1 When changing a post's categories, redo category counts for both old and new cats. Props ringmaster. fixes #2085
git-svn-id: https://develop.svn.wordpress.org/trunk@3311 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 20:31:29 +00:00
Ryan Boren
f160329f66 Attachment enhancements from skeltoac. fixes #2074
git-svn-id: https://develop.svn.wordpress.org/trunk@3303 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 19:19:56 +00:00
Ryan Boren
b74a303ec5 Resurrect save_post action for back compat. fixes #2063
git-svn-id: https://develop.svn.wordpress.org/trunk@3291 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-12 00:30:14 +00:00
Ryan Boren
2ec76f2801 Make sure fields without defaults are specified when inserting. fixes #1953
git-svn-id: https://develop.svn.wordpress.org/trunk@3285 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-10 23:22:47 +00:00
Ryan Boren
1a2ed535e9 Make page slugs unique. Props skeltoac. fixes #2034
git-svn-id: https://develop.svn.wordpress.org/trunk@3277 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-07 19:02:05 +00:00
Ryan Boren
163b423722 Relocate wp_upload_dir(). fixes #2019
git-svn-id: https://develop.svn.wordpress.org/trunk@3267 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 03:17:03 +00:00
Ryan Boren
96a472460d Add wp_upload_bits(). Attempt to fix mw_newMediaObject().
git-svn-id: https://develop.svn.wordpress.org/trunk@3255 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-01 22:51:40 +00:00
Ryan Boren
81fed95acf Add get_attached_file().
git-svn-id: https://develop.svn.wordpress.org/trunk@3203 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 10:00:07 +00:00
Ryan Boren
2bab8b487e 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: https://develop.svn.wordpress.org/trunk@3200 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 01:35:08 +00:00
Ryan Boren
43002e6cc1 Update meta before updating the post so that page_template is not stomped. fixes #1933
git-svn-id: https://develop.svn.wordpress.org/trunk@3190 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 00:36:36 +00:00
Ryan Boren
d9d9fedb7a get_post_mime_type() from skeltoac.
git-svn-id: https://develop.svn.wordpress.org/trunk@3169 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 20:08:21 +00:00
Ryan Boren
77fe382c33 Move category post count updater into wp_set_post_cats().
git-svn-id: https://develop.svn.wordpress.org/trunk@3094 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-15 23:47:16 +00:00
Ryan Boren
1a012b8b49 Renaming. object and subpost are now attachment. post_type is post_mime_type.
git-svn-id: https://develop.svn.wordpress.org/trunk@3092 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-15 22:55:24 +00:00
Ryan Boren
06d61e1f7a Update category counts. Props donncha. fixes #1886
git-svn-id: https://develop.svn.wordpress.org/trunk@3091 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-15 16:31:24 +00:00
Ryan Boren
1a7354a608 Fix [3074] commit so that draft->publish transitions up date the timestamp.
git-svn-id: https://develop.svn.wordpress.org/trunk@3090 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-15 00:00:26 +00:00
Matt Mullenweg
a313d7adfb Fixes #1837 timestamp funkiness
git-svn-id: https://develop.svn.wordpress.org/trunk@3074 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 09:56:41 +00:00
Ryan Boren
c72a1f461e Object caching, round one.
git-svn-id: https://develop.svn.wordpress.org/trunk@3011 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 21:56:03 +00:00
Ryan Boren
0c2daa617d Protection against multiple trackbacks in one bunch from markjaquith. fixes #1817
git-svn-id: https://develop.svn.wordpress.org/trunk@2996 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 04:02:12 +00:00