7030 Commits

Author SHA1 Message Date
Ryan Boren
7fc0cde65a Add arg to make special chars optional when generating passwords. fixes #6842 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7837 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 17:12:56 +00:00
Ryan Boren
85394a3730 Bump
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7834 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 15:40:25 +00:00
Ryan Boren
b5556c8150 Allow editing of attachmentts with no titles. Props mdawaffe. fixes #6839 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7832 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 15:28:22 +00:00
Ryan Boren
95f19ce42a Move cap check up. Props mdawaffe. fixes #6838 for trunk
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7830 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 15:23:23 +00:00
Ryan Boren
431b530819 Add cap checks. see #6838
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7828 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 15:01:28 +00:00
Mark Jaquith
93aeb40ed5 fix typo in [7823] for 2.5.1
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7826 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 06:40:52 +00:00
Mark Jaquith
9c859e2e00 Still polishing 2.5.1, so let's unbump so our "for reals, this time" 2.5.1 bump matches the zip
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7824 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 06:29:37 +00:00
Mark Jaquith
590a8a4499 attribute_escape() and int-casting paranoia for 2.5.1
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7823 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 06:26:54 +00:00
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
b013ca54cc attribute_escape() type in the media-uploder. props Alex Concha. for 2.5.1
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7819 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 05:55:27 +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
c3ed21f7e1 Typo fix
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7809 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 17:30:57 +00:00
Ryan Boren
9c81b5721b Document new secret-key API in sample config.
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7807 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 17:26:04 +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
332d5096d4 Don't query for checked categories for new posts. For 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7801 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 00:55:22 +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
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