7010 Commits

Author SHA1 Message Date
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
Mark Jaquith
c66e9b57dc Fix redirect issue with null post_ID equaling null url_to_postid(). fixes #6674 for 2.5.1
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7795 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-23 22:59:10 +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
f6cfea4a05 Fix reveresed logic. see #6805
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7786 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-23 01:22:03 +00:00
Ryan Boren
1588a57315 Typo fixes from DD32. fixes #6818 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7784 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-23 01:14:15 +00:00
Ryan Boren
64a9c28199 Direct file system manip fixes, should fix .svn upgrade problem. Hat tip: DD32.
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7783 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-23 00:51:45 +00:00
Ryan Boren
ef59455503 don't get or set post_lock if you can't edit the post/page. Props mdawaffe
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7782 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 23:57:04 +00:00
Ryan Boren
2262665a0d Fix text widget cropping in IE6. Props mdawaffe. fixes #6792 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7779 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 23:48:14 +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
042980f154 Consolidate get_pending_comments_num() queries. see #6770 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7776 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 21:33:29 +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
b9e44d074c Comment query fix from MtDewVirus. fixes #6805 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7767 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 20:51:54 +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
45e7104136 Don't run url_to_postid on admin pages. For 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7762 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-21 19:45:03 +00:00
Ryan Boren
8be4ef31e9 Post and page edit redirect fixes. fixes #6720 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7760 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-21 17:56:07 +00:00
Ryan Boren
14d8aa0910 Check if PATH_INFO is set to avoid undefined index errors. see #5160
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7758 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-21 17:35:57 +00:00
Ryan Boren
9229489838 Redirect back to original referer when deleting a comment from the edit comment page. fixes #6458 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7756 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-21 16:46:15 +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
7ac4954987 Check publish_pages capability, not publish_posts. Props matthijs. fixes #6777 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7751 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-20 06:48:33 +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
00bd3fcd5c Checking for 0 and 1 instead of != spam is faster. For 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7734 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 01:53:49 +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
bd5d67da72 Typo fix. see #6578
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7731 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 22:01:04 +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
e595c13b34 Tweak unused widgets interface. Make widget titles less repetitive. fixes #6349 #5823 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7725 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 20:36: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
0cfdf16502 Verify widget option sanity. Props Viper007Bond. fixes #6578 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7722 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 20:14:22 +00:00
Ryan Boren
baab306f01 Key meta box array by id. Props Denis-de-Bernardy. fixes #6192 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7718 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 19:19:50 +00:00
Ryan Boren
2b20f85fa5 Protect the <pre> and <script> tags when switching editors. Props azaozz. fixes #6610 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7717 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 19:11:44 +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
7559637bbf Legacy uploader fix from tellyworth. fixes #6629 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7706 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 22:03:35 +00:00
Ryan Boren
649a9bb854 Make profile fields wider. Props tellyworth. fixes #6581 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7704 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 22:01:04 +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