Commit Graph

7005 Commits

Author SHA1 Message Date
ryan 38d7abdfea Move cache cleaning of children to clean_post_cache(). see #6702
git-svn-id: http://svn.automattic.com/wordpress/trunk@7743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 20:23:50 +00:00
ryan 14ed05e98b Remove debug cruft
git-svn-id: http://svn.automattic.com/wordpress/trunk@7742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 20:06:46 +00:00
ryan 80fbb3b27d Consult the cached user object in get_usermeta to avoid queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 19:00:07 +00:00
ryan 2ca92d8905 Don't run url_to_postid on admin pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 18:22:33 +00:00
ryan 65e4ddc684 Don't query post cats if no post. see #2621
git-svn-id: http://svn.automattic.com/wordpress/trunk@7739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 18:12:04 +00:00
ryan 3495bf80e0 Only use the args defined in defaults to compute the cache key in get_terms. Props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 17:42:13 +00:00
ryan 1fdbde921b wp_category_checklist() and wp_link_category_checklist() to replace the nested cats code. see #2621
git-svn-id: http://svn.automattic.com/wordpress/trunk@7737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 17:41:10 +00:00
ryan 926754275c If widget ID not found, scan the entire registered widgets array looking for legacy IDs. Props Denis-de-Bernardy. fixes #6605 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 02:19:45 +00:00
ryan 019e456c4c Checking for 0 and 1 instead of != spam is faster.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 22:33:35 +00:00
ryan f42f78b3b1 Typo fix. see #6578
git-svn-id: http://svn.automattic.com/wordpress/trunk@7730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 22:00:39 +00:00
ryan 84bd7d6a00 We don't need get_categories() to do a hierarchical sort anymore. The walker takes care of it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 21:21:13 +00:00
ryan 3389df53f2 don't cache during title extraction. Props mdawaffe. fixes #6694 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 20:42:47 +00:00
ryan 3821189be8 Tweak unused widgets interface. Make widget titles less repetitive. fixes #6349 #5823 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 20:36:59 +00:00
ryan baba01caff Make link widget IDs unique. Props docwhat. fixes #4287 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 20:32:13 +00:00
ryan 66ad98c078 Verify widget option sanity. Props Viper007Bond. fixes #6578 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 20:14:07 +00:00
ryan d5f5f07270 Revert [7689], gonna try another approach. see #6677
git-svn-id: http://svn.automattic.com/wordpress/trunk@7720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 19:32:38 +00:00
ryan 35f17e4dea Key meta box array by id. Props Denis-de-Bernardy. fixes #6192 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 19:20:15 +00:00
ryan 26fd2097a0 Protect the <pre> and <script> tags when switching editors. Props azaozz. fixes #6610 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 19:11:21 +00:00
ryan e399f6ad54 Cache comment count and use count API in menu.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@7714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 23:45:39 +00:00
ryan 957a61318b array_shift() error fixes from DD32. fixes #6499 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 23:09:51 +00:00
ryan 7387154152 Bump script loader ver. see #6753
git-svn-id: http://svn.automattic.com/wordpress/trunk@7710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 22:58:15 +00:00
ryan d18e3f9d4a Preserve author during autosave. fixes #6753 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 22:56:37 +00:00
ryan a5f480ebec Legacy uploader fix from tellyworth. fixes #6629 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 22:03:44 +00:00
ryan 5748fbb486 Make profile fields wider. Props tellyworth. fixes #6581 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 22:01:32 +00:00
ryan 3b95476f1c image_make_intermediate_size filter from tellyworth. fixes #6580 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 21:59:23 +00:00
ryan 4e74faa972 Default cap arg should be an empty array. Props tellyworth. fixes #5520
git-svn-id: http://svn.automattic.com/wordpress/trunk@7701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 21:56:03 +00:00
markjaquith 9df4077f95 Allow shortcodes to run before or after wpautop()/texturize() formatting. Default to before for WP 2.5 compat. Props AaronCampbell
git-svn-id: http://svn.automattic.com/wordpress/trunk@7699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 21:07:04 +00:00
ryan 7f5548e55b Custom header and color picker fixes from mdawaffe. fixes #6577 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 20:58:03 +00:00
ryan 62d5105c5b Fix usermeta escaping. fixes #6750
git-svn-id: http://svn.automattic.com/wordpress/trunk@7696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 18:23:48 +00:00
ryan a60abc0904 Add post ancestors to the cache for the post object. see #6702 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 17:23:17 +00:00
ryan d814986be2 Strip slashes before preparing link for insert. see #6644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 05:55:27 +00:00
ryan 82fd123c91 Relocate wp_authenticate action to fix back compat and make it more useful. fixes #6675 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 04:49:19 +00:00
ryan ce1fed1a02 Strip slashes before preparing comment insert to avoid double-slashing. Props filosofo. fixes #6738
git-svn-id: http://svn.automattic.com/wordpress/trunk@7690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-15 18:05:08 +00:00
ryan 47a695049e Demand load the category list. Props mdawaffe. see #6677
git-svn-id: http://svn.automattic.com/wordpress/trunk@7689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-15 18:00:52 +00:00
ryan f8cea0117c Add or remove class=aligncenter when aligning images in TinyMCE. Props azaozz. fixes #6645 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-15 16:03:24 +00:00
ryan c92c2be2af Fix menu_order ordering. Props torfason. fixes #6731 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-15 01:39:33 +00:00
ryan cab4206406 Workaround response truncation by reducing size of response after uploading with flash uploader. Props tellyworth. fixes #6713
git-svn-id: http://svn.automattic.com/wordpress/trunk@7682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 23:09:14 +00:00
ryan 6ec2c0877b tiny_mce_gzip.php no longer needed
git-svn-id: http://svn.automattic.com/wordpress/trunk@7681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 22:30:16 +00:00
ryan 713a705b52 TinyMCE 3.0.7 from azaozz. fixes #6726 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 22:19:04 +00:00
ryan b97e7fa82b Fix IE6 overlap and remove unnecessary markup. Props tellyworth. fixes #6661 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 20:48:11 +00:00
ryan 47c6ee0e09 Suppress exif_read_data() errors. Props tellyworth. fixes #6571 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 20:19:15 +00:00
ryan 02e0c889f7 Pass size to image_send_to_editor filter. fies #6691 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 19:47:07 +00:00
ryan 8eff77e82d More efficient category and list JS from mdawaffe. fixes #6677 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 19:31:20 +00:00
ryan 7d2a7755a3 Fix category exclusion when getting adjacent posts. Props filosofo. fixes #6551 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 17:56:58 +00:00
ryan 1a41abe289 Handle pathinfo structures when determining if verbose page rules should be used. Props dlo. fixes #6650 #6570 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 17:18:53 +00:00
ryan 6e662d708b Move define of AUTOSAVE_INTERVAL to wp-settings so that it is available earlier. Props simonwheatley. fixes #6668 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 17:07:34 +00:00
ryan b7c7f9d1c2 CSS typo fixes from spirit55555. fixes #6653 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 17:05:24 +00:00
ryan 4c9d2e9dfa Check create_users cap instead of edit_users wgen adding/inserting users. Props imwebgefunden. fixes #6662 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:57:29 +00:00
ryan b9b5291c18 Typo fixes. see #6644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:49:17 +00:00
ryan 56f15cb1bf Add missing comma. see #6644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:45:12 +00:00