Commit Graph

3278 Commits

Author SHA1 Message Date
Ryan Boren
5837ef3998 Normalize whitespace when parsing shortcodes. Props azaozz. fixes #6562 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7769 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 20:54:51 +00:00
Ryan Boren
9e8d5079c6 Convert Walker classes to pass as reference. Props mdawaffe. fixes #6796 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7761 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-21 19:30:54 +00:00
Matt Mullenweg
e0ebaaceed For some reason taxonomy pages also return is_home, so we need to put this check first.
git-svn-id: https://develop.svn.wordpress.org/trunk@7754 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-21 06:28:50 +00:00
Ryan Boren
06200c33f4 Don't include perm as part of cache key if perm is not used in the query.
git-svn-id: https://develop.svn.wordpress.org/trunk@7752 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-20 21:26:10 +00:00
Ryan Boren
c54046696b Fix pass by ref error. Props DD32. fixes #6776 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7749 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-20 06:45:13 +00:00
Ryan Boren
c72fd439c6 Post revisions from mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@7747 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 23:38:21 +00:00
Ryan Boren
bfcd9e8fc4 Fix meta_key and meta_value queries in get_pages(). Props filosofo. fixes #6773 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7746 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 22:29:43 +00:00
Ryan Boren
f74903d3c2 Shift-click to select a range of checkboxes. Props mdawaffe. fixes #6541 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7745 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 22:23:02 +00:00
Ryan Boren
a40491ce38 Move cache cleaning of children to clean_post_cache(). see #6702
git-svn-id: https://develop.svn.wordpress.org/trunk@7743 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 20:23:50 +00:00
Ryan Boren
0ef4c243d9 Remove debug cruft
git-svn-id: https://develop.svn.wordpress.org/trunk@7742 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 20:06:46 +00:00
Ryan Boren
cc3f89ad7c Consult the cached user object in get_usermeta to avoid queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@7741 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 19:00:07 +00:00
Ryan Boren
84a2c7f980 Only use the args defined in defaults to compute the cache key in get_terms. Props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@7738 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 17:42:13 +00:00
Ryan Boren
844fb9d2a4 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: https://develop.svn.wordpress.org/trunk@7736 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 02:19:45 +00:00
Ryan Boren
1a62535f32 We don't need get_categories() to do a hierarchical sort anymore. The walker takes care of it.
git-svn-id: https://develop.svn.wordpress.org/trunk@7729 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 21:21:13 +00:00
Ryan Boren
f0c73873c4 don't cache during title extraction. Props mdawaffe. fixes #6694 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7728 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 20:42:47 +00:00
Ryan Boren
3199d65079 Make link widget IDs unique. Props docwhat. fixes #4287 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7724 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 20:32:13 +00:00
Ryan Boren
2d413e83cd Revert [7689], gonna try another approach. see #6677
git-svn-id: https://develop.svn.wordpress.org/trunk@7720 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 19:32:38 +00:00
Ryan Boren
c3348047a8 Cache comment count and use count API in menu.php
git-svn-id: https://develop.svn.wordpress.org/trunk@7714 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 23:45:39 +00:00
Ryan Boren
b5a1a0e113 array_shift() error fixes from DD32. fixes #6499 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7713 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 23:09:51 +00:00
Ryan Boren
54c4cd2e76 Bump script loader ver. see #6753
git-svn-id: https://develop.svn.wordpress.org/trunk@7710 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 22:58:15 +00:00
Ryan Boren
4dce6df7a7 Preserve author during autosave. fixes #6753 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7708 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 22:56:37 +00:00
Ryan Boren
c3502e11bf image_make_intermediate_size filter from tellyworth. fixes #6580 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7703 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 21:59:23 +00:00
Ryan Boren
357304b1ce Default cap arg should be an empty array. Props tellyworth. fixes #5520
git-svn-id: https://develop.svn.wordpress.org/trunk@7701 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 21:56:03 +00:00
Mark Jaquith
d9efa4fa8f Allow shortcodes to run before or after wpautop()/texturize() formatting. Default to before for WP 2.5 compat. Props AaronCampbell
git-svn-id: https://develop.svn.wordpress.org/trunk@7699 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 21:07:04 +00:00
Ryan Boren
1ed52ed5d7 Custom header and color picker fixes from mdawaffe. fixes #6577 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7698 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 20:58:03 +00:00
Ryan Boren
de590e4055 Fix usermeta escaping. fixes #6750
git-svn-id: https://develop.svn.wordpress.org/trunk@7696 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 18:23:48 +00:00
Ryan Boren
860c60d05b Add post ancestors to the cache for the post object. see #6702 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7694 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 17:23:17 +00:00
Ryan Boren
73cdb808d1 Relocate wp_authenticate action to fix back compat and make it more useful. fixes #6675 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7692 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 04:49:19 +00:00
Ryan Boren
cd0641c856 Strip slashes before preparing comment insert to avoid double-slashing. Props filosofo. fixes #6738
git-svn-id: https://develop.svn.wordpress.org/trunk@7690 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-15 18:05:08 +00:00
Ryan Boren
97cfa272b0 Demand load the category list. Props mdawaffe. see #6677
git-svn-id: https://develop.svn.wordpress.org/trunk@7689 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-15 18:00:52 +00:00
Ryan Boren
c3dda2241e Add or remove class=aligncenter when aligning images in TinyMCE. Props azaozz. fixes #6645 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7687 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-15 16:03:24 +00:00
Ryan Boren
b3dbfd3b48 Fix menu_order ordering. Props torfason. fixes #6731 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7685 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-15 01:39:33 +00:00
Ryan Boren
a58816e2ab Workaround response truncation by reducing size of response after uploading with flash uploader. Props tellyworth. fixes #6713
git-svn-id: https://develop.svn.wordpress.org/trunk@7682 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 23:09:14 +00:00
Ryan Boren
307c2ac093 tiny_mce_gzip.php no longer needed
git-svn-id: https://develop.svn.wordpress.org/trunk@7681 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 22:30:16 +00:00
Ryan Boren
98b3f7d11f TinyMCE 3.0.7 from azaozz. fixes #6726 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7679 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 22:19:04 +00:00
Ryan Boren
2dc11fe349 Fix IE6 overlap and remove unnecessary markup. Props tellyworth. fixes #6661 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7677 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 20:48:11 +00:00
Ryan Boren
55a14f52a9 Pass size to image_send_to_editor filter. fies #6691 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7671 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 19:47:07 +00:00
Ryan Boren
14b93694f0 More efficient category and list JS from mdawaffe. fixes #6677 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7669 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 19:31:20 +00:00
Ryan Boren
06fc36b142 Fix category exclusion when getting adjacent posts. Props filosofo. fixes #6551 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7667 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 17:56:58 +00:00
Ryan Boren
1795ef877c Handle pathinfo structures when determining if verbose page rules should be used. Props dlo. fixes #6650 #6570 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7665 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 17:18:53 +00:00
Ryan Boren
91aa0954a4 Add missing comma. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7657 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:45:12 +00:00
Ryan Boren
7e5969a1f9 Make get_posts args optional. Props karlkatzke and Otto42. fixes #6608 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7647 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:23:29 +00:00
Ryan Boren
fdc05b24f6 Prepare DB queries in more places. Props filosofo. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7645 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:13:25 +00:00
Ryan Boren
763a6d5537 phpdoc typo fix from filosofo. fixes #6712 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7642 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 15:53:09 +00:00
Ryan Boren
a9d89696f3 Use wp_count_posts() to determine availabel statuses for get_available_post_statuses(). fixes #6654 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7638 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-09 20:09:45 +00:00
Ryan Boren
357e5567c7 Don't send content length for tinymce config. Props azaozz. fixes #6524 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7635 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-09 19:02:13 +00:00
Ryan Boren
5b1eff3aaf Change get_the_time filter to get_post_time for the get_post_time() function. Props filosofo. fixes #6641 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7634 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 17:33:42 +00:00
Ryan Boren
f9290af15d Strip percent signs when sanitizing filenames so the server doesn't try to decode entities. Props filosofo. fixes #5587 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7631 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 17:22:20 +00:00
Ryan Boren
2bb5262cdd Move category query to get category case of get_permalink to avoid unnecessary queries. Props mdawaffe. fixes #6638 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7626 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 01:55:04 +00:00
Ryan Boren
11f65056f9 Revert [7605]. It breaks setting posts page. see #6539
git-svn-id: https://develop.svn.wordpress.org/trunk@7622 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 01:05:45 +00:00