3307 Commits

Author SHA1 Message Date
Ryan Boren
c3c4b32641 Move cache cleaning of children to clean_post_cache(). see #6702
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7744 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 20:24:35 +00:00
Ryan Boren
ad37cb0847 If widget ID not found, scan the entire registered widgets array looking for legacy IDs. Props Denis-de-Bernardy. fixes #6605
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7735 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 02:19:09 +00:00
Ryan Boren
94d350d502 We don't need get_categories() to do a hierarchical sort anymore. The walker takes care of it. For 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7733 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 01:53:14 +00:00
Ryan Boren
f30eba3b20 don't cache during title extraction. Props mdawaffe. fixes #6694 for trunk
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7727 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 20:42:33 +00:00
Ryan Boren
88e53dacf5 Make link widget IDs unique. Props docwhat. fixes #4287 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7723 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 20:31:39 +00:00
Ryan Boren
80af1aa22e Cache comment count and use count API in menu.php
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7715 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 00:10:20 +00:00
Ryan Boren
ed09c78f77 array_shift() error fixes from DD32. fixes #6499 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7712 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 23:09:37 +00:00
Ryan Boren
5904ea1d10 Bump script loader ver. see #6753
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7711 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 22:58:38 +00:00
Ryan Boren
705190f414 Preserve author during autosave. fixes #6753 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7709 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 22:57:13 +00:00
Ryan Boren
9153eadd69 image_make_intermediate_size filter from tellyworth. fixes #6580 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7702 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 21:58:54 +00:00
Mark Jaquith
e78776fd8d Allow shortcodes to run before or after wpautop()/texturize() formatting. Default to before for WP 2.5 compat. Props AaronCampbell. fixes #6444 for 2.5.1
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7700 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 21:09:22 +00:00
Ryan Boren
c11623df57 Custom header and color picker fixes from mdawaffe. fixes #6577 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7697 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 20:57:50 +00:00
Ryan Boren
a7f761a820 Add post ancestors to the cache for the post object. see #6702 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7695 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 17:23:40 +00:00
Ryan Boren
1fdf523d6e Relocate wp_authenticate action to fix back compat and make it more useful. fixes #6675 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7691 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 04:48:52 +00:00
Ryan Boren
e47619dea1 phpdoc typo fix from filosofo. fixes #6712 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7688 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-15 16:36:19 +00:00
Ryan Boren
0e8367fc06 Add or remove class=aligncenter when aligning images in TinyMCE. Props azaozz. fixes #6645 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7686 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-15 16:02:26 +00:00
Ryan Boren
88e48b7c9e Fix menu_order ordering. Props torfason. fixes #6731 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7684 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-15 01:39:19 +00:00
Ryan Boren
bb66b9f0b6 Workaround response truncation by reducing size of response after uploading with flash uploader. Props tellyworth. fixes #6713 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7683 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 23:09:50 +00:00
Ryan Boren
2ab5dd624a tiny_mce_gzip.php no longer needed
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7680 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 22:30:06 +00:00
Ryan Boren
18b3d5d651 TinyMCE 3.0.7 from azaozz. fixes #6726 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7678 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 22:18:42 +00:00
Ryan Boren
f6b66c4847 Fix IE6 overlap and remove unnecessary markup. Props tellyworth. fixes #6661 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7676 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 20:47:51 +00:00
Ryan Boren
0483c8b041 Allow TinyMCE to work under SSL. Fixes #6544 for 2.5. Hat tip: blenjee, azaozz.
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7675 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 20:34:31 +00:00
Ryan Boren
f4ac566556 Pass size to image_send_to_editor filter. fies #6691 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7672 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 19:47:37 +00:00
Ryan Boren
a26ecb1175 More efficient category and list JS from mdawaffe. fixes #6677 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7670 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 19:31:46 +00:00
Ryan Boren
d2f1cf1355 Fix category exclusion when getting adjacent posts. Props filosofo. fixes #6551 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7668 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 17:57:30 +00:00
Ryan Boren
34a2832840 Handle pathinfo structures when determining if verbose page rules should be used. Props dlo. fixes #6650 #6570 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7666 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 17:19:40 +00:00
Ryan Boren
7a2c3bf555 Make get_posts args optional. Props karlkatzke and Otto42. fixes #6608 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7646 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:23:16 +00:00
Ryan Boren
1dd3c0916a Use wp_count_posts() to determine availabel statuses for get_available_post_statuses(). fixes #6654 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7637 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-09 20:09:08 +00:00
Ryan Boren
cd9a2ee924 Don't send content length for tinymce config. Props azaozz. fixes #6524 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7636 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-09 19:02:46 +00:00
Ryan Boren
d9652924ec Strip percent signs when sanitizing filenames so the server doesn't try to decode entities. Props filosofo. fixes #5587 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7630 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 17:21:02 +00:00
Ryan Boren
e19d033905 Move category query to get category case of get_permalink to avoid unnecessary queries. Props mdawaffe. fixes #6638 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7627 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 01:55:26 +00:00
Ryan Boren
d3d53ccc54 Revert [7606]. It breaks setting posts page. see #6539
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7623 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 01:06:34 +00:00
Ryan Boren
2d49a2936c Avoid data-loss when editing multi-widgets. Props mdawaffe. fixes #6636 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7621 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-07 21:40:41 +00:00
Ryan Boren
3d42524028 Escape faultString in IXR. Props josephscott. fixes #5666 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7616 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-07 18:32:17 +00:00
Ryan Boren
5b4f094cc4 Explicit ID check so we don't fall through for empties. Props natecook. fixes #6539 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7606 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-06 23:23:16 +00:00
Peter Westwood
2b4d9e930b Select the link in the link popup again. Fixes #6521 for 2.5.1 props azaozz.
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7598 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-03 20:16:04 +00:00
Mark Jaquith
1b0b28bca3 Parse shortcodes AFTER wpautop() to avoid mangling. Have wptexturize() ignore shortcodes so quotes stay straight. fixes #6444 for 2.5.1
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7594 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-03 03:15:06 +00:00
Mark Jaquith
d774f6ed67 Fix gallery shortcode orderby param for all SQL setups. Sanitize orderby. fixes #6476 for 2.5.1
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7593 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-03 03:06:01 +00:00
Peter Westwood
aa03e95172 Replace the last usage of ctype_digit with is_numeric. Fixes #6534 for 2.5.1 props mtekk.
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7589 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-02 16:19:32 +00:00
Mark Jaquith
93440957f3 Sanitize "cat" query var and cast to int before looking for a category template
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7586 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-02 13:15:21 +00:00
Peter Westwood
66c3c6fa52 Rearrange the media uploader view so the filename is visible. Fixes #6517 for 2.5.1 props andy.
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7585 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-01 21:14:17 +00:00
Peter Westwood
87421e218c Make sure the rewrite rules for the feed files match when WordPress is installed in a subdirectory. Fixes #6460 for 2.5.1.
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7583 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-31 19:56:29 +00:00
Peter Westwood
635000b8cf Mark the branch as what it is.
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7580 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-30 21:13:52 +00:00
Mark Jaquith
284699ed57 Gallery XHTML validation fixes. props shelleyp. fixes #6461 for 2.5.1
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7576 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-30 16:42:20 +00:00
Mark Jaquith
04b4931b1f Remove errant commas to prevent file uploader script errors in IE7. props tsimmons. fixes #6443 for 2.5.1
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7573 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-30 06:11:49 +00:00
Matt Mullenweg
f7e67d31f8 Live from WordCamp Dallas. :)
git-svn-id: https://develop.svn.wordpress.org/trunk@7566 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-29 14:39:28 +00:00
Matt Mullenweg
e0c55d6d00 In some environments people can override most things but not mod_sec rules, so this breaks their blog and they can't recover unless they manually edit the file. There is no way to detect whether you can overwrite the rules or not.
git-svn-id: https://develop.svn.wordpress.org/trunk@7563 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-29 04:03:09 +00:00
Peter Westwood
cc2dd59c98 Remove the slash from html generators and camelcase WP. Fixes #6440 props lloydbudd.
git-svn-id: https://develop.svn.wordpress.org/trunk@7562 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-28 19:05:22 +00:00
Matt Mullenweg
c85f10781c Shortcode quotes were getting texturized, which can cause a bit of chaos. Fixes #6436.
git-svn-id: https://develop.svn.wordpress.org/trunk@7561 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-28 15:23:09 +00:00
Ryan Boren
cbeae2c1f4 RC3
git-svn-id: https://develop.svn.wordpress.org/trunk@7560 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-28 07:02:55 +00:00