Commit Graph

7175 Commits

Author SHA1 Message Date
ryan d814986be2 Strip slashes before preparing link for insert. see #6644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 05:55:27 +00:00
ryan 82fd123c91 Relocate wp_authenticate action to fix back compat and make it more useful. fixes #6675 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 04:49:19 +00:00
ryan ce1fed1a02 Strip slashes before preparing comment insert to avoid double-slashing. Props filosofo. fixes #6738
git-svn-id: http://svn.automattic.com/wordpress/trunk@7690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-15 18:05:08 +00:00
ryan 47a695049e Demand load the category list. Props mdawaffe. see #6677
git-svn-id: http://svn.automattic.com/wordpress/trunk@7689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-15 18:00:52 +00:00
ryan f8cea0117c Add or remove class=aligncenter when aligning images in TinyMCE. Props azaozz. fixes #6645 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-15 16:03:24 +00:00
ryan c92c2be2af Fix menu_order ordering. Props torfason. fixes #6731 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-15 01:39:33 +00:00
ryan cab4206406 Workaround response truncation by reducing size of response after uploading with flash uploader. Props tellyworth. fixes #6713
git-svn-id: http://svn.automattic.com/wordpress/trunk@7682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 23:09:14 +00:00
ryan 6ec2c0877b tiny_mce_gzip.php no longer needed
git-svn-id: http://svn.automattic.com/wordpress/trunk@7681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 22:30:16 +00:00
ryan 713a705b52 TinyMCE 3.0.7 from azaozz. fixes #6726 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 22:19:04 +00:00
ryan b97e7fa82b Fix IE6 overlap and remove unnecessary markup. Props tellyworth. fixes #6661 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 20:48:11 +00:00
ryan 47c6ee0e09 Suppress exif_read_data() errors. Props tellyworth. fixes #6571 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 20:19:15 +00:00
ryan 02e0c889f7 Pass size to image_send_to_editor filter. fies #6691 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 19:47:07 +00:00
ryan 8eff77e82d More efficient category and list JS from mdawaffe. fixes #6677 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 19:31:20 +00:00
ryan 7d2a7755a3 Fix category exclusion when getting adjacent posts. Props filosofo. fixes #6551 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 17:56:58 +00:00
ryan 1a41abe289 Handle pathinfo structures when determining if verbose page rules should be used. Props dlo. fixes #6650 #6570 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 17:18:53 +00:00
ryan 6e662d708b Move define of AUTOSAVE_INTERVAL to wp-settings so that it is available earlier. Props simonwheatley. fixes #6668 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 17:07:34 +00:00
ryan b7c7f9d1c2 CSS typo fixes from spirit55555. fixes #6653 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 17:05:24 +00:00
ryan 4c9d2e9dfa Check create_users cap instead of edit_users wgen adding/inserting users. Props imwebgefunden. fixes #6662 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:57:29 +00:00
ryan b9b5291c18 Typo fixes. see #6644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:49:17 +00:00
ryan 56f15cb1bf Add missing comma. see #6644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:45:12 +00:00
ryan ab7af57751 Use input instead of button to work around IE6 bug. Props tellyworth. fixes #6660 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:38:25 +00:00
ryan 1d67896b70 Validation fixes for uploader. Props sambauers. fixes #6659 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:33:37 +00:00
ryan b83563f368 Add some actions and filters to the media uploader. Props tellyworth. fixes #6658 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:32:04 +00:00
ryan 030a8b9b33 Fix image fetching in get_media_items(). Props tellyworth. fixes #6657 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:30:27 +00:00
ryan d943a8252a Make MT post status lower case when importing. Props jgbishop. fixes #6656 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:26:21 +00:00
ryan 972851a755 Make get_posts args optional. Props karlkatzke and Otto42. fixes #6608 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:23:29 +00:00
ryan 248a0c06e2 Prepare DB queries in more places. Props filosofo. see #6644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:13:25 +00:00
ryan 796ae7104e Use error handler instead of die when moving files to upload dir fails. Props simonwheatley. fixes #6450 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:01:59 +00:00
ryan 36c9588f08 phpdoc typo fix from filosofo. fixes #6712 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 15:53:09 +00:00
matt 43c3c8ef36 Direct file system manip fixes, should fix .svn upgrade problem. Hat tip: DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-13 04:04:57 +00:00
ryan 81370476f4 Add post_date_column_time filter for easy time customization.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-10 18:59:17 +00:00
ryan 132ac51a5a Use wp_count_posts() to determine availabel statuses for get_available_post_statuses(). fixes #6654 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-09 20:09:45 +00:00
ryan 5b1208ebc3 Don't send content length for tinymce config. Props azaozz. fixes #6524 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-09 19:02:13 +00:00
ryan 77be80f02c Change get_the_time filter to get_post_time for the get_post_time() function. Props filosofo. fixes #6641 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 17:33:42 +00:00
ryan 79e2e8fa76 Use DB prepare on login queries. Props filosofo. fixes #6640 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 17:30:14 +00:00
ryan 4a33d268ab Strip percent signs when sanitizing filenames so the server doesn't try to decode entities. Props filosofo. fixes #5587 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 17:22:20 +00:00
ryan 3fffac7d5d Disambiguate default slugs. Props RanYanivHartstein. fixes #6614 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 17:14:18 +00:00
ryan 9714b08b71 Move category query to get category case of get_permalink to avoid unnecessary queries. Props mdawaffe. fixes #6638 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 01:55:04 +00:00
ryan 9ffa66c56c Show all categories in category filter. Don't show misleading counts. see #6439
git-svn-id: http://svn.automattic.com/wordpress/trunk@7625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 01:53:53 +00:00
ryan c3e32dcd4e Revert [7605]. It breaks setting posts page. see #6539
git-svn-id: http://svn.automattic.com/wordpress/trunk@7622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 01:05:45 +00:00
ryan 3794dc04b4 Avoid data-loss when editing multi-widgets. Props mdawaffe. fixes #6636 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-07 21:40:32 +00:00
ryan 92fe7fcad0 Fix add_users_page() when current user does not have edit_users cap. Props mattyrob. fixes #6621 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-07 21:25:31 +00:00
ryan 4e1465b8d9 Remove unused starify function. Props josephscott. fixes #6634 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-07 21:13:48 +00:00
ryan 27167db9c3 Escape faultString in IXR. Props josephscott. fixes #5666 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-07 18:30:51 +00:00
ryan aeb2b5bf9f Update timestamp when only the minute value is changed. fixes #6456 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-07 17:19:43 +00:00
ryan aad4350fb1 upload_file_glob filter from tellyworth. fixes #6628 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-07 17:10:00 +00:00
ryan 90952804da Update timestamp when only the minute value is changed. fixes #6456 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-07 17:06:56 +00:00
ryan 82f01c5c79 Fix RTL alignment for delete button. Props RanYanivHartstein. fixes #6617 for 2.6
git-svn-id: http://svn.automattic.com/wordpress/trunk@7607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-06 23:26:25 +00:00
ryan 81d1b488a9 Explicit ID check so we don't fall through for empties. Props natecook. fixes #6539 for 2.6
git-svn-id: http://svn.automattic.com/wordpress/trunk@7605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-06 23:23:05 +00:00
ryan f83ca8ec0d Order cats by name. Props MtDewVirus. fixes #6623 for 2.6
git-svn-id: http://svn.automattic.com/wordpress/trunk@7603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-06 22:29:18 +00:00