Commit Graph

296 Commits

Author SHA1 Message Date
Ryan Boren bb14ecda53 wp_get_attachment_thumb_url() fix from mdawaffe. fixes #3520
git-svn-id: https://develop.svn.wordpress.org/trunk@4675 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-04 18:16:33 +00:00
Ryan Boren 29d5c032ce Now with less bugs. fixes #3411
git-svn-id: https://develop.svn.wordpress.org/trunk@4671 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-02 19:51:36 +00:00
Ryan Boren 368695f87d Attachment fixes from mdawaffe. fixes #3411
git-svn-id: https://develop.svn.wordpress.org/trunk@4670 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-02 19:28:30 +00:00
Mark Jaquith dc22bfe6f6 Move wp_check_for_changed_slugs() to post.php so it can be called in non-admin contexts. fixes #3461
git-svn-id: https://develop.svn.wordpress.org/trunk@4637 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-10 17:17:39 +00:00
Ryan Boren ba54bd7839 Some caching cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@4631 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-08 07:35:45 +00:00
Mark Jaquith 7c07cdc944 get_page() logic re-ordering and inline comments
git-svn-id: https://develop.svn.wordpress.org/trunk@4625 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-07 03:10:47 +00:00
Ryan Boren 9271589a5a Fix up get_page cache handling.
git-svn-id: https://develop.svn.wordpress.org/trunk@4624 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-07 01:06:28 +00:00
Ryan Boren 32c1d247ac Attachment data abstraction from mdawaffe. fixes #3440
git-svn-id: https://develop.svn.wordpress.org/trunk@4612 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-05 22:37:19 +00:00
Ryan Boren 653cfd2f5e Use get_the_category() within wp_get_post_categories() so that the cache is used. Props markjaquith. fixes #3430
git-svn-id: https://develop.svn.wordpress.org/trunk@4606 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-05 06:45:48 +00:00
Mark Jaquith f2659c992f change post_parent on orphaned attachments. props ryanscheuermann. fixes #2681
git-svn-id: https://develop.svn.wordpress.org/trunk@4601 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-04 14:25:21 +00:00
Ryan Boren e9142f3f05 Make sure multiple attachments for the same post have unique permalinks. Props filosofo. fixes #3033
git-svn-id: https://develop.svn.wordpress.org/trunk@4561 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-30 23:09:27 +00:00
Ryan Boren 5a2e0d5e60 Filter post_content_filtered
git-svn-id: https://develop.svn.wordpress.org/trunk@4533 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-25 17:54:41 +00:00
Mark Jaquith aa86502ddf whitespace tidying by Viper007Bond. fixes #3385
git-svn-id: https://develop.svn.wordpress.org/trunk@4529 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-24 22:55:28 +00:00
Ryan Boren 15600c640e Caching fixes and cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@4528 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-24 20:44:03 +00:00
Ryan Boren f74d084276 Key caches by blog ID for those doing the multi blog trick.
git-svn-id: https://develop.svn.wordpress.org/trunk@4524 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-23 20:39:39 +00:00
Matt Mullenweg 5b2ba1257f Caching for get_pages
git-svn-id: https://develop.svn.wordpress.org/trunk@4521 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-23 17:21:08 +00:00
Matt Mullenweg fe87cdac0b Typo in logic was causing extra page queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@4518 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-23 16:06:16 +00:00
Ryan Boren 6e8a8a7b95 get_children() uses get_posts(). Props mdawaffe. fixes #3189
git-svn-id: https://develop.svn.wordpress.org/trunk@4503 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-20 04:23:12 +00:00
Ryan Boren e44ea1ff93 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 07:56:05 +00:00
Ryan Boren 1d570ec675 get_page_by_title()
git-svn-id: https://develop.svn.wordpress.org/trunk@4425 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-26 19:55:10 +00:00
Mark Jaquith f3f5188f24 Fix post meta caching system to reduce queries and eliminate redundant WP code. fixes #3273
git-svn-id: https://develop.svn.wordpress.org/trunk@4419 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-24 10:52:59 +00:00
Mark Jaquith 10b506305a Revert [3952] because it causes double slashing
git-svn-id: https://develop.svn.wordpress.org/trunk@4409 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-19 00:39:01 +00:00
Mark Jaquith f0a421f185 cleanup [4382] a bit
git-svn-id: https://develop.svn.wordpress.org/trunk@4383 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-13 00:23:25 +00:00
Mark Jaquith 41ace9de74 Prevent users from entering strings that will be interpreted as serialized arrays/objects on the way out. fixes #2591
git-svn-id: https://develop.svn.wordpress.org/trunk@4382 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-12 23:54:36 +00:00
Mark Jaquith 836286e8ec Post meta caching fix by mdawaffe. fixes #3229
git-svn-id: https://develop.svn.wordpress.org/trunk@4372 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-11 09:18:54 +00:00
Ryan Boren f03d22ae89 Change cron arg passing. Props masquerade. fixes #3169.
git-svn-id: https://develop.svn.wordpress.org/trunk@4362 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-08 17:50:21 +00:00
Ryan Boren 3472772716 Don't allow pages to have the same names as feeds to avoid rewrite collision. Props skeltoac. fixes #1231
git-svn-id: https://develop.svn.wordpress.org/trunk@4199 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-21 00:01:20 +00:00
Ryan Boren 3c348108f8 Warning and notice fixes from Alex King. fixes #3148
git-svn-id: https://develop.svn.wordpress.org/trunk@4198 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-19 23:56:28 +00:00
Ryan Boren 19e6c82bb8 Typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@4191 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-14 00:25:59 +00:00
Ryan Boren 339ada9537 cron and future post publishing fixes. fixes #3058
git-svn-id: https://develop.svn.wordpress.org/trunk@4189 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-13 23:54:15 +00:00
Ryan Boren aa0adc291e Get pages by author[s]. Props westi. fixes #1486
git-svn-id: https://develop.svn.wordpress.org/trunk@4180 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-10 17:47:49 +00:00
Ryan Boren d41bf225fb Check excerpt when determing if a post is empty. #3097
git-svn-id: https://develop.svn.wordpress.org/trunk@4159 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-02 20:19:07 +00:00
Ryan Boren 5d226699f8 Add xmlrpc_publish_post action.
git-svn-id: https://develop.svn.wordpress.org/trunk@4147 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-31 05:21:27 +00:00
Ryan Boren 7e82eef627 Use get_option instead of get_settings. Just 'cause.
git-svn-id: https://develop.svn.wordpress.org/trunk@4144 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 21:46:31 +00:00
Ryan Boren cd766e57e9 s/URI/URL/. Props Nazgul. fixes #2666
git-svn-id: https://develop.svn.wordpress.org/trunk@4133 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 16:40:17 +00:00
Ryan Boren 60cb6a952b Handle posts with an empty cat list. fixes #3072
git-svn-id: https://develop.svn.wordpress.org/trunk@4119 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-27 19:26:03 +00:00
Ryan Boren de56075801 Don't save if both title and content are empty. fixes #2390
git-svn-id: https://develop.svn.wordpress.org/trunk@4117 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-25 00:27:15 +00:00
Ryan Boren 7c6d67134e Always clears future publication hook in case the post status bounced from future to draft.
git-svn-id: https://develop.svn.wordpress.org/trunk@4078 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-07 04:43:38 +00:00
Ryan Boren ac77e5291f 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: https://develop.svn.wordpress.org/trunk@4077 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-07 03:50:55 +00:00
Ryan Boren 624746bcf1 More more for xmlrpc. fixes #2991
git-svn-id: https://develop.svn.wordpress.org/trunk@4074 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-05 04:11:51 +00:00
Ryan Boren 47c276a6c6 Oops.
git-svn-id: https://develop.svn.wordpress.org/trunk@4027 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-22 04:57:16 +00:00
Ryan Boren 9cd3120632 Rework wp_publish_post(). Should avoid running filters when changing from future to publish.
git-svn-id: https://develop.svn.wordpress.org/trunk@4026 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-22 04:17:41 +00:00
Matt Mullenweg 49f9e7e815 Allow Windows folks to delete attachements, fixes #2496
git-svn-id: https://develop.svn.wordpress.org/trunk@3952 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-04 18:33:08 +00:00
Ryan Boren 5e32c14d39 Move ping and trackback functions to comment.php (maybe to ping.php later?) #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3900 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-22 19:44:36 +00:00
Ryan Boren 1041498585 Move user functions to user.php. Relocate more post functions to post.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3854 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-08 02:22:16 +00:00
Ryan Boren d3f6c3ca0d Reworg post/page/attachment functions. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3851 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-07 23:17:59 +00:00