Commit Graph

3301 Commits

Author SHA1 Message Date
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 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 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
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 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 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 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 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 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 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 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 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
Ryan Boren bd68e1b1e9 Make profile fields wider. Props tellyworth. fixes #6581 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7705 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 22:01:32 +00:00
Ryan Boren 1ed52ed5d7 Custom header and color picker fixes from mdawaffe. fixes #6577 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7698 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 20:58:03 +00:00
Ryan Boren cbcc62a5b2 Strip slashes before preparing link for insert. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7693 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 05:55:27 +00:00
Ryan Boren 97cfa272b0 Demand load the category list. Props mdawaffe. see #6677
git-svn-id: https://develop.svn.wordpress.org/trunk@7689 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-15 18:00:52 +00:00
Ryan Boren a58816e2ab Workaround response truncation by reducing size of response after uploading with flash uploader. Props tellyworth. fixes #6713
git-svn-id: https://develop.svn.wordpress.org/trunk@7682 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 23:09:14 +00:00
Ryan Boren 2dc11fe349 Fix IE6 overlap and remove unnecessary markup. Props tellyworth. fixes #6661 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7677 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 20:48:11 +00:00
Ryan Boren e41144b4d4 Suppress exif_read_data() errors. Props tellyworth. fixes #6571 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7673 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 20:19:15 +00:00
Ryan Boren 55a14f52a9 Pass size to image_send_to_editor filter. fies #6691 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7671 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 19:47:07 +00:00
Ryan Boren 14b93694f0 More efficient category and list JS from mdawaffe. fixes #6677 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7669 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 19:31:20 +00:00
Ryan Boren 134476c652 Move define of AUTOSAVE_INTERVAL to wp-settings so that it is available earlier. Props simonwheatley. fixes #6668 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7664 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 17:07:34 +00:00
Ryan Boren 2e2afe0707 CSS typo fixes from spirit55555. fixes #6653 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7662 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 17:05:24 +00:00
Ryan Boren 142146177c Check create_users cap instead of edit_users wgen adding/inserting users. Props imwebgefunden. fixes #6662 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7660 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:57:29 +00:00
Ryan Boren 9be8f95463 Typo fixes. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7658 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:49:17 +00:00
Ryan Boren 5af761df74 Use input instead of button to work around IE6 bug. Props tellyworth. fixes #6660 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7655 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:38:25 +00:00
Ryan Boren e203f8dad1 Validation fixes for uploader. Props sambauers. fixes #6659 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7654 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:33:37 +00:00
Ryan Boren 537500dadc Add some actions and filters to the media uploader. Props tellyworth. fixes #6658 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7652 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:32:04 +00:00
Ryan Boren 26b8bb3800 Fix image fetching in get_media_items(). Props tellyworth. fixes #6657 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7651 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:30:27 +00:00
Ryan Boren d12d1c803b Make MT post status lower case when importing. Props jgbishop. fixes #6656 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7649 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:26:21 +00:00
Ryan Boren fdc05b24f6 Prepare DB queries in more places. Props filosofo. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7645 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:13:25 +00:00
Ryan Boren 32e9822516 Use error handler instead of die when moving files to upload dir fails. Props simonwheatley. fixes #6450 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7644 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:01:59 +00:00
Matt Mullenweg 2ae626662f Direct file system manip fixes, should fix .svn upgrade problem. Hat tip: DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@7641 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-13 04:04:57 +00:00
Ryan Boren acae15dd78 Add post_date_column_time filter for easy time customization.
git-svn-id: https://develop.svn.wordpress.org/trunk@7640 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-10 18:59:17 +00:00
Ryan Boren a9d89696f3 Use wp_count_posts() to determine availabel statuses for get_available_post_statuses(). fixes #6654 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7638 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-09 20:09:45 +00:00