Commit Graph

7232 Commits

Author SHA1 Message Date
Ryan Boren
8bc2920aae hash_hmac is always available. Drop function_exists check
git-svn-id: https://develop.svn.wordpress.org/trunk@7797 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 00:30:49 +00:00
Ryan Boren
07b72e6dd9 Add length arg to wp_generate_password() and lengthen secret. Props tellyworth. fixes #6146 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7796 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 00:19:09 +00:00
Mark Jaquith
c3bc7b30b7 Fix redirect issue with null post_ID equaling null url_to_postid(). fixes #6674 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7794 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-23 22:58:36 +00:00
Ryan Boren
f1d4f49057 Reverting [7729]. Breaks listing of categories with posts that have parents with no posts.
git-svn-id: https://develop.svn.wordpress.org/trunk@7792 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-23 22:00:31 +00:00
Ryan Boren
563f49278e Disable buttons until autosave completes. Props mdawaffe. fixes #6707 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7790 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-23 02:22:55 +00:00
Ryan Boren
d1d6825fa2 Disable buttons until autosave completes. Props mdawaffe. fixes #6707 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7788 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-23 01:55:58 +00:00
Ryan Boren
d1f030f31a Fix reveresed logic. see #6805
git-svn-id: https://develop.svn.wordpress.org/trunk@7787 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-23 01:25:01 +00:00
Ryan Boren
41ab0e3935 Typo fixes from DD32. fixes #6818 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7785 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-23 01:14:26 +00:00
Ryan Boren
202cb03220 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/trunk@7781 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 23:54:13 +00:00
Ryan Boren
393f8a33a5 Fix text widget cropping in IE6. Props mdawaffe. fixes #6792 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7780 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 23:48:28 +00:00
Ryan Boren
8c81b54425 wp_category_checklist() fixes from mdawaffe. fixes #6810 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7777 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 22:45:53 +00:00
Ryan Boren
6964bbbcde Consolidate get_pending_comments_num() queries. see #6770
git-svn-id: https://develop.svn.wordpress.org/trunk@7775 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 21:26:01 +00:00
Ryan Boren
76db359fb2 Silence ini_get warnings. fixes #6787 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7774 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 21:24:34 +00:00
Ryan Boren
d9b6584881 Typo fix from peaceablewhale. fixes #6579 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7772 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 21:16:42 +00:00
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
8e241a203a Comment query fix from MtDewVirus. fixes #6805 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7766 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 20:51:35 +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
Ryan Boren
8107431372 Post and page edit redirect fixes. fixes #6720 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7759 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-21 17:54:56 +00:00
Ryan Boren
e572783991 Check if PATH_INFO is set to avoid undefined index errors. see #5160
git-svn-id: https://develop.svn.wordpress.org/trunk@7757 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-21 17:35:20 +00:00
Ryan Boren
83027973d1 Redirect back to original referer when deleting a comment from the edit comment page. fixes #6458 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7755 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-21 16:45:48 +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
75c46d544c Check publish_pages capability, not publish_posts. Props matthijs. fixes #6777 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7750 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-20 06:48:00 +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
64393648c9 Don't run url_to_postid on admin pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@7740 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 18:22:33 +00:00
Ryan Boren
f15d3fc773 Don't query post cats if no post. see #2621
git-svn-id: https://develop.svn.wordpress.org/trunk@7739 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 18:12:04 +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
7f228f1cd6 wp_category_checklist() and wp_link_category_checklist() to replace the nested cats code. see #2621
git-svn-id: https://develop.svn.wordpress.org/trunk@7737 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 17:41:10 +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
726f7f5e56 Checking for 0 and 1 instead of != spam is faster.
git-svn-id: https://develop.svn.wordpress.org/trunk@7732 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 22:33:35 +00:00
Ryan Boren
cf3bbc413a Typo fix. see #6578
git-svn-id: https://develop.svn.wordpress.org/trunk@7730 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 22:00:39 +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
714c276a62 Tweak unused widgets interface. Make widget titles less repetitive. fixes #6349 #5823 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7726 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 20:36:59 +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
228eab4870 Verify widget option sanity. Props Viper007Bond. fixes #6578 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7721 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 20:14:07 +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
4906d696de Key meta box array by id. Props Denis-de-Bernardy. fixes #6192 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7719 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 19:20:15 +00:00
Ryan Boren
47ace19b61 Protect the <pre> and <script> tags when switching editors. Props azaozz. fixes #6610 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7716 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 19:11:21 +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
02b7abe6fa Legacy uploader fix from tellyworth. fixes #6629 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7707 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 22:03:44 +00:00