Commit Graph

7198 Commits

Author SHA1 Message Date
Ryan Boren d23f0c8082 Allow editing of attachmentts with no titles. Props mdawaffe. fixes #6839 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7831 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 15:28:08 +00:00
Ryan Boren d779fb182e Move cap check up. Props mdawaffe. fixes #6838 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7829 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 15:23:11 +00:00
Ryan Boren 05a2f61a1f Add cap checks. see #6838
git-svn-id: https://develop.svn.wordpress.org/trunk@7827 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 15:01:02 +00:00
Mark Jaquith 0d83d084b9 fix typo in [7820] for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7825 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 06:40:12 +00:00
Ryan Boren 0a9b5ade89 Add some sanity checks
git-svn-id: https://develop.svn.wordpress.org/trunk@7821 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 06:20:18 +00:00
Mark Jaquith 08a1f47fcb attribute_escape() and int-casting paranoia for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@7820 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 06:15:17 +00:00
Mark Jaquith a409f97657 attribute_escape() type in the media-uploder. props Alex Concha. for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7818 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 05:55:01 +00:00
Mark Jaquith b7699db39e Fix typo in wp_save_revision(). props Andy. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@7817 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 04:41:41 +00:00
Mark Jaquith 1c68bb873d Don't wpautop()-wrap shortcodes that stand alone. fixes #6444 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7815 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 00:45:31 +00:00
Mark Jaquith 24a68a43b4 Revert [7700] from trunk in preparation for a different #6444 solution
git-svn-id: https://develop.svn.wordpress.org/trunk@7814 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 00:43:44 +00:00
Ryan Boren eae779df32 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 trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7813 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 00:32:29 +00:00
Ryan Boren 0f25d90a1c Typo fix
git-svn-id: https://develop.svn.wordpress.org/trunk@7810 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 17:33:58 +00:00
Ryan Boren 0c0d779e6a Document new secret-key API in sample config.
git-svn-id: https://develop.svn.wordpress.org/trunk@7808 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 17:26:36 +00:00
Ryan Boren 5a70341e37 Discard buffers. Props azaozz. fixes #6794 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7804 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 01:25:33 +00:00
Ryan Boren f6f110f7de strlen - 1. Props mdawaffe. see #6146
git-svn-id: https://develop.svn.wordpress.org/trunk@7802 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 01:13:35 +00:00
Ryan Boren a659bd3878 Don't query for checked categories for new posts.
git-svn-id: https://develop.svn.wordpress.org/trunk@7800 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 00:54:27 +00:00
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