rob1n
|
eaac63e0d0
|
Add exit hook to wp_delete_post(). Props kevinB. fixes #4055
git-svn-id: http://svn.automattic.com/wordpress/trunk@5158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-31 21:41:08 +00:00 |
|
matt
|
3eb1182967
|
If we don't have IDs at this point, bail out. There are no tag defaults. Should fix #4035 though I can't recreate their particular error.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-26 18:05:28 +00:00 |
|
matt
|
613dbfcffa
|
A backend interface for tagging.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-26 07:28:29 +00:00 |
|
ryan
|
e9e3e0787d
|
Castaways on Gilligan's Isle
git-svn-id: http://svn.automattic.com/wordpress/trunk@5090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-23 02:16:16 +00:00 |
|
matt
|
7602d17899
|
(int)er the dragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-23 00:59:21 +00:00 |
|
ryan
|
46fa88baf1
|
Cast to int
git-svn-id: http://svn.automattic.com/wordpress/trunk@5086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-22 23:03:07 +00:00 |
|
ryan
|
5b22739cac
|
More int casts
git-svn-id: http://svn.automattic.com/wordpress/trunk@5082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-22 20:52:29 +00:00 |
|
ryan
|
4bfbba990b
|
Quote values heading to DB. Cast some ints.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-12 16:09:44 +00:00 |
|
ryan
|
239b5ba356
|
Prophylactic casting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-10 20:34:01 +00:00 |
|
markjaquith
|
3320dd1380
|
Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: http://svn.automattic.com/wordpress/trunk@4990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-07 05:29:15 +00:00 |
|
ryan
|
8d7839b14c
|
Standardize on 'url' for fetching the blog's url. Props rob1n. fixes #3623
git-svn-id: http://svn.automattic.com/wordpress/trunk@4983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-07 03:05:41 +00:00 |
|
markjaquith
|
d0f79bb3f2
|
trailing tabs and whitespace cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-02-27 15:24:54 +00:00 |
|
matt
|
92cf3691ad
|
Add similar hook as XML-RPC for Atom
git-svn-id: http://svn.automattic.com/wordpress/trunk@4873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-02-11 04:32:31 +00:00 |
|
markjaquith
|
690c3604cf
|
get_post() should check post cache before page cache. fixes #3724
git-svn-id: http://svn.automattic.com/wordpress/trunk@4847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-01-31 03:43:02 +00:00 |
|
ryan
|
1ec4dd0209
|
Revert accidental commit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-01-30 01:46:05 +00:00 |
|
ryan
|
f8c689b4f0
|
Remove notoptions caching. Multile rewrite_rules options were being created. See #3692 #2268
git-svn-id: http://svn.automattic.com/wordpress/trunk@4831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-01-30 01:43:39 +00:00 |
|
markjaquith
|
c08e55fc61
|
Make <!--more--> regex non-greedy. Props Curloso and Viper007Bond. fixes #3698
git-svn-id: http://svn.automattic.com/wordpress/trunk@4821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-01-27 23:31:42 +00:00 |
|
ryan
|
425d2f70b1
|
Delete page_uris option before updating it to avoid possibly expensive array comparison. #3614
git-svn-id: http://svn.automattic.com/wordpress/trunk@4773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-01-19 20:36:35 +00:00 |
|
ryan
|
9b0816118a
|
Use cache sets instead of adds. Props andy. fixes #3562
git-svn-id: http://svn.automattic.com/wordpress/trunk@4722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-01-11 22:34:18 +00:00 |
|
ryan
|
c5e22b5098
|
wp_get_attachment_thumb_url() fix from mdawaffe. fixes #3520
git-svn-id: http://svn.automattic.com/wordpress/trunk@4682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-01-05 20:54:55 +00:00 |
|
ryan
|
6befacf8f7
|
wp_get_attachment_thumb_url() fix from mdawaffe. fixes #3520
git-svn-id: http://svn.automattic.com/wordpress/trunk@4675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-01-04 18:16:33 +00:00 |
|
ryan
|
716e89b369
|
Now with less bugs. fixes #3411
git-svn-id: http://svn.automattic.com/wordpress/trunk@4671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-01-02 19:51:36 +00:00 |
|
ryan
|
cd99ca7b90
|
Attachment fixes from mdawaffe. fixes #3411
git-svn-id: http://svn.automattic.com/wordpress/trunk@4670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-01-02 19:28:30 +00:00 |
|
markjaquith
|
d0e0ceb748
|
Move wp_check_for_changed_slugs() to post.php so it can be called in non-admin contexts. fixes #3461
git-svn-id: http://svn.automattic.com/wordpress/trunk@4637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-12-10 17:17:39 +00:00 |
|
ryan
|
203f6c5ab4
|
Some caching cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-12-08 07:35:45 +00:00 |
|
markjaquith
|
010379dd52
|
get_page() logic re-ordering and inline comments
git-svn-id: http://svn.automattic.com/wordpress/trunk@4625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-12-07 03:10:47 +00:00 |
|
ryan
|
1b9c2ead05
|
Fix up get_page cache handling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-12-07 01:06:28 +00:00 |
|
ryan
|
995d839bfb
|
Attachment data abstraction from mdawaffe. fixes #3440
git-svn-id: http://svn.automattic.com/wordpress/trunk@4612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-12-05 22:37:19 +00:00 |
|
ryan
|
175dd7bca7
|
Use get_the_category() within wp_get_post_categories() so that the cache is used. Props markjaquith. fixes #3430
git-svn-id: http://svn.automattic.com/wordpress/trunk@4606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-12-05 06:45:48 +00:00 |
|
markjaquith
|
84ec7763be
|
change post_parent on orphaned attachments. props ryanscheuermann. fixes #2681
git-svn-id: http://svn.automattic.com/wordpress/trunk@4601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-12-04 14:25:21 +00:00 |
|
ryan
|
ca4b493965
|
Make sure multiple attachments for the same post have unique permalinks. Props filosofo. fixes #3033
git-svn-id: http://svn.automattic.com/wordpress/trunk@4561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-30 23:09:27 +00:00 |
|
ryan
|
30af9648b5
|
Filter post_content_filtered
git-svn-id: http://svn.automattic.com/wordpress/trunk@4533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-25 17:54:41 +00:00 |
|
markjaquith
|
64429cec1e
|
whitespace tidying by Viper007Bond. fixes #3385
git-svn-id: http://svn.automattic.com/wordpress/trunk@4529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-24 22:55:28 +00:00 |
|
ryan
|
43fca5536b
|
Caching fixes and cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-24 20:44:03 +00:00 |
|
ryan
|
814a2b0c1c
|
Key caches by blog ID for those doing the multi blog trick.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-23 20:39:39 +00:00 |
|
matt
|
226a7a48eb
|
Caching for get_pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@4521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-23 17:21:08 +00:00 |
|
matt
|
64b8121680
|
Typo in logic was causing extra page queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-23 16:06:16 +00:00 |
|
ryan
|
bb0d086933
|
get_children() uses get_posts(). Props mdawaffe. fixes #3189
git-svn-id: http://svn.automattic.com/wordpress/trunk@4503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-20 04:23:12 +00:00 |
|
ryan
|
9f534ebae6
|
Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: http://svn.automattic.com/wordpress/trunk@4495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-19 07:56:05 +00:00 |
|
ryan
|
209ca583ff
|
get_page_by_title()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-10-26 19:55:10 +00:00 |
|
markjaquith
|
3795560bc6
|
Fix post meta caching system to reduce queries and eliminate redundant WP code. fixes #3273
git-svn-id: http://svn.automattic.com/wordpress/trunk@4419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-10-24 10:52:59 +00:00 |
|
markjaquith
|
e7b9e6ac2d
|
Revert [3952] because it causes double slashing
git-svn-id: http://svn.automattic.com/wordpress/trunk@4409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-10-19 00:39:01 +00:00 |
|
markjaquith
|
21d1fc231c
|
cleanup [4382] a bit
git-svn-id: http://svn.automattic.com/wordpress/trunk@4383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-10-13 00:23:25 +00:00 |
|
markjaquith
|
854cf56a7d
|
Prevent users from entering strings that will be interpreted as serialized arrays/objects on the way out. fixes #2591
git-svn-id: http://svn.automattic.com/wordpress/trunk@4382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-10-12 23:54:36 +00:00 |
|
markjaquith
|
6e8d3ba537
|
Post meta caching fix by mdawaffe. fixes #3229
git-svn-id: http://svn.automattic.com/wordpress/trunk@4372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-10-11 09:18:54 +00:00 |
|
ryan
|
287467334e
|
Change cron arg passing. Props masquerade. fixes #3169.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-10-08 17:50:21 +00:00 |
|
ryan
|
4be3f7547b
|
Don't allow pages to have the same names as feeds to avoid rewrite collision. Props skeltoac. fixes #1231
git-svn-id: http://svn.automattic.com/wordpress/trunk@4199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-09-21 00:01:20 +00:00 |
|
ryan
|
a40292bfb4
|
Warning and notice fixes from Alex King. fixes #3148
git-svn-id: http://svn.automattic.com/wordpress/trunk@4198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-09-19 23:56:28 +00:00 |
|
ryan
|
730ee49509
|
Typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-09-14 00:25:59 +00:00 |
|
ryan
|
68aa6231a2
|
cron and future post publishing fixes. fixes #3058
git-svn-id: http://svn.automattic.com/wordpress/trunk@4189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-09-13 23:54:15 +00:00 |
|
ryan
|
e02c90116e
|
Get pages by author[s]. Props westi. fixes #1486
git-svn-id: http://svn.automattic.com/wordpress/trunk@4180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-09-10 17:47:49 +00:00 |
|
ryan
|
f8c681b9ef
|
Check excerpt when determing if a post is empty. #3097
git-svn-id: http://svn.automattic.com/wordpress/trunk@4159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-09-02 20:19:07 +00:00 |
|
ryan
|
a66eed3695
|
Add xmlrpc_publish_post action.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-08-31 05:21:27 +00:00 |
|
ryan
|
849a0d29d7
|
Use get_option instead of get_settings. Just 'cause.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-08-30 21:46:31 +00:00 |
|
ryan
|
efcb63ad21
|
s/URI/URL/. Props Nazgul. fixes #2666
git-svn-id: http://svn.automattic.com/wordpress/trunk@4133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-08-30 16:40:17 +00:00 |
|
ryan
|
8460a0750d
|
Handle posts with an empty cat list. fixes #3072
git-svn-id: http://svn.automattic.com/wordpress/trunk@4119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-08-27 19:26:03 +00:00 |
|
ryan
|
ae61439266
|
Don't save if both title and content are empty. fixes #2390
git-svn-id: http://svn.automattic.com/wordpress/trunk@4117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-08-25 00:27:15 +00:00 |
|
ryan
|
403a5db6c5
|
Always clears future publication hook in case the post status bounced from future to draft.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-08-07 04:43:38 +00:00 |
|
ryan
|
7bf42ee218
|
Rework wp_publish_post() to use wp_update_post() again while turning off filters. Clear the cron schedule for a post when the post timestamp is updated. #2715 #2737
git-svn-id: http://svn.automattic.com/wordpress/trunk@4077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-08-07 03:50:55 +00:00 |
|
ryan
|
dadd248a93
|
More more for xmlrpc. fixes #2991
git-svn-id: http://svn.automattic.com/wordpress/trunk@4074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-08-05 04:11:51 +00:00 |
|
ryan
|
ff745a3d00
|
Oops.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-07-22 04:57:16 +00:00 |
|
ryan
|
15b1452d54
|
Rework wp_publish_post(). Should avoid running filters when changing from future to publish.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-07-22 04:17:41 +00:00 |
|
matt
|
5da002f012
|
Allow Windows folks to delete attachements, fixes #2496
git-svn-id: http://svn.automattic.com/wordpress/trunk@3952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-07-04 18:33:08 +00:00 |
|
ryan
|
e673d82afb
|
Move ping and trackback functions to comment.php (maybe to ping.php later?) #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-22 19:44:36 +00:00 |
|
ryan
|
c56e62f5c1
|
Move user functions to user.php. Relocate more post functions to post.php. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-08 02:22:16 +00:00 |
|
ryan
|
3c8ed766e1
|
Reworg post/page/attachment functions. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-07 23:17:59 +00:00 |
|