Commit Graph

141 Commits

Author SHA1 Message Date
Ryan Boren 791a7d7191 Unused var cleanup. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6551 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-04 19:36:34 +00:00
Ryan Boren 72a79d489d Port autosave to jquery. Props rmccue. see #3824
git-svn-id: https://develop.svn.wordpress.org/trunk@6546 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-04 08:46:33 +00:00
Ryan Boren 5a9f249b34 set_post_type from filosofo. fixes #4844
git-svn-id: https://develop.svn.wordpress.org/trunk@6537 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-02 20:06:00 +00:00
Ryan Boren c0e11298c2 \s is not a valid escape sequence. Props xknown. fixes #5539
git-svn-id: https://develop.svn.wordpress.org/trunk@6501 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-27 08:09:31 +00:00
Ryan Boren d061a16188 Don't do hierarchical if includes specified. Props Kafkaesqui. fixes #5373 for 2.4
git-svn-id: https://develop.svn.wordpress.org/trunk@6491 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-24 21:24:03 +00:00
Ryan Boren 6da1524825 Fetch only post category terms in get_posts(). Props MichaelH. fixes #5317
git-svn-id: https://develop.svn.wordpress.org/trunk@6490 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-24 21:21:16 +00:00
Ryan Boren 94618e5837 Update term counts when future posts are published. fixes #4913 #5488
git-svn-id: https://develop.svn.wordpress.org/trunk@6425 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-20 00:48:49 +00:00
Peter Westwood 5c75f4cc75 Don't create empty tags. Fixes #5412 props ionfish
git-svn-id: https://develop.svn.wordpress.org/trunk@6407 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-19 17:34:15 +00:00
Ryan Boren 390e3d1c20 clean page cache when reparenting pages after deletion. Props hailin. fixes #5457
git-svn-id: https://develop.svn.wordpress.org/trunk@6382 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-14 20:56:55 +00:00
Ryan Boren fc087d1fb6 post phpdoc from m0n5t3r and darkdragon. see #3982
git-svn-id: https://develop.svn.wordpress.org/trunk@6379 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-14 00:28:34 +00:00
Ryan Boren e10c490a4f Query page attachments from page requests so that they can both use the same set of rewrite rules. see #3614
git-svn-id: https://develop.svn.wordpress.org/trunk@6377 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-12 11:45:55 +00:00
Ryan Boren 3a8b2fcca3 Remove unused vars. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6364 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 19:49:33 +00:00
Ryan Boren 364a7f55c4 Don't save page and attachemtn uris to page_uris and page_attachment_uris. This is not needed. Add an option to use wildcard page rewrite rules instead of per-page rules. see #3614
git-svn-id: https://develop.svn.wordpress.org/trunk@6351 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-04 00:19:10 +00:00
Ryan Boren 71c8eab2dd Update page on front settings when deleting the page on front. Props hailin. fixes #5361
git-svn-id: https://develop.svn.wordpress.org/trunk@6337 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-16 17:39:15 +00:00
Ryan Boren 3330c693e4 Skip sanitization altogether for raw context. Props Quandary. fixes #5325
git-svn-id: https://develop.svn.wordpress.org/trunk@6321 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-07 06:20:08 +00:00
Ryan Boren ae66f7f3c8 Fix comment typo
git-svn-id: https://develop.svn.wordpress.org/trunk@6306 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-02 00:58:15 +00:00
Ryan Boren 5308684211 Make sure ID is set for later update() calls.
git-svn-id: https://develop.svn.wordpress.org/trunk@6305 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-02 00:47:04 +00:00
Ryan Boren 60883171f5 Typo fix from DD32. Fixes uploads. fixes #5302
git-svn-id: https://develop.svn.wordpress.org/trunk@6304 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-01 16:20:16 +00:00
Ryan Boren dbad2a3943 Post timezone to lastpost filters. Props mdawaffe. fixes #5292
git-svn-id: https://develop.svn.wordpress.org/trunk@6301 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-31 16:59:05 +00:00
Ryan Boren dd19fe2a27 wp_get_archives caching. fixes #5275
git-svn-id: https://develop.svn.wordpress.org/trunk@6296 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-30 06:03:11 +00:00
Ryan Boren 9c62c77bd7 Move all page and post caches to 'posts' cache group.
git-svn-id: https://develop.svn.wordpress.org/trunk@6252 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-15 20:11:30 +00:00
Ryan Boren c061823bb4 Add some clean cache hooks
git-svn-id: https://develop.svn.wordpress.org/trunk@6248 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-14 04:55:33 +00:00
Ryan Boren dd54d8ffe6 Allow single post ID and comma delimited list of post IDs to be passed to update_postmeta_cache(). Fix default cache to allow storage of empty array. see #5194
git-svn-id: https://develop.svn.wordpress.org/trunk@6247 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-14 01:08:07 +00:00
Mark Jaquith 23666ca104 Some foreach array casting
git-svn-id: https://develop.svn.wordpress.org/trunk@6242 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 05:33:39 +00:00
Mark Jaquith 13758c870e Forget about 4th update() param -- only accept named array. Roll out more insert()/update() and various cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@6240 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 02:36:38 +00:00
Mark Jaquith 48c555d637 Remove redundant "db_" from db_insert() and db_update() methods. Now just insert() and update(). see #5178
git-svn-id: https://develop.svn.wordpress.org/trunk@6238 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 00:54:26 +00:00
Mark Jaquith ac2a4ed5dc More use of db_insert()/db_update(). see #5178
git-svn-id: https://develop.svn.wordpress.org/trunk@6237 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 00:48:52 +00:00
Ryan Boren 770c20562c Eliminate , , and . see #5182
git-svn-id: https://develop.svn.wordpress.org/trunk@6229 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-12 21:12:34 +00:00
Mark Jaquith 67cb7b99ef Introducing db_insert() and db_update(), with immediate usage in wp_insert_post(). fixes #5178
git-svn-id: https://develop.svn.wordpress.org/trunk@6221 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-10 22:01:40 +00:00
Mark Jaquith b467f930fd Revert partial prepare() implementation. Needs to be all or nothing. Props xknown. fixes #5145
git-svn-id: https://develop.svn.wordpress.org/trunk@6216 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-09 23:16:35 +00:00
Ryan Boren 15bfa9d2fb Apply filteres when returning empty array from get_pages. Props epper. fixes #4712 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6204 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-08 22:25:33 +00:00
Ryan Boren 9c63ee1146 Add page sanitization. Props xknown. fixes #5135 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6185 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-03 16:27:07 +00:00
Mark Jaquith 11e69b6820 prepare() for wp-includes/ link-template.php, post.php, general-template.php, pluggable.php, functions.php. see #4553
git-svn-id: https://develop.svn.wordpress.org/trunk@6180 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-02 18:45:47 +00:00
Ryan Boren 4e45315a83 Don't reset parent when updating attachment. Props filosofo and michelwp. fixes #5010
git-svn-id: https://develop.svn.wordpress.org/trunk@6155 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 16:30:40 +00:00
Ryan Boren aed5679ace Don't lose tags when saving a post with attachments. Props filosofo. fixes #4532
git-svn-id: https://develop.svn.wordpress.org/trunk@6121 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-16 02:36:23 +00:00
Matt Mullenweg 092bbfb049 Sometimes the $page global is set but it's just an integer, like 1, not an object which we should try to address and put in the cache. The page would work but we'd do spurious wp_cache_add
git-svn-id: https://develop.svn.wordpress.org/trunk@6120 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-15 21:52:37 +00:00
Ryan Boren 64bbc52982 Remove duplicate code from wp_insert_attachment(). Update to use sanitize_post. Props Otto42. fixes #4946
git-svn-id: https://develop.svn.wordpress.org/trunk@6086 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 22:27:36 +00:00
Ryan Boren 7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Ryan Boren 7109e26194 delete_post_meta_by_key() from Mark Jaquith. fixes #4178
git-svn-id: https://develop.svn.wordpress.org/trunk@5976 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 19:12:20 +00:00
Ryan Boren e77ed87b6c Add get_lastpostdate and 'get_lastpostdatemodified filters. Props rob1n. fixes #4801
git-svn-id: https://develop.svn.wordpress.org/trunk@5918 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 22:30:06 +00:00
Ryan Boren d8adefe0b2 bookmark sanitizer funcs and default filter cleanup. see #4546
git-svn-id: https://develop.svn.wordpress.org/trunk@5906 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-20 22:50:04 +00:00
Mark Jaquith c974ff5406 Avoid running get_posts filter twice. Props DD32. fixes #4712
git-svn-id: https://develop.svn.wordpress.org/trunk@5855 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-08 04:24:44 +00:00
Mark Jaquith d2cc17e629 Clear old future post cron entry before creating the authoritative one. Props Barry. fixes #4710
git-svn-id: https://develop.svn.wordpress.org/trunk@5853 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-08 04:08:06 +00:00
Ryan Boren 706c581757 Don't forget to filter post_category
git-svn-id: https://develop.svn.wordpress.org/trunk@5817 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-24 22:29:41 +00:00
Ryan Boren fbf238ca99 Eliminate post_pingback stuff since we always use default_pingback_flag. fixes pingback problems caused by [5797] for #4620
git-svn-id: https://develop.svn.wordpress.org/trunk@5806 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-16 23:11:51 +00:00
Ryan Boren c315fbacdb Fix variable name. Props bgracewood. fixes #4621
git-svn-id: https://develop.svn.wordpress.org/trunk@5797 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-12 16:00:51 +00:00
Ryan Boren 9fe6a868ca Post filter rework. see #4546
git-svn-id: https://develop.svn.wordpress.org/trunk@5796 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-11 19:57:43 +00:00
Ryan Boren fdb786ba7f Don't create '0' categories. fixes #4413
git-svn-id: https://develop.svn.wordpress.org/trunk@5739 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-20 22:06:29 +00:00
Ryan Boren 7df77b79b9 Add some taxonomy validation. Rearrange funcs.
git-svn-id: https://develop.svn.wordpress.org/trunk@5726 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-19 00:33:44 +00:00
Ryan Boren 09da00f7fe Use EXTR_SKIP when extracting. see #4468
git-svn-id: https://develop.svn.wordpress.org/trunk@5708 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 22:45:40 +00:00