3279 Commits

Author SHA1 Message Date
Ryan Boren
8444cfce96 Add some sanity checks
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7822 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 06:20:50 +00:00
Mark Jaquith
e8b010ba90 Don't wpautop()-wrap shortcodes that stand alone. fixes #6444 for 2.5.1
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7816 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 00:46:17 +00:00
Ryan Boren
f0498f91e1 Bump the autosave re-enable delay to 5 seconds, makes sure we manually re-enable the buttons on ajax success, and visually dim the disabled buttons for some UI feedback. Props mdawaffe. fixes #6707 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7812 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 00:32:16 +00:00
Ryan Boren
481af3b222 Revert [770] for 2.5 pending further discussion. see #6444
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7811 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 22:31:37 +00:00
Ryan Boren
1ca72dc781 Bumpity bump bump
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7806 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 05:45:34 +00:00
Ryan Boren
8fc9537888 Discard buffers. Props azaozz. fixes #6794 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7805 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 01:26:55 +00:00
Ryan Boren
ec6b2f4823 strlen - 1. Props mdawaffe. see #6146
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7803 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 01:13:59 +00:00
Ryan Boren
dd215a77da hash_hmac is always available. Drop function_exists check. For 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7799 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 00:33:47 +00:00
Ryan Boren
c5f5190646 Add length arg to wp_generate_password() and lengthen secret. Props tellyworth. fixes #6146 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7798 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 00:33:19 +00:00
Ryan Boren
af8e40fae2 Reverting [7733]. Breaks listing of categories with posts that have parents with no posts.
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7793 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-23 22:02:09 +00:00
Ryan Boren
73f8062193 Disable buttons until autosave completes. Props mdawaffe. fixes #6707 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7791 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-23 02:23:07 +00:00
Ryan Boren
3a33d0d877 Disable buttons until autosave completes. Props mdawaffe. fixes #6707 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7789 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-23 01:56:19 +00:00
Ryan Boren
3dd9f8e4ef wp_category_checklist() fixes from mdawaffe. fixes #6810 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7778 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 22:46:09 +00:00
Ryan Boren
df457d95bd Silence ini_get warnings. fixes #6787 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7773 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 21:23:57 +00:00
Ryan Boren
d7bf00e3d1 Typo fix from peaceablewhale. fixes #6579 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7771 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 21:16:25 +00:00
Ryan Boren
ca36bef609 Convert Walker classes to pass as reference. Props mdawaffe. fixes #6796 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7770 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 21:06:00 +00:00
Ryan Boren
d29256c38f Normalize whitespace when parsing shortcodes. Props azaozz. fixes #6562 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7768 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 20:54:32 +00:00
Ryan Boren
3144acf0f1 Remove debug cruft
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7765 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-21 19:47:53 +00:00
Ryan Boren
dd02facd2e Consult the cached user object in get_usermeta to avoid queries. For 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7764 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-21 19:47:15 +00:00
Ryan Boren
0a09e8eb47 Only use the args defined in defaults to compute the cache key in get_terms. Props mdawaffe. For 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7763 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-21 19:45:49 +00:00
Ryan Boren
1167e95422 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/branches/2.5@7753 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-20 21:28:52 +00:00
Ryan Boren
7320c8f760 Fix pass by ref error. Props DD32. fixes #6776 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7748 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-20 06:44:56 +00:00
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