Commit Graph

4101 Commits

Author SHA1 Message Date
ryan 020eb02ef0 thickbox and media upload fixes from azaozz. fixes #6843
git-svn-id: http://svn.automattic.com/wordpress/trunk@7862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-30 20:21:09 +00:00
ryan 123a6091fb Word count from azaozz. see #4807
git-svn-id: http://svn.automattic.com/wordpress/trunk@7854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-29 19:17:23 +00:00
ryan 88b23960fb widget_title filters from jhodgdon. fixes #6684
git-svn-id: http://svn.automattic.com/wordpress/trunk@7850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-29 16:08:19 +00:00
ryan 499ac46099 Multi-widget pattern documentation typo fixes from Jaymin Patel. fixes #6866
git-svn-id: http://svn.automattic.com/wordpress/trunk@7849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-28 20:08:23 +00:00
westi b119ab7003 Bump the db version so [7841] has an affect.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-28 06:19:33 +00:00
westi 5a375132ac Make sure the direct feed files work when siteurl == homeurl. Fixes #6460 for trunk props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-28 06:17:01 +00:00
ryan 7564d59d47 Don't reuse image_send_to_editor filter in get_image_tag(). Props AaronCampbell. fixes #6806 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 17:58:38 +00:00
ryan 87b1154989 Add arg to make special chars optional when generating passwords. fixes #6842 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 17:12:25 +00:00
ryan 76a87862bf Add some sanity checks
git-svn-id: http://svn.automattic.com/wordpress/trunk@7821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 06:20:18 +00:00
markjaquith 60aab00ba1 Fix typo in wp_save_revision(). props Andy. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 04:41:41 +00:00
markjaquith ca6bd9ebd5 Don't wpautop()-wrap shortcodes that stand alone. fixes #6444 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 00:45:31 +00:00
markjaquith 6930439dfe Revert [7700] from trunk in preparation for a different #6444 solution
git-svn-id: http://svn.automattic.com/wordpress/trunk@7814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 00:43:44 +00:00
ryan f3d3b700f5 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: http://svn.automattic.com/wordpress/trunk@7813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 00:32:29 +00:00
ryan 123cd6550a Discard buffers. Props azaozz. fixes #6794 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-24 01:25:33 +00:00
ryan 0101f8809d strlen - 1. Props mdawaffe. see #6146
git-svn-id: http://svn.automattic.com/wordpress/trunk@7802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-24 01:13:35 +00:00
ryan eb9c8420db hash_hmac is always available. Drop function_exists check
git-svn-id: http://svn.automattic.com/wordpress/trunk@7797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-24 00:30:49 +00:00
ryan 4680f8f084 Add length arg to wp_generate_password() and lengthen secret. Props tellyworth. fixes #6146 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-24 00:19:09 +00:00
ryan eaf44137c6 Reverting [7729]. Breaks listing of categories with posts that have parents with no posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-23 22:00:31 +00:00
ryan 8709169ef9 Disable buttons until autosave completes. Props mdawaffe. fixes #6707 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-23 02:22:55 +00:00
ryan b82f47cc97 Disable buttons until autosave completes. Props mdawaffe. fixes #6707 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-23 01:55:58 +00:00
ryan 6e23bed1fd wp_category_checklist() fixes from mdawaffe. fixes #6810 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-22 22:45:53 +00:00
ryan bf40169710 Silence ini_get warnings. fixes #6787 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-22 21:24:34 +00:00
ryan 4bcb8222b5 Typo fix from peaceablewhale. fixes #6579 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-22 21:16:42 +00:00
ryan c77c239754 Normalize whitespace when parsing shortcodes. Props azaozz. fixes #6562 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-22 20:54:51 +00:00
ryan d95ea6777b Convert Walker classes to pass as reference. Props mdawaffe. fixes #6796 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-21 19:30:54 +00:00
matt 6943482d3b For some reason taxonomy pages also return is_home, so we need to put this check first.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-21 06:28:50 +00:00
ryan 5889755c66 Don't include perm as part of cache key if perm is not used in the query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-20 21:26:10 +00:00
ryan 8591767741 Fix pass by ref error. Props DD32. fixes #6776 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-20 06:45:13 +00:00
ryan 35086b850f Post revisions from mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 23:38:21 +00:00
ryan 17deb910aa Fix meta_key and meta_value queries in get_pages(). Props filosofo. fixes #6773 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 22:29:43 +00:00
ryan fbe04fbf90 Shift-click to select a range of checkboxes. Props mdawaffe. fixes #6541 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 22:23:02 +00:00
ryan 38d7abdfea Move cache cleaning of children to clean_post_cache(). see #6702
git-svn-id: http://svn.automattic.com/wordpress/trunk@7743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 20:23:50 +00:00
ryan 14ed05e98b Remove debug cruft
git-svn-id: http://svn.automattic.com/wordpress/trunk@7742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 20:06:46 +00:00
ryan 80fbb3b27d Consult the cached user object in get_usermeta to avoid queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 19:00:07 +00:00
ryan 3495bf80e0 Only use the args defined in defaults to compute the cache key in get_terms. Props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 17:42:13 +00:00
ryan 926754275c 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: http://svn.automattic.com/wordpress/trunk@7736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 02:19:45 +00:00
ryan 84bd7d6a00 We don't need get_categories() to do a hierarchical sort anymore. The walker takes care of it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 21:21:13 +00:00
ryan 3389df53f2 don't cache during title extraction. Props mdawaffe. fixes #6694 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 20:42:47 +00:00
ryan baba01caff Make link widget IDs unique. Props docwhat. fixes #4287 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 20:32:13 +00:00
ryan d5f5f07270 Revert [7689], gonna try another approach. see #6677
git-svn-id: http://svn.automattic.com/wordpress/trunk@7720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 19:32:38 +00:00
ryan e399f6ad54 Cache comment count and use count API in menu.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@7714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 23:45:39 +00:00
ryan 957a61318b array_shift() error fixes from DD32. fixes #6499 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 23:09:51 +00:00
ryan 7387154152 Bump script loader ver. see #6753
git-svn-id: http://svn.automattic.com/wordpress/trunk@7710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 22:58:15 +00:00
ryan d18e3f9d4a Preserve author during autosave. fixes #6753 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 22:56:37 +00:00
ryan 3b95476f1c image_make_intermediate_size filter from tellyworth. fixes #6580 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 21:59:23 +00:00
ryan 4e74faa972 Default cap arg should be an empty array. Props tellyworth. fixes #5520
git-svn-id: http://svn.automattic.com/wordpress/trunk@7701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 21:56:03 +00:00
markjaquith 9df4077f95 Allow shortcodes to run before or after wpautop()/texturize() formatting. Default to before for WP 2.5 compat. Props AaronCampbell
git-svn-id: http://svn.automattic.com/wordpress/trunk@7699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 21:07:04 +00:00
ryan 7f5548e55b Custom header and color picker fixes from mdawaffe. fixes #6577 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 20:58:03 +00:00
ryan 62d5105c5b Fix usermeta escaping. fixes #6750
git-svn-id: http://svn.automattic.com/wordpress/trunk@7696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 18:23:48 +00:00
ryan a60abc0904 Add post ancestors to the cache for the post object. see #6702 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 17:23:17 +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 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 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 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 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
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 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 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 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 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 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
matt 6099258ff9 Allow TinyMCE to work under SSL. Fixes #6544. Hat tip: blenjee, azaozz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-06 21:29:36 +00:00
matt ad1c6ea083 The child should not have to pay for the sins of his father. Caching for children needs to be cleared when parent is edited; if we check for empty and not isset, it never gets better for empty results.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-05 05:54:08 +00:00
westi ca41e227ad Select the link in the link popup again. Fixes #6521 for trunk props azaozz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-03 20:14:37 +00:00
markjaquith 6a41b549d0 Fix gallery shortcode orderby param for all SQL setups. Sanitize orderby. fixes #6476 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-03 03:05:49 +00:00
westi 3eee635513 Replace the last usage of ctype_digit with is_numeric. Fixes #6534 for trunk props mtekk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-02 16:18:11 +00:00
markjaquith 29a551d786 Sanitize "cat" query var and cast to int before looking for a category template
git-svn-id: http://svn.automattic.com/wordpress/trunk@7586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-02 13:15:21 +00:00
westi 8ca58c943e Rearrange the media uploader view so the filename is visible. Fixes #6517 for trunk props andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-01 21:12:35 +00:00
markjaquith 359fb2aced Parse shortcodes AFTER wpautop() to avoid mangling. Have wptexturize() ignore shortcodes so quotes stay straight. fixes #6444 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-31 07:56:58 +00:00
westi 74a7fc7923 Specify collation as well when connecting to the database if it is provided. See #6410 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-30 17:56:27 +00:00
markjaquith 5ab9ee6a8f Gallery XHTML validation fixes. props shelleyp. fixes #6461 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-30 16:41:43 +00:00
westi 88cbd04406 Make sure the rewrite rules for the feed files match when WordPress is installed in a subdirectory. See #6460 this is for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-30 13:42:03 +00:00
markjaquith 9eeb25a302 Remove errant commas to prevent file uploader script errors in IE7. props tsimmons. fixes #6443 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-30 06:11:30 +00:00
westi 9e849cc2ec Trunk is for 2.6 development now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-29 16:47:16 +00:00
matt 81f9a12d30 Live from WordCamp Dallas. :)
git-svn-id: http://svn.automattic.com/wordpress/trunk@7566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-29 14:39:28 +00:00
matt 214aaea94f In some environments people can override most things but not mod_sec rules, so this breaks their blog and they can't recover unless they manually edit the file. There is no way to detect whether you can overwrite the rules or not.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-29 04:03:09 +00:00
westi 73768f4a8d Remove the slash from html generators and camelcase WP. Fixes #6440 props lloydbudd.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-28 19:05:22 +00:00
matt a419491688 Shortcode quotes were getting texturized, which can cause a bit of chaos. Fixes #6436.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-28 15:23:09 +00:00
ryan 111549dfc0 RC3
git-svn-id: http://svn.automattic.com/wordpress/trunk@7560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-28 07:02:55 +00:00
ryan c4865c3418 Disable mod_security for uploader. Props andy. see #6406
git-svn-id: http://svn.automattic.com/wordpress/trunk@7558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-28 06:08:20 +00:00
ryan a29ec701f5 TinyMCE RTL and paste as plain text fixes from azaozz. fixes #6429
git-svn-id: http://svn.automattic.com/wordpress/trunk@7556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-28 03:49:35 +00:00
ryan 77d5b58105 Rehash old md5 hashes inside of wp_check_password() to make hashing more pluggable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 22:44:47 +00:00
ryan 585f442ec5 Redirect back to attachment permalink page after editing attachment via 'Edit This' link.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 22:05:51 +00:00
ryan 6d81b777d7 Remove unanchored string replacement. Props nh7a. fixes #6423
git-svn-id: http://svn.automattic.com/wordpress/trunk@7551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 20:10:29 +00:00
ryan 29839a2fb5 Localize date in dashboard. Props hervada and nbachiyski. fixes #6397
git-svn-id: http://svn.automattic.com/wordpress/trunk@7548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 08:09:06 +00:00
ryan a480e4e55b Allow register_taxonomy() to be called before init for back compat with impatient plugins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 06:30:20 +00:00
markjaquith feece21b1f Use attachment title instead of filename, unless it is empty
git-svn-id: http://svn.automattic.com/wordpress/trunk@7533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 21:00:21 +00:00
markjaquith 740f33ea4b Autosave fixes for attachments from andy. fixes #6389
git-svn-id: http://svn.automattic.com/wordpress/trunk@7532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 20:28:40 +00:00
ryan bba593e250 Fix attachment links for permalink structures containing category tag. Props andy. fixes #4699
git-svn-id: http://svn.automattic.com/wordpress/trunk@7531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 20:17:31 +00:00
markjaquith e6f396880b Clean up the Write Post/Write Page/Edit Comment screens for people without JS. Introduce the hide-if-no-js and hide-if-js automagical classes. fixes #6395
git-svn-id: http://svn.automattic.com/wordpress/trunk@7529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 20:06:18 +00:00
ryan f2d7699045 get_term_link() fixes for core taxonomies. Props andy. see #6357
git-svn-id: http://svn.automattic.com/wordpress/trunk@7526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 18:26:22 +00:00
ryan 89fc6085db RC2
git-svn-id: http://svn.automattic.com/wordpress/trunk@7521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 06:50:42 +00:00
ryan e1b1845154 Taxonomy links and template tags from andy. see #6357
git-svn-id: http://svn.automattic.com/wordpress/trunk@7520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 06:37:19 +00:00
ryan 65d22bd47c Handle more than 3 columns in gallery. Props Dickie. fixes #6382
git-svn-id: http://svn.automattic.com/wordpress/trunk@7516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 03:34:55 +00:00
ryan 8895454664 Fixing several problems with TiynMCE, triggering of autosave() on an empty post in Safari 3.1, <br> tags in FF, <object> tag may break if switching from Visual to HTML mode and back several times, little cleanup of the compressor and others. Props azaozz. fixes #6384
git-svn-id: http://svn.automattic.com/wordpress/trunk@7513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 03:22:53 +00:00
ryan 8f35f1a817 Cleanup cat query var
git-svn-id: http://svn.automattic.com/wordpress/trunk@7511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-25 17:47:02 +00:00
ryan 064322eded Reture true from got_mod_rewrite if we can't determine if the module is loaded. Add got_rewrite filter. Props andy. fixes #6278
git-svn-id: http://svn.automattic.com/wordpress/trunk@7508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-25 00:22:37 +00:00
ryan faff475746 Accept array of object types when registering a taxonomy. Props andy. see #6357
git-svn-id: http://svn.automattic.com/wordpress/trunk@7507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 22:43:20 +00:00
ryan f9f1f16dca in_category(): Return immediately if category is empty.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 20:39:05 +00:00
ryan 1276a8283c Fix some notices
git-svn-id: http://svn.automattic.com/wordpress/trunk@7503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 20:30:33 +00:00
ryan 47dec4bad6 FF3_b4 horizontal selects fix, widgets css fixes for IE6 and other small fixes and improvements from mt. fixes #6370
git-svn-id: http://svn.automattic.com/wordpress/trunk@7502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 16:18:30 +00:00
westi 5180584bfb Upgrade the database so we get all the new options for thumbnail size etc in all blogs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 12:15:55 +00:00
matt f868d87004 Bring in forgotton tag_escape. Fixes #6368.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 05:15:28 +00:00
ryan 193b20c03f Gallery display enhancements from tellyworth. fixes #6368
git-svn-id: http://svn.automattic.com/wordpress/trunk@7496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 02:57:19 +00:00
westi 84a5d17f6e Setup the class variable for when it's not used. Props dickie.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 22:10:00 +00:00
matt 6be1f709f6 Return the content so everything doesn't go blank from [7491]. See #6537. Hat tip: robmil.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 18:19:03 +00:00
ryan cce67416a3 Taxonomy queries and urls. Props andy. see #6357
git-svn-id: http://svn.automattic.com/wordpress/trunk@7491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 17:02:11 +00:00
ryan 9ff67a46b4 Maintain toolbar state. Props azaozz. fixes #6360
git-svn-id: http://svn.automattic.com/wordpress/trunk@7489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 16:37:06 +00:00
ryan 31d303ea1b Add default for post_excerpt. see #6355
git-svn-id: http://svn.automattic.com/wordpress/trunk@7482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 00:58:47 +00:00
ryan bc1e8fd755 Make sure IDs are >= 0. see #6305
git-svn-id: http://svn.automattic.com/wordpress/trunk@7481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 00:55:11 +00:00
westi da305bbce0 Tabindex for the Preview/View links. See #6352.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 22:19:25 +00:00
matt 712f33944b Helper comment and lowercase filenames before playing around with them, to avoid extension duplication.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 19:34:21 +00:00
ryan c7dcfa6261 Fix loading of colors RTL css. Props mani_monaj. see #6296
git-svn-id: http://svn.automattic.com/wordpress/trunk@7477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 18:33:31 +00:00
matt fc2ee8bd18 Better default quality.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 17:14:53 +00:00
westi ad583a7219 Improve the tabindex's on the Write>Post page. Need to do the others too.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 09:14:49 +00:00
ryan e380fb0e15 Update background color of insert link dialog. Props azaozz. fixes #6304
git-svn-id: http://svn.automattic.com/wordpress/trunk@7471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 08:23:18 +00:00
ryan a370785fbc Fix custom field add/update/delete. Props mdawaffe. fixes #6343
git-svn-id: http://svn.automattic.com/wordpress/trunk@7468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 08:15:48 +00:00
ryan 6de702f183 pretty delete animation, fix squashed icons and use 80x60 thumbs, add rel attrs to attachment links inserted from uploader. Props andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 23:21:27 +00:00
ryan 138770edd6 TinyMCE updates from azaozz. fixes #6340
git-svn-id: http://svn.automattic.com/wordpress/trunk@7464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 22:13:03 +00:00
markjaquith d93684e0c1 increment comment moderation counter when unapproving comment from approved comments screen. props mdawaffe. fixes #6338
git-svn-id: http://svn.automattic.com/wordpress/trunk@7462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 21:57:25 +00:00
ryan 8dcc9e02fa Close img tag. Props Otto42. fixes #6339
git-svn-id: http://svn.automattic.com/wordpress/trunk@7461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 21:39:28 +00:00
ryan e6e3b1aa35 Cleanup slashing in wp_mkdir_p
git-svn-id: http://svn.automattic.com/wordpress/trunk@7455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 18:27:56 +00:00
ryan 3ea6a438f9 Fix parens in walker. Props hailin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 18:11:47 +00:00
markjaquith fb1ad3901f make_clickable() trailing punctuation fixes from neodude. fixes #5081
git-svn-id: http://svn.automattic.com/wordpress/trunk@7452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 16:29:59 +00:00
ryan d0f6f37841 Change default phpmailer address
git-svn-id: http://svn.automattic.com/wordpress/trunk@7451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 16:11:47 +00:00
ryan 4f413d7437 W-P! rocks the CamelCase. Props lloydbudd. fixes #6335
git-svn-id: http://svn.automattic.com/wordpress/trunk@7450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 16:10:33 +00:00
westi 98a76f76c7 We use "do not" not "don't". Fixes #6328 props rnt.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 09:25:03 +00:00
westi 6a50d730cb Add sanitization of option values to add_option. Fixes #5209 props johnbillion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 08:56:29 +00:00
westi 0c733599d4 Add a filter to the jpeg_quality to allow for it to be modified. Fixes #6289.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 08:31:50 +00:00
markjaquith f3e25d6df3 better Apache mod detection from andy. fixes #6278
git-svn-id: http://svn.automattic.com/wordpress/trunk@7441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 04:10:01 +00:00
markjaquith c5e0b789f6 Prevent uploads from overwriting each other. props neodude. fixes #6294
git-svn-id: http://svn.automattic.com/wordpress/trunk@7440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 04:03:33 +00:00
markjaquith 62642cb9fe "Go back" link for admin-initiated post/page edits. e.g. do a search, edit a post, click the link to go back to the search.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 03:31:12 +00:00
ryan ef8ff2324c use explicit attachment permalink marker for int names. Props andy. fixes #6280
git-svn-id: http://svn.automattic.com/wordpress/trunk@7437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 03:08:22 +00:00
ryan 1ec1d3902d parseAjaxResponse fix from mdawaffe. fixes #6326
git-svn-id: http://svn.automattic.com/wordpress/trunk@7436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 03:03:38 +00:00
ryan 609f04c4b9 Make b0rked message slightly more informative.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 23:39:39 +00:00
ryan da37142561 Capture last db error. Pass it in WP_Error data when term inserts fail. Fix typo in WP_Ajax_Response
git-svn-id: http://svn.automattic.com/wordpress/trunk@7431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 23:34:32 +00:00
ryan 4784e3bd97 Return error if term DB insert fails
git-svn-id: http://svn.automattic.com/wordpress/trunk@7430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 22:33:34 +00:00
markjaquith fda19a41bf don't time-throttle comments from Administrators
git-svn-id: http://svn.automattic.com/wordpress/trunk@7425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 20:32:18 +00:00
ryan a1154832ff Use uniqid if getmypid is disabled. Props Solar Designer. fixes #6293
git-svn-id: http://svn.automattic.com/wordpress/trunk@7421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 19:56:37 +00:00
ryan d919604a9e Don't error_log() if error_log file is not writable. see #5771
git-svn-id: http://svn.automattic.com/wordpress/trunk@7419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 19:16:38 +00:00
ryan c5d75f1195 Don't error_log() if error_log file is not writable. see #5771
git-svn-id: http://svn.automattic.com/wordpress/trunk@7418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 19:08:40 +00:00
markjaquith 26eff23f34 Multi-widgets should never be removed if you click cancel. props mdawaffe. fixes #6291
git-svn-id: http://svn.automattic.com/wordpress/trunk@7411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 04:39:23 +00:00
ryan a88ac8c62c Bump ver to distinguish ongoing trunk from the RC1 package.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 00:40:07 +00:00
ryan 95c51418d8 Degrade flash upload if the server is lightttpd < 1.5. Props nbachyski. fixes #6243
git-svn-id: http://svn.automattic.com/wordpress/trunk@7406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 00:33:59 +00:00
ryan 7c83d7abd1 Suppress errors during option retrieval while installing. see #5771
git-svn-id: http://svn.automattic.com/wordpress/trunk@7405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-19 23:17:23 +00:00
markjaquith 0f026c38f9 Do not double-mark posts as "Private" in the admin. fixes #3146
git-svn-id: http://svn.automattic.com/wordpress/trunk@7404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-19 21:33:47 +00:00
ryan 81466f4604 TinyMCE cache fixes from markjaquith and azaozz. fixes #6295
git-svn-id: http://svn.automattic.com/wordpress/trunk@7402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-19 18:53:01 +00:00
ryan c66438659d ngettext fixes from nbachiyski. fixes #6261
git-svn-id: http://svn.automattic.com/wordpress/trunk@7397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-19 16:00:09 +00:00
markjaquith f704e592a9 wp_nonce_ays() HTML fixes from DD32. fixes #6270
git-svn-id: http://svn.automattic.com/wordpress/trunk@7395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-19 06:04:45 +00:00
markjaquith 0ebd2b681a Autosave when title has content and loses focus. props ryan. see #5749
git-svn-id: http://svn.automattic.com/wordpress/trunk@7394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-19 05:38:58 +00:00
markjaquith 15b17df867 moderation.php is no more. All hail edit-comments.php?comment_status=moderated
git-svn-id: http://svn.automattic.com/wordpress/trunk@7391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 23:24:04 +00:00
ryan afc92801a1 Fix over-aggressive form validation. Props mdawaffe. fixes #6209
git-svn-id: http://svn.automattic.com/wordpress/trunk@7384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 19:20:18 +00:00
ryan 19e2cf5f61 Typo fix. fixes #6230
git-svn-id: http://svn.automattic.com/wordpress/trunk@7383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 17:29:30 +00:00
ryan 901703c63d Restore wp-langs changes. Props azaozz. fixes #6273
git-svn-id: http://svn.automattic.com/wordpress/trunk@7380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 16:32:05 +00:00
ryan 8427f15bca Buhbump
git-svn-id: http://svn.automattic.com/wordpress/trunk@7379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 07:01:01 +00:00
ryan b530b3b7dc TinyMCE fixes from azaozz. fixes #6272
git-svn-id: http://svn.automattic.com/wordpress/trunk@7378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 06:59:53 +00:00
ryan c700c87195 Add explanatory text for upgrade plugin nonce. Props DD32. see #5586
git-svn-id: http://svn.automattic.com/wordpress/trunk@7377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 05:04:18 +00:00
ryan cd4894370a More nonce renewals from andy. fixes #6266
git-svn-id: http://svn.automattic.com/wordpress/trunk@7376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 04:59:54 +00:00
ryan 34d67f9907 Renew autosave nonce. Props andy. fixes #6266
git-svn-id: http://svn.automattic.com/wordpress/trunk@7375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 02:43:20 +00:00
ryan f181ad63a6 Fix check all for IE. Props mdawaffe. fixes #6268
git-svn-id: http://svn.automattic.com/wordpress/trunk@7371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 02:04:54 +00:00
ryan 5f6bc326a4 Better protocol check from Łukasz Pilorz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 01:53:36 +00:00
ryan d9f9cd0375 Fix multi-widget addition with JS disabled. Props mdawaffe. see #6239
git-svn-id: http://svn.automattic.com/wordpress/trunk@7362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-17 23:25:05 +00:00
markjaquith 0f9573513d Bring Edit Page screen up to parity with Edit Post screen WRT timestamps. see #6250
git-svn-id: http://svn.automattic.com/wordpress/trunk@7341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-17 03:26:53 +00:00
ryan 385677b909 Better date editing from MarkJaquith. see #6250
git-svn-id: http://svn.automattic.com/wordpress/trunk@7338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-16 23:05:16 +00:00
westi 7039083a89 Update the allowed attributes for html list elements. Fixes #6253 props andy and lloydbudd.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-16 22:16:27 +00:00
ryan 4f60026851 Don't allow duplicate category creation. Props westi and mdawaffe. fixes #3799
git-svn-id: http://svn.automattic.com/wordpress/trunk@7336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-16 20:37:02 +00:00
westi ef53fc4b54 Give the default avatar some class.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-16 16:55:31 +00:00
westi e65d6369f2 Switch from addLoadEvent to jQuery(document).ready. Fixes #6241 props azaozz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 22:57:47 +00:00
matt 04ae1fc75a Don't let the auto-suggest overwrite the form field after the page has redrawn a bit. Fixes #6240. Hat tip: azaozz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 22:48:12 +00:00
westi 5cd2e835d8 Allow for wp_nonce_field, wp_referrer_field and wp_original_referer_field be able to return output. Fixes #3628 props robmil.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 22:44:34 +00:00
westi b871aff737 Allow plugins to filter the redirect status as well as the location. See #4790.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 20:50:49 +00:00
westi ae747b14ef Make the preview message consistent. Fixes #6238 props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 19:26:17 +00:00
matt 8734e3d1bf So fresh and so clean, clean.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 17:02:16 +00:00
matt 44cb71faa1 Tooltips for media buttons. Hat tip: azaozz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 16:53:36 +00:00
westi b3709e1ddc Typo fix from johnbillion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 08:29:10 +00:00
westi 6c14cad3c9 Change the default size avatar back to 96 now we are using the new gravatar.com api which supports bigger sizes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 08:27:28 +00:00
markjaquith df240cb60c Use newer Gravatar URL style. props link2caro. fixes #6229
git-svn-id: http://svn.automattic.com/wordpress/trunk@7306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 02:23:27 +00:00
ryan d095605faa i18n fixes from nbachiyski. fixes #6226
git-svn-id: http://svn.automattic.com/wordpress/trunk@7303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 22:20:24 +00:00
matt 5ceb47d0c4 Simpler gallery markup in feeds. Fixs #6225. Hat tip: andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 19:23:56 +00:00
matt 1f8838b373 Let's call a spade a spade.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 07:58:04 +00:00
ryan e077b57335 Make RSS and text widget controls the same width. Props mdawaffe. fixes #6205
git-svn-id: http://svn.automattic.com/wordpress/trunk@7278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 06:30:41 +00:00
ryan c3b5c2cb4e Typo fix from nerrad. fixes #6216
git-svn-id: http://svn.automattic.com/wordpress/trunk@7277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 06:27:25 +00:00
westi 04543417c9 Better protection against double widget insertion. Fixes #6191 props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-13 21:33:11 +00:00
ryan 6d0fa72e1d Remove intermediate images when deleting an attachment. Props tellyworth. fixes #6142
git-svn-id: http://svn.automattic.com/wordpress/trunk@7271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-12 23:15:31 +00:00
ryan 2e439f5810 TinyMCE 3.05 from azaozz. fixes #6195
git-svn-id: http://svn.automattic.com/wordpress/trunk@7270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-12 22:47:11 +00:00
ryan eda7e0e8bc Suppress logging of DB errors when checking if blog is installed. see #5771
git-svn-id: http://svn.automattic.com/wordpress/trunk@7269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-12 22:41:43 +00:00
ryan f89ff6c5a0 Action oriented text for expired session notice. Props lloydbudd. fixes #6193
git-svn-id: http://svn.automattic.com/wordpress/trunk@7268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-12 22:21:14 +00:00
ryan 31abda9e0f Image fixes from andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-12 08:10:00 +00:00
ryan 3d0435bb58 Attachment editing from mdawaffe. fixes #6181
git-svn-id: http://svn.automattic.com/wordpress/trunk@7262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-12 05:50:07 +00:00
ryan 2c535c4ca7 media handling fixes from andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 23:15:17 +00:00
westi 0344154048 Allow plugins to filter the result of get_user_option().
git-svn-id: http://svn.automattic.com/wordpress/trunk@7253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 21:37:23 +00:00
ryan 674e725d06 Fix edit links for attachments. Props mdawaffe. fixes #6168
git-svn-id: http://svn.automattic.com/wordpress/trunk@7250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 21:08:09 +00:00
ryan f0479dbc17 Admin color selector. see #6167
git-svn-id: http://svn.automattic.com/wordpress/trunk@7249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 21:06:03 +00:00
westi 77c0f608c8 Better self links for feeds. Fixes #5238 props andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 18:18:22 +00:00
ryan 0b22d34ee6 More TinyMCE color abstraction and new border for title and editor. Props azaozz. fixes #6156
git-svn-id: http://svn.automattic.com/wordpress/trunk@7240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 16:54:48 +00:00
ryan 7fa4744082 Upgrade message in dash. Props mdawaffe. fixes #6060
git-svn-id: http://svn.automattic.com/wordpress/trunk@7237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 16:13:07 +00:00
westi f14702fb65 Bring the bubble back when we have moderated a comment. Fixes #6010 props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 08:55:57 +00:00
matt 4c715fbd58 Turn off the fullsize argument, which was accidentally toggled earlier.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 07:45:31 +00:00
matt c3c45d74fc Abstract TinyMCE colors. Fixes #6154. Hat tip: azaozz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 07:31:19 +00:00
matt 13e2adae6b See #5911. Hat tip: andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 01:30:15 +00:00
matt 602266439f Parley voo crunching?
git-svn-id: http://svn.automattic.com/wordpress/trunk@7227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 01:10:48 +00:00
matt e16e98041b Smaller regex.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 00:43:07 +00:00
matt 93e92262cb Big regex for type.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 00:37:29 +00:00
matt 77c8335821 Better media attachment template. See #5911. Hat tip: andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 00:09:14 +00:00
matt 9c8a54f24a Show a message after the upload has finished but before the return HTML is finished.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 23:55:26 +00:00
matt 355c09e6d0 More attachment thumbnail fixes, see #5911. Hat tip: andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 23:04:20 +00:00
matt 4f59f008ab Some more color updates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 22:35:19 +00:00
matt 7807a9d116 Icon fixes. See #5911; hat tip: andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 21:31:33 +00:00
ryan 8aab63b7cf Use default category when getting permalink if the post has no categories assigned. Props nbachiyski. see #6083
git-svn-id: http://svn.automattic.com/wordpress/trunk@7204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 07:15:01 +00:00
ryan b7f524580d Add sanitization to get_link() and get_link_to_edit(). Props mdawaffe. fixes #6125
git-svn-id: http://svn.automattic.com/wordpress/trunk@7193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 05:28:21 +00:00
westi fcddc04547 Remove the entity decoding and recoding from wp_html_excerpt. Fixes #6077 props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-09 22:11:20 +00:00
ryan 589993b783 Make cancel mean cancel. Props mdawaffe. see #5886
git-svn-id: http://svn.automattic.com/wordpress/trunk@7176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-06 23:01:22 +00:00
ryan 1189e1fce8 Added filter for changing the languages selection for the spellchecker, fixed problems with valid_elements and added filter for extended_valid_elements, update to the latest version. Props azaozz. fixes #6111
git-svn-id: http://svn.automattic.com/wordpress/trunk@7173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-06 19:56:02 +00:00
ryan c506a8173c Fix insert, gallery, sizing, type queries, errors, thumbs, type fallback. Props andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-06 19:48:54 +00:00
ryan feb0644005 Use constant instead of DB option for setting autosave_interval. Props mdawaffe. fixes #6075
git-svn-id: http://svn.automattic.com/wordpress/trunk@7165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-06 06:07:53 +00:00
markjaquith 1da923bdfd Post slug fixes from nbachiyski. fixes #6072
git-svn-id: http://svn.automattic.com/wordpress/trunk@7162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-05 22:09:28 +00:00
matt e6b01542a5 Don't return early before filtering.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-05 18:49:56 +00:00
ryan 0e9ffe90bb Improve upload_max_filesize error. Improve error display for long messages. New uploads now added to bottom, not top. Fix align class. Remove redundant header text. Props andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-05 06:46:42 +00:00
ryan 71d63f9b3e Use wp_mkdir_p() to create js cache dir. Props DD32. see #6097
git-svn-id: http://svn.automattic.com/wordpress/trunk@7159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-05 05:53:56 +00:00
ryan 5ca43fe40b Update get_avatar() phpdoc
git-svn-id: http://svn.automattic.com/wordpress/trunk@7158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 22:52:36 +00:00
ryan af95d56dc9 Comment bubble count fixes from mdawaffe. fixes #6090
git-svn-id: http://svn.automattic.com/wordpress/trunk@7153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 17:07:47 +00:00
matt 6ecded2a95 Handle GD errors correctly during image resizing. Fixes #6087. Hat tip: tellyworth.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 04:23:35 +00:00
matt 0456afb16d New functions for attachment image display, fixes #6086. Hat tip: tellyworth.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 04:21:37 +00:00
ryan 241d5fb011 Set autosave_interval for fresh installs. DEfault to 60 if autosave_interval is not set. see #6075
git-svn-id: http://svn.automattic.com/wordpress/trunk@7148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 00:41:49 +00:00
ryan 1365d48ac2 Update to TinyMCE 3.03. Define shortcuts. Relocate cached TMCE file. Props azaozz. fixes #6084
git-svn-id: http://svn.automattic.com/wordpress/trunk@7147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 00:07:29 +00:00
ryan 4e45603410 Post edit collision detection fixes from mdawaffe. fixes #6043
git-svn-id: http://svn.automattic.com/wordpress/trunk@7146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 00:05:30 +00:00
ryan 08ed4d3b40 Autosave notice styling from mdawaffe. fixes #6054
git-svn-id: http://svn.automattic.com/wordpress/trunk@7145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 21:15:34 +00:00
ryan 5aabe0133c Set focus for some fields. Props nbachiyski. fixes #6080
git-svn-id: http://svn.automattic.com/wordpress/trunk@7143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 21:12:17 +00:00
ryan 6e181bb941 Multi-byte character safe excerpting from nbachiyski. fixes #6077
git-svn-id: http://svn.automattic.com/wordpress/trunk@7140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 21:05:23 +00:00
ryan 5504c11b58 Only show "saved at" when the post was actually saved. Props mdawaffe. fixes #6053
git-svn-id: http://svn.automattic.com/wordpress/trunk@7138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 20:58:06 +00:00
ryan 0ab4077b3c Image sizing fix from andy. fixes #6074
git-svn-id: http://svn.automattic.com/wordpress/trunk@7137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 20:53:04 +00:00
matt bb22054028 Creating intermediate sizes, better thumbnails, and other image improvements. Hat tip: tellyworth.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 04:17:37 +00:00
matt bf18e2fd3f Deal correctly with empty upload_path option. Hat tip: tellyworth.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 04:14:16 +00:00
ryan bf8f7b0f28 Make sure avatar size is numeric. Props Martin2006. fixes #6069
git-svn-id: http://svn.automattic.com/wordpress/trunk@7132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-02 21:41:35 +00:00
ryan 48368e8a7f Set eol-style. Props nbachiyski. fixes #6065
git-svn-id: http://svn.automattic.com/wordpress/trunk@7131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-02 21:34:25 +00:00
ryan 04c9051a7d Remove trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-02 20:17:30 +00:00
ryan 7d9f5e76a0 max width fixes from azaozz. fixes #6051
git-svn-id: http://svn.automattic.com/wordpress/trunk@7121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-01 08:13:23 +00:00
ryan 73b84563d3 max width fixes from azaozz. fixes #6051
git-svn-id: http://svn.automattic.com/wordpress/trunk@7114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 23:27:02 +00:00
ryan 884be4169f Add option to check caps when querying a particular post status. fixes #6052
git-svn-id: http://svn.automattic.com/wordpress/trunk@7109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 21:49:49 +00:00
ryan 03170d477f Use preg_replace_callback instead of 'e' modifier. see #5644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 18:28:32 +00:00
ryan 6fe2cd5873 Use preg_replace_callback instead of 'e' modifier. see #5644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 17:49:50 +00:00
ryan 577f12beae Update deprecated attributes. Props hansengel. fixes #6037
git-svn-id: http://svn.automattic.com/wordpress/trunk@7104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 17:09:44 +00:00
ryan d9aef704a1 Post Edit Collision Detection from mdawaffe. fixes #6043
git-svn-id: http://svn.automattic.com/wordpress/trunk@7103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 09:51:36 +00:00
ryan daf37cc98c Media Library updates from andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 06:54:15 +00:00
ryan 3bf5a1849b Media icons. fixes #6039
git-svn-id: http://svn.automattic.com/wordpress/trunk@7099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 06:49:05 +00:00
ryan 259bc26542 urlencode only when needed. Props spikeyslam. see #5775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 22:01:56 +00:00
ryan 09f33b6865 Revert [7093]. Need a different method. see #6032
git-svn-id: http://svn.automattic.com/wordpress/trunk@7094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 21:57:39 +00:00
ryan c4bb6ba122 Fade approved comments from moderated list. Props filosofo. fixes #6032
git-svn-id: http://svn.automattic.com/wordpress/trunk@7093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 21:51:57 +00:00
ryan 282ed12fa4 Media library updates from andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 21:29:51 +00:00
westi cf7e0adf8b Use a default size that gravatar supports rather than one it doesn't. Fixes #6033 props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 21:11:47 +00:00
westi 717b7316bf Ensure email address is lower case in get_avatar(). Fixes #6028 props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 16:34:59 +00:00
ryan f529aef82d Widget admin layout fixes from mdawaffe. fixes #5997
git-svn-id: http://svn.automattic.com/wordpress/trunk@7086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 09:11:11 +00:00
ryan 51a3623aed Unify comment display. Props mdawaffe. fixes #6025
git-svn-id: http://svn.automattic.com/wordpress/trunk@7082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 06:50:25 +00:00
ryan c313442072 Cast to array
git-svn-id: http://svn.automattic.com/wordpress/trunk@7081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 06:43:45 +00:00
ryan b2838e11c7 Fix widgets using old-style multi instance support. Props mdawaffe. fixes #6023
git-svn-id: http://svn.automattic.com/wordpress/trunk@7080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 00:31:46 +00:00
ryan d0dfa68b6a fix new-fangled multi widgets. Props mdawaffe. see #6022
git-svn-id: http://svn.automattic.com/wordpress/trunk@7077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 23:57:00 +00:00
ryan 363ddd3b4f Fix AJAX comment moderation on edit post view. Props mdawaffe. fixes #4245
git-svn-id: http://svn.automattic.com/wordpress/trunk@7075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 23:36:24 +00:00
ryan b9d443b574 Introduce get_post_ancestors(). Add current_page_ancestor class to ancestors of the current page. Props AaronCampbell. fixes #5662
git-svn-id: http://svn.automattic.com/wordpress/trunk@7074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 23:28:18 +00:00
ryan affd57730c Add current_page_item on page_for_posts. Props mdawaffe. fixes #2959
git-svn-id: http://svn.automattic.com/wordpress/trunk@7073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 22:38:02 +00:00
ryan 0b43776d5f For page attachmentes, set both is_attachment and is_page to true so that templates cascade correctly.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 21:30:59 +00:00
ryan d236d4f3e1 remove debug cruft and set swfupload max file size to match php ini. Props andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 19:36:02 +00:00
westi 9735b962ba A better in_category which supports category names that are all numbers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 18:25:25 +00:00
ryan 5367493b1e gettext fixes from takayukister. fixes #6018
git-svn-id: http://svn.automattic.com/wordpress/trunk@7063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 17:19:58 +00:00
ryan e1bb43b66b set eol style
git-svn-id: http://svn.automattic.com/wordpress/trunk@7061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 05:37:13 +00:00
ryan 77aa40f291 TinyMCE 3.02 from azaozz. fixes #6012
git-svn-id: http://svn.automattic.com/wordpress/trunk@7060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 05:36:42 +00:00
ryan 354edc9544 Don't load wp-lists on pages that don't need it. Props mdawaffe. fixes #6011
git-svn-id: http://svn.automattic.com/wordpress/trunk@7057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 00:46:27 +00:00
ryan 83df1eb992 Use preg_replace_callback() instead of using the 'e' modifier.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 00:37:40 +00:00
ryan 03b47d4ddc Revert [7054]. No idea how I managed that.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 00:36:33 +00:00
ryan fb02817dfc Fix users query
git-svn-id: http://svn.automattic.com/wordpress/trunk@7054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 00:25:08 +00:00
ryan 2825626009 Remove listman from script loader
git-svn-id: http://svn.automattic.com/wordpress/trunk@7053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 23:04:44 +00:00
ryan 5505b145af Bump jquery color ver
git-svn-id: http://svn.automattic.com/wordpress/trunk@7052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 22:51:16 +00:00
ryan f4422c2842 Remove list-manipulation.js. No longer used
git-svn-id: http://svn.automattic.com/wordpress/trunk@7051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 22:48:47 +00:00
ryan 8ebf2db0c6 Ajax tweaks for edit-comments.php from mdawaffe. fixes #6009
git-svn-id: http://svn.automattic.com/wordpress/trunk@7050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 22:45:46 +00:00
ryan 77f215393c fix overuse of default mime icon and re-shuffle mp4/m4a file type matches. Props andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 19:57:00 +00:00
ryan 1eaf857f7b Media upload updates from andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 19:30:10 +00:00
ryan 1b08613a81 Add some defaults for wp_insert_attachment. fixes #6006
git-svn-id: http://svn.automattic.com/wordpress/trunk@7042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 18:51:45 +00:00
ryan de3ab9a05e image_resize() and friends from tellyworth. fixes #6005
git-svn-id: http://svn.automattic.com/wordpress/trunk@7041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 18:46:03 +00:00
ryan 4446c81177 Return error when requesting invalid feed format. Props pishmishy. fixes #5446
git-svn-id: http://svn.automattic.com/wordpress/trunk@7038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 10:05:05 +00:00
ryan 5f5694ee64 Silence warnings if error_log is disabled. fixes #5771
git-svn-id: http://svn.automattic.com/wordpress/trunk@7037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 09:45:51 +00:00
ryan 16c4b30145 update mime-to-icon matching and get filename from function instead of guid. Props andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 08:54:11 +00:00
ryan fabda2a2d3 Fix edit comment form tab indices. fixes #5712
git-svn-id: http://svn.automattic.com/wordpress/trunk@7032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 04:53:48 +00:00
westi fdb26f5bae Support category names in in_category(). Fixes #4558 props robmil.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-25 22:18:41 +00:00
westi 35a2e26b4d Add keyed object output to wpdb::get_results. Fixes #5286 props andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-25 22:00:27 +00:00
ryan 538126aff8 Workaround Safari crasher. Props azaozz. fixes #5945
git-svn-id: http://svn.automattic.com/wordpress/trunk@7025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-25 19:03:35 +00:00
ryan 68606d301e get_pagenum_link filter from Martin2006. fixes #5969
git-svn-id: http://svn.automattic.com/wordpress/trunk@7022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-25 18:40:46 +00:00
ryan 2e38b04136 Error page styling from mt. fixes #5977
git-svn-id: http://svn.automattic.com/wordpress/trunk@7001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-24 04:33:51 +00:00
ryan b793e1846f Revert changes to canonical that broke redirects. Props fitztrev. fixes #5961
git-svn-id: http://svn.automattic.com/wordpress/trunk@6998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-24 02:09:24 +00:00
westi 8d42a5d342 Fix the display of human time difference when server timezone if different from blog timezone. Fixes #5970 props jhodgdon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-23 22:11:47 +00:00
ryan 93f0c00cb7 Manage comments rework. WIP
git-svn-id: http://svn.automattic.com/wordpress/trunk@6994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-23 08:33:44 +00:00
ryan 699b250926 Small code formatting tweak
git-svn-id: http://svn.automattic.com/wordpress/trunk@6986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 20:48:28 +00:00
ryan b49ff57e63 Make sure post has future status before publishing from cron. Props hailin. fixes #5801
git-svn-id: http://svn.automattic.com/wordpress/trunk@6985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 19:59:12 +00:00
ryan 038910ae4e Upload path fixes from tellyworth. see #5953
git-svn-id: http://svn.automattic.com/wordpress/trunk@6984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 17:46:03 +00:00
ryan dce0978cee Notice fixes from nbachiyski. fixes #5961
git-svn-id: http://svn.automattic.com/wordpress/trunk@6983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 17:43:56 +00:00
ryan 54f091eebf Allow overriding the default secret key. Proy. Props nbachiyski. fixes #5960
git-svn-id: http://svn.automattic.com/wordpress/trunk@6982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 17:36:09 +00:00
ryan c5d19aed9c Media library work from andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@6974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 05:53:47 +00:00
ryan fa9f3af382 Move blockquote to first toolbar. Props azaozz. fixes #5709
git-svn-id: http://svn.automattic.com/wordpress/trunk@6973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 05:07:03 +00:00
ryan 2724f9479e Restore JIT script localization. Props azaozz. fixes #5921
git-svn-id: http://svn.automattic.com/wordpress/trunk@6971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 04:02:09 +00:00
ryan e6a1bade1c Make pagename regex ungreedy. Fixes /pagename/2 links
git-svn-id: http://svn.automattic.com/wordpress/trunk@6964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 23:49:05 +00:00
ryan e545cdadb1 TinyMCE 3.01. Props azaozz. fixes #5944
git-svn-id: http://svn.automattic.com/wordpress/trunk@6959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 21:40:25 +00:00
ryan 1e755afb7b Ver bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@6957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 21:03:43 +00:00
ryan a739979c12 Revert [6940]. Breaks atompub. see #5717
git-svn-id: http://svn.automattic.com/wordpress/trunk@6956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 20:47:15 +00:00
ryan ed09992863 Slug edit for pages. Hide advanced slug field if JS enabled. Trigger first autosave after 15 chars. Set autosave interval to 60s. Props filosofo. see #5749
git-svn-id: http://svn.automattic.com/wordpress/trunk@6955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 20:19:34 +00:00
ryan f5afc1fd4f Show permalink editor on new posts after autosave. Props filosofo. see #5749
git-svn-id: http://svn.automattic.com/wordpress/trunk@6954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 17:08:06 +00:00
ryan eb3cb51113 Auto add preview link after autosaving a new post or page. Props filosofo. see #5847
git-svn-id: http://svn.automattic.com/wordpress/trunk@6953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 06:19:46 +00:00
ryan 833447d59e Image size options from tellyworth. fixes #5933
git-svn-id: http://svn.automattic.com/wordpress/trunk@6952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 06:00:15 +00:00
ryan 2f7d3a377e Add a default for post_conten_filtered
git-svn-id: http://svn.automattic.com/wordpress/trunk@6951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 00:52:51 +00:00
ryan 726b030412 Allow comment object to be passed to get_avatar() for convenience. see #5775
git-svn-id: http://svn.automattic.com/wordpress/trunk@6946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 20:58:58 +00:00
ryan 3355f0c2af Allow comment object to be passed to get_avatar() for convenience. see #5775
git-svn-id: http://svn.automattic.com/wordpress/trunk@6945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 20:57:21 +00:00
ryan 321845ffcd Skip main posts query if 404. Props misterbisson. fixes #5717
git-svn-id: http://svn.automattic.com/wordpress/trunk@6940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 16:52:40 +00:00
ryan 4bbe72cd41 shortcodes should not require var=val format. Props andy. fixes #5892
git-svn-id: http://svn.automattic.com/wordpress/trunk@6939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 16:47:50 +00:00
ryan b09e83ddca pre_post_update action from tellyworth. fixes #5815
git-svn-id: http://svn.automattic.com/wordpress/trunk@6938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 16:46:44 +00:00
ryan e6fae2dc51 Don't show Add Media when editing comments. Props azaozz. fixes #5910
git-svn-id: http://svn.automattic.com/wordpress/trunk@6930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 05:39:04 +00:00
ryan 2533bac2df Lose caching of user DB misses. Wasn't working out that well.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 05:34:51 +00:00
ryan ecc8de81b9 Revert [6921]. see #5928
git-svn-id: http://svn.automattic.com/wordpress/trunk@6925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 02:55:36 +00:00
ryan 9e349220b5 Update edit comment form. WIP
git-svn-id: http://svn.automattic.com/wordpress/trunk@6923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 02:41:16 +00:00
ryan e0e9db30d7 Do version check on admin_init. Props DD32. fixes #5928
git-svn-id: http://svn.automattic.com/wordpress/trunk@6921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 00:16:44 +00:00
ryan 7c8c648554 Don't save translated role names to the DB. Instead, translate them on the fly. fixes #3442 #5537
git-svn-id: http://svn.automattic.com/wordpress/trunk@6916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-19 20:28:54 +00:00
ryan 3e9b80d5ef Support positional attributes in shortcodes. Props tellyworth. fixes #5914
git-svn-id: http://svn.automattic.com/wordpress/trunk@6911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-19 06:52:30 +00:00
ryan 366cfe0d03 Media Library design updates from Andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@6910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-19 06:13:20 +00:00
ryan 0a875e8b22 Make user option name sanitization consistent. Props filosofo. fixes #5901
git-svn-id: http://svn.automattic.com/wordpress/trunk@6902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 20:16:02 +00:00
ryan d92d57bd14 TinyMCE compressor fixes from azaozz. fixes #5900
git-svn-id: http://svn.automattic.com/wordpress/trunk@6900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 19:25:56 +00:00
ryan 1ba0025c60 Add optional post ID arg to the_category and get_the_category_list. Props filosofo. fixes #5050
git-svn-id: http://svn.automattic.com/wordpress/trunk@6899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 17:46:26 +00:00
ryan bd8069aba7 Typo fix from rnt. fixes #5894
git-svn-id: http://svn.automattic.com/wordpress/trunk@6895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 17:13:21 +00:00
ryan 6bef16a574 TinyMCE config enhancements from azaozz. fixes #5896 #5888
git-svn-id: http://svn.automattic.com/wordpress/trunk@6894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 17:11:12 +00:00
ryan 8efbdbbec1 Fix TinyMCE translation typo. Props rnt. fixes #5769
git-svn-id: http://svn.automattic.com/wordpress/trunk@6893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 17:07:23 +00:00
ryan 02292333f0 Bump js ver
git-svn-id: http://svn.automattic.com/wordpress/trunk@6877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-16 22:05:37 +00:00
ryan 8db820753e Media handling updates from andy. fixes #5874
git-svn-id: http://svn.automattic.com/wordpress/trunk@6876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-16 21:54:47 +00:00
westi 86c55d6d67 More specific moderation emails for {ping|track}backs. Fixes #4986 props Otto42.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-16 17:03:05 +00:00
ryan 4cd65bf8d0 Default args to array. Props fitztrev. fixes #5866
git-svn-id: http://svn.automattic.com/wordpress/trunk@6861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-15 20:42:53 +00:00
ryan 30fa0eb3c7 Walker markup fixes from hailin. fixes #5844
git-svn-id: http://svn.automattic.com/wordpress/trunk@6858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-15 07:34:52 +00:00
ryan 1857fc1627 generic_ping() improvements from fitztrev. fixes #5855
git-svn-id: http://svn.automattic.com/wordpress/trunk@6853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 21:50:43 +00:00
ryan 5ed843d6d8 Support ordering for term relationships. Props andy. fixes #5857
git-svn-id: http://svn.automattic.com/wordpress/trunk@6851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 17:17:57 +00:00
ryan 467387c34f auto-add css class when using align on Image. Props azaozz. fixes #5856
git-svn-id: http://svn.automattic.com/wordpress/trunk@6844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 05:45:40 +00:00
ryan e3b7a9c202 Add more sort options to wp_get_object_terms(). Props andy. fixes #5245
git-svn-id: http://svn.automattic.com/wordpress/trunk@6843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 05:40:19 +00:00
ryan c19d47bb75 Revert [6835] as it breaks the depth arg. see#5844
git-svn-id: http://svn.automattic.com/wordpress/trunk@6839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 02:51:12 +00:00
ryan 939cc4624a Walker markup fixes from hailin. fixes #5844
git-svn-id: http://svn.automattic.com/wordpress/trunk@6835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 00:54:52 +00:00
westi ab4ce8237d '>"
git-svn-id: http://svn.automattic.com/wordpress/trunk@6828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 21:56:56 +00:00
ryan 8bbf359295 Add comment_date_gmt key to comments table. Optimize _wp_get_comment_list() query. fixes #5785
git-svn-id: http://svn.automattic.com/wordpress/trunk@6825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 19:15:30 +00:00
ryan e5879ea923 Add RAND order option to wp_tag_cloud(). Props fitzrev. fixes #5726
git-svn-id: http://svn.automattic.com/wordpress/trunk@6824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 19:12:46 +00:00
ryan daf0d9a7e9 Allow is_single(), is_category(), and is_tag() to accept arrays. Props fitzrev. fixes #5593
git-svn-id: http://svn.automattic.com/wordpress/trunk@6823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 19:02:08 +00:00
ryan 3b04c16b5e Add wp_list_bookmarks filter. Props codealsatian. fixes #5532
git-svn-id: http://svn.automattic.com/wordpress/trunk@6822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 18:47:34 +00:00
ryan 84a3a81bb8 Improve metadata for atom comment search feeds. Props ionfish. fixes #5493
git-svn-id: http://svn.automattic.com/wordpress/trunk@6819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 18:29:10 +00:00
ryan 0ac5af1f6e Add a prophylactic specialchars to the object in explain nonce. see #5838
git-svn-id: http://svn.automattic.com/wordpress/trunk@6817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 18:14:38 +00:00
ryan 6199f2dc76 Make Nonce Mismatch Fail Instead of AYS. Props filosofo. fixes #5838 for 2.5
git-svn-id: http://svn.automattic.com/wordpress/trunk@6813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 17:39:40 +00:00
ryan c516aa6a42 Add gzip_compression() stub in case someone actually uses it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 11:21:09 +00:00
ryan c21c9af12a Reduce queries by wp_count_posts(). Props josephscott. fixes #5820
git-svn-id: http://svn.automattic.com/wordpress/trunk@6808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 09:30:26 +00:00
ryan 7aa24fb904 Use array keys instead of hard coded list when traversing post fields to sanitize. Props andy. fixes #5836
git-svn-id: http://svn.automattic.com/wordpress/trunk@6803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 06:49:23 +00:00
ryan f6cfa549fb Fix variable name typo. Props reinkim. fixes #5834
git-svn-id: http://svn.automattic.com/wordpress/trunk@6802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 06:39:45 +00:00
ryan 9900f35dd3 Fix floated left gallery layout breaks. Prop s nbachiyski. fixes #5828
git-svn-id: http://svn.automattic.com/wordpress/trunk@6801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 06:35:21 +00:00
ryan 8bd0691aa3 Manage categories redesign. Add categories search.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-12 09:02:02 +00:00
ryan 1bd097fff0 Manage links redesign. Add link search.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-12 08:01:32 +00:00
ryan fa53c462a9 tinyMCE compressor update from azaozz. see #5807
git-svn-id: http://svn.automattic.com/wordpress/trunk@6791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 20:19:29 +00:00
ryan 28e1d318bb tinyMCE compressor additions and deletion of unused lang files. Props azaozz. see #5807
git-svn-id: http://svn.automattic.com/wordpress/trunk@6790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 19:22:22 +00:00
ryan 9c7db11219 New gzip compressor for TinyMCE from azaozz. fixes #5807
git-svn-id: http://svn.automattic.com/wordpress/trunk@6789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 17:45:18 +00:00
matt 3b82a74e29 Blow out mem limit, slightly larger thumbnails.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 09:02:44 +00:00
matt f55e3feab2 Lowercase extensions too, dynamically change when we try to create thumbnails by memory limit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 08:02:01 +00:00
matt 76260edc29 A few places we were missing links to new stylesheet.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 07:53:10 +00:00
matt d9738d6cfb Allow uploads outside of the WP path and custom URLs for the same.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 06:35:24 +00:00
ryan 1edf014a54 s/2.4/2.5/. Props ffemtcj. fixes #5810
git-svn-id: http://svn.automattic.com/wordpress/trunk@6777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-10 07:59:34 +00:00
ryan 6f108ce6f3 Remove gzip_compression(). Leave it to the server. fixes #4342
git-svn-id: http://svn.automattic.com/wordpress/trunk@6775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-10 07:12:33 +00:00
ryan 0a89479d1c Maintain hidden toolbar state when switching to fullscreen. Props azaozz. fixes #5806
git-svn-id: http://svn.automattic.com/wordpress/trunk@6773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-10 06:27:03 +00:00
ryan ce4fb5e015 Move editor js to editor.js. fixes #5799
git-svn-id: http://svn.automattic.com/wordpress/trunk@6770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 13:08:28 +00:00
ryan f58f803b5b Automatically add classes to images for floated images. Props azaozz. fixes #5803
git-svn-id: http://svn.automattic.com/wordpress/trunk@6769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 12:42:15 +00:00
ryan a96ae481ff htmlspecialchars when loading content into html editor. Props DD32 and andy. fixes #5796
git-svn-id: http://svn.automattic.com/wordpress/trunk@6767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 07:29:36 +00:00
ryan c25dd9912a gettext for tinymce strings. Props azaozz. see #5769
git-svn-id: http://svn.automattic.com/wordpress/trunk@6765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 06:43:15 +00:00
ryan 9e6593de20 add "select class" to the Image pop-up. Props azaozz. fixes #5803
git-svn-id: http://svn.automattic.com/wordpress/trunk@6764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 05:00:13 +00:00
ryan bf2f730177 Show full content, including content after the more tag, for feeds. fixes #2582
git-svn-id: http://svn.automattic.com/wordpress/trunk@6763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 00:19:48 +00:00
ryan bc817d2a2e Postbox save updates and admin js refactoring from nbachiyski. fixes #5799
git-svn-id: http://svn.automattic.com/wordpress/trunk@6761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-08 19:57:50 +00:00
ryan 9989d4c23e Allow rand post ordering. Props Otto42 and Nazgul. fixes #4617
git-svn-id: http://svn.automattic.com/wordpress/trunk@6760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-08 19:50:10 +00:00
ryan 2ebcad280b jQuery 1.2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@6757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-08 07:33:51 +00:00
ryan 4a662f1776 Precompute the hash of the unknown avatar user to save an md5 call. Props Viper007Bond. see #5775
git-svn-id: http://svn.automattic.com/wordpress/trunk@6756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-08 07:09:01 +00:00
ryan 7646d94d88 Pass 'show' argument to bloginfo_rss filters. Props tzafrir and Viper007Bond. fixes #5267
git-svn-id: http://svn.automattic.com/wordpress/trunk@6750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-07 18:01:33 +00:00
ryan 596f6b0583 Gonna serve default avatars from gravatar. see #5775
git-svn-id: http://svn.automattic.com/wordpress/trunk@6749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-07 06:58:38 +00:00
ryan 36a651ef92 get_avatar(). see #5775
git-svn-id: http://svn.automattic.com/wordpress/trunk@6748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-07 06:07:12 +00:00
ryan 2d7252544b Show media upload buttons when RTE is not enabled. Props tellyworth. fixes #5764
git-svn-id: http://svn.automattic.com/wordpress/trunk@6746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-07 04:21:22 +00:00
markjaquith 21d3dd2a76 Make sure the theme_dir is a dir before we attempt to closedir(). fixes #5768
git-svn-id: http://svn.automattic.com/wordpress/trunk@6744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 23:17:13 +00:00
markjaquith 302ac4890e Allow redirect_canonical filter to cancel a redirect (just return FALSE). see #5766
git-svn-id: http://svn.automattic.com/wordpress/trunk@6743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 22:57:15 +00:00
markjaquith 5b22db23d1 Make RSS 2.0 comment feed GUIDs immutable. fixes #5072
git-svn-id: http://svn.automattic.com/wordpress/trunk@6742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 22:33:21 +00:00
ryan bddedf8c3e Rename is_front() to is_front_page() to avoid conflict with bbPress. see #3682
git-svn-id: http://svn.automattic.com/wordpress/trunk@6740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 21:21:22 +00:00
ryan 7b946b9007 Remove cookie checking from check_ajax_referer(). Check nonces instead. Props mdawaffe. fixes #5782
git-svn-id: http://svn.automattic.com/wordpress/trunk@6739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 21:19:47 +00:00
ryan 6c312db33c Fix fields=names query in get_terms(). Props Sarky-de. fixes #5780
git-svn-id: http://svn.automattic.com/wordpress/trunk@6738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 20:42:03 +00:00
ryan ab0ea44dc7 Page permalink fixes from josephscott. fixes #5781
git-svn-id: http://svn.automattic.com/wordpress/trunk@6737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 18:11:49 +00:00
ryan 8fecb97b09 Order by and index on comment_date_gmt instead of comment_date to insulate order from offset changes. fixes #5773
git-svn-id: http://svn.automattic.com/wordpress/trunk@6736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 23:29:59 +00:00
ryan ed5224f393 Enum to varchar. fixes #4778
git-svn-id: http://svn.automattic.com/wordpress/trunk@6732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 21:05:56 +00:00
ryan b85271e8ed Add wp_count_posts().
git-svn-id: http://svn.automattic.com/wordpress/trunk@6730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 19:08:14 +00:00
ryan b67bbb9e4e Add key on comment_approved,comment_date to speed up last comment modified queries. fixes #5773
git-svn-id: http://svn.automattic.com/wordpress/trunk@6729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 18:04:17 +00:00
ryan 95781cf290 Fix interface sortables for IE7. Props filosofo. see #5583
git-svn-id: http://svn.automattic.com/wordpress/trunk@6728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 16:32:20 +00:00
ryan d88983793b Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
ryan 9f643af85d Dashboard fixes from mdawaffe. No longer stomps sidebar. see #5750
git-svn-id: http://svn.automattic.com/wordpress/trunk@6717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-04 20:38:48 +00:00
ryan 25788ba179 Add filters to comments_open() and pings_open(). Props tellyworth. fixes #5761
git-svn-id: http://svn.automattic.com/wordpress/trunk@6716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-04 20:27:45 +00:00
ryan 45ebbd5bb8 Fix edit link form categories a bit. AJAX add still needs work.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 20:31:56 +00:00
ryan d42b1a8256 Don't hard code post type in edit forms. Props filosofo and DD32. fixes #4991
git-svn-id: http://svn.automattic.com/wordpress/trunk@6712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 19:22:14 +00:00
ryan 8263948a96 Some notice fixes from Nazgul. fixes #3155
git-svn-id: http://svn.automattic.com/wordpress/trunk@6711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 18:42:09 +00:00
ryan 7f4d8b2f27 New dashboard from mdawaffe. see #5750
git-svn-id: http://svn.automattic.com/wordpress/trunk@6705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 07:57:51 +00:00
ryan 43852a57c3 is_front() from markjaquith and Nazgul. fixes #3682
git-svn-id: http://svn.automattic.com/wordpress/trunk@6704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 00:13:34 +00:00
ryan 08a89b8a11 Allow multiple db instances. Props Nazgul. fixes #2722
git-svn-id: http://svn.automattic.com/wordpress/trunk@6701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-31 22:09:17 +00:00
ryan 8945a17651 Add unique 'for' attribute to labels for post password forms. Props Nazgul. fixes #4721
git-svn-id: http://svn.automattic.com/wordpress/trunk@6698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-31 21:47:35 +00:00
ryan ece19d2bfb Merge user-edit.php and profile.php. Props nbachiyski. fixes #5736
git-svn-id: http://svn.automattic.com/wordpress/trunk@6697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-31 21:44:17 +00:00
ryan e2d55ab832 Remove old tinymce files. see #5674
git-svn-id: http://svn.automattic.com/wordpress/trunk@6696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-31 20:48:33 +00:00
ryan 1266b9c53f Update edit link pages. Link categories need work.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-31 20:04:54 +00:00
ryan c1a034bcbe TinyMCE 3.0 Final from azaozz. see #5674
git-svn-id: http://svn.automattic.com/wordpress/trunk@6694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-31 18:10:46 +00:00
ryan 2340b8dda6 Remove spurious dollar sign. fixes #6690
git-svn-id: http://svn.automattic.com/wordpress/trunk@6693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-31 00:58:54 +00:00
ryan 5481803d74 Widget i18n from nbachiyski. see #5583
git-svn-id: http://svn.automattic.com/wordpress/trunk@6692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-30 21:49:56 +00:00
ryan d88d4f85dd Add depth arg to wp_dropdown_categories(). Props pishmishy. fixes #2461
git-svn-id: http://svn.automattic.com/wordpress/trunk@6690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-30 20:07:52 +00:00
ryan f21c535f3f Add fullscreen plugin. Props andy. fixes #5735
git-svn-id: http://svn.automattic.com/wordpress/trunk@6689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-30 06:55:47 +00:00
ryan c52e264fde Don't advance post counter when resetting query. see #5439
git-svn-id: http://svn.automattic.com/wordpress/trunk@6688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 23:58:41 +00:00
ryan dd7370dbe9 Recent entries widget caching fixes from mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 23:28:58 +00:00
ryan 19de78b638 Add wp_authenticate_user filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@6685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 20:17:11 +00:00
ryan 7f4b870b15 Make sure we have a post when doing post comment feed query. Props ruckus. see #5185
git-svn-id: http://svn.automattic.com/wordpress/trunk@6683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 19:01:39 +00:00
westi 520d17d7f0 Switch from abs(intval()) to absint(). See #4762.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 18:48:38 +00:00
ryan 7d78a53a87 like_escape() from nbachiyski. see #5684
git-svn-id: http://svn.automattic.com/wordpress/trunk@6680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 17:20:27 +00:00
ryan 9d46888a48 Add missing close brace.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-28 23:16:04 +00:00
ryan d5973814b7 Move postbox to postbox.js. Don't load cat and tag js for pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-28 21:34:42 +00:00
ryan 8f6920d116 Fill edit slug box with current slug. Props johnbillion and nbachiyski. fixes #5704
git-svn-id: http://svn.automattic.com/wordpress/trunk@6674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-28 20:25:39 +00:00
ryan 71c278e89d Remove PHP 4.2 and 4.3 back compat functions. Props DD32. fixes #5415
git-svn-id: http://svn.automattic.com/wordpress/trunk@6672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-28 20:15:20 +00:00
ryan 80643d6ed9 doubleval bytes. Props tellyworth. fixes #5246
git-svn-id: http://svn.automattic.com/wordpress/trunk@6669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-28 04:55:54 +00:00
westi 2ac5c0204f Remove the duplicate code for sanitising IP Addresses we only need to do it once. Fixes #4579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-26 10:18:33 +00:00
ryan 5602414fa7 Fix autosave dependencies
git-svn-id: http://svn.automattic.com/wordpress/trunk@6666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 23:27:33 +00:00
ryan 879f7f4766 First cut at Manage->Tags. Props jhodgdon. see #5684
git-svn-id: http://svn.automattic.com/wordpress/trunk@6660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 19:29:01 +00:00
matt f529123061 First pass at async upload, multi-upload, and gallery feature. Modified names from patch. Hat tip: tellyworth, skeltoac.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 19:21:11 +00:00
westi f9ba9a3802 Allow IPv6 addresses as well. Fixes #4579 props pishmishy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 18:50:52 +00:00
ryan 2e8ee3b0e0 Typo fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@6657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 03:19:34 +00:00
ryan 4b812eb11f Unescape user data before sending to wpdb::update() and wpdb::insert(), which expect unescaped data.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 02:21:59 +00:00
ryan 6f7d120d5b Remove lingering bit of get_tags cache
git-svn-id: http://svn.automattic.com/wordpress/trunk@6655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 01:59:06 +00:00
ryan e5c94063b0 Clear post_meta cache upon change. Props nbachiyski. fixes #5718
git-svn-id: http://svn.automattic.com/wordpress/trunk@6654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 01:55:21 +00:00
ryan 3c0db5ec37 Restore global post when resetting the query. Props ionfish. fixes #5439
git-svn-id: http://svn.automattic.com/wordpress/trunk@6653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 01:41:57 +00:00
ryan 2d656cdb15 Remove busted get_tags cache. get_terms does the caching for us. Props josephscott
git-svn-id: http://svn.automattic.com/wordpress/trunk@6651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 01:19:53 +00:00
ryan 35bd1677a1 check_ajax_referer() should look for *only* the auth_cookie, not others that look like they match. Autosave should know that an ajax response of -1 or 0 is a failure. Props mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@6649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-24 21:19:42 +00:00
ryan f21535a6b1 Add check_password filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@6648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-24 18:36:45 +00:00
ryan a99e7c0cee Add wp_login_failed action
git-svn-id: http://svn.automattic.com/wordpress/trunk@6647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-24 18:32:21 +00:00
ryan e51dd5d7d1 Don't forget to pass the category
git-svn-id: http://svn.automattic.com/wordpress/trunk@6646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-23 23:38:30 +00:00
westi 839ea6c294 Fix the updated times when publishing/editing with APP. See #5680 props rubys.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-23 20:25:08 +00:00
ryan 7eb704b71b Pass remember arg. see #5405
git-svn-id: http://svn.automattic.com/wordpress/trunk@6644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-23 18:20:59 +00:00
ryan 6afab28342 Refactor login. see #5405
git-svn-id: http://svn.automattic.com/wordpress/trunk@6643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-22 19:35:19 +00:00
ryan f283ceae87 Port wphelp plugin to tinyMCE 3.0. Props azaozz. see #5703
git-svn-id: http://svn.automattic.com/wordpress/trunk@6641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-22 06:23:46 +00:00
ryan 6726698979 get_col() instead of get_results(). Props fitzrev. fixes #5699
git-svn-id: http://svn.automattic.com/wordpress/trunk@6640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-22 05:50:22 +00:00
ryan c12cc74bae phpdoc for pluggable.php from darkdragon. fixes #5509
git-svn-id: http://svn.automattic.com/wordpress/trunk@6637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-20 06:53:42 +00:00
ryan 4ab500c856 Remove old tinymce files. see #5674
git-svn-id: http://svn.automattic.com/wordpress/trunk@6636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-19 00:01:45 +00:00
matt 5fbca12c9e Edit permalink in place. Fixes #5679. Hat tip: nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-17 16:51:32 +00:00
ryan 95bbfed206 TinyMCE 3.0 RC1. First cut, eexpect regressions. Props azaozz. see #5674
git-svn-id: http://svn.automattic.com/wordpress/trunk@6632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-17 15:44:05 +00:00
ryan 0aee557b68 phpdoc for kses from darkdragon. fixes #5641
git-svn-id: http://svn.automattic.com/wordpress/trunk@6630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-16 19:15:07 +00:00
ryan f8ab885ab0 Use PLUGINDIR in plugin_basename(). Props hansengel. fixes #5665
git-svn-id: http://svn.automattic.com/wordpress/trunk@6629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-16 19:11:15 +00:00
ryan c97638a4d9 jQuery 1.2.2 final. Props filosofo. fixes #5492
git-svn-id: http://svn.automattic.com/wordpress/trunk@6618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-15 17:05:07 +00:00
ryan 076634d99b Allow more tags in kses. Props lloydbudd. fixes #5617
git-svn-id: http://svn.automattic.com/wordpress/trunk@6617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-14 23:56:53 +00:00
ryan b95f8d4459 Return, don't echo, array. Props Otto42. fixes #5155
git-svn-id: http://svn.automattic.com/wordpress/trunk@6616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-14 22:35:43 +00:00
ryan 0866e1e584 Don't double requested url in url_to_postid(). Props filosofo. fixes #5661
git-svn-id: http://svn.automattic.com/wordpress/trunk@6614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-14 21:44:08 +00:00
ryan 61881b5111 Allow parens in urls. Props nbachiyski. fixes #5668
git-svn-id: http://svn.automattic.com/wordpress/trunk@6613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-14 20:38:43 +00:00
ryan 74cad1dac8 Eliminate comment_date_gmt <= now from get_lastcommentmodified() queries. fixes #5650
git-svn-id: http://svn.automattic.com/wordpress/trunk@6610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-14 05:59:39 +00:00
ryan 8c55d60d5b Get named sidebars. Props AaronCampbell. fixes #5615
git-svn-id: http://svn.automattic.com/wordpress/trunk@6609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-14 04:51:29 +00:00
matt 23770cb94e Have the bottom boxes be closed by default. Remove the global padding kill from thickbox CSS.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-14 00:20:52 +00:00
westi e0856a070f Simplify to_ping query. Fixes #5649 props misterbisson.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-12 17:31:17 +00:00
matt 37fb9152a1 Don't try fancy tab focus if the WYSIWYG isn't active. Hat tip: skeltoac.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-12 01:55:51 +00:00
ryan 106df879c6 phpdoc for pluggable from darkdragon. fixes #5509
git-svn-id: http://svn.automattic.com/wordpress/trunk@6600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-11 20:51:39 +00:00
westi 8c45b3a029 Revert #5007 as it causes more trouble than it solves. Fixes #5273 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-11 18:44:44 +00:00
westi fcbe872299 Add missing brace. Fixes #5643 props xknown.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-11 18:35:34 +00:00
ryan bdbdeb1e7c Add depth arg to wp_list_categories(). Props pishmishy. see #2461
git-svn-id: http://svn.automattic.com/wordpress/trunk@6595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 21:51:00 +00:00
westi ac2d661ee9 Add xmlrpc methods to discover the valid post and page statuses. See #5569 props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 21:46:25 +00:00
westi 484a252c4b Ensure that we preserve GUIDs when importing from RSS. Fixes #5589 props peterjanes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 21:27:08 +00:00
westi 1aaec4ff30 Notice fixing for wp-includes. See #5607 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 20:51:07 +00:00
ryan db44305ce1 Fixes for new categories interface from mdawaffe. fixes #5618
git-svn-id: http://svn.automattic.com/wordpress/trunk@6591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 20:19:58 +00:00
ryan 1f71b9227d Eliminate duplication in and minify jquery.schedule.js. fixes #5620
git-svn-id: http://svn.automattic.com/wordpress/trunk@6590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 17:35:48 +00:00
ryan ce884496e1 phpdoc for locale from darkdragon. fixes #5621
git-svn-id: http://svn.automattic.com/wordpress/trunk@6589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 17:28:50 +00:00
matt 16d42d6ee7 New experimental category interface, fixes #5618. Hat tip: mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 09:39:35 +00:00
ryan f975992f90 JIT load tinymce localization to avoid load order problems. Props mdawaffe. fixes #5605
git-svn-id: http://svn.automattic.com/wordpress/trunk@6587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 20:11:13 +00:00
ryan 479fc2e2b3 phpdoc tuneup from darkdragon. see #5611
git-svn-id: http://svn.automattic.com/wordpress/trunk@6585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 17:48:00 +00:00
ryan d3e7affa4b Save toggle box open/closed state. Props nbachiyski. fixes #5610
git-svn-id: http://svn.automattic.com/wordpress/trunk@6584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 17:46:13 +00:00
ryan a4f050e486 Concat secret key with salt. see #5367
git-svn-id: http://svn.automattic.com/wordpress/trunk@6583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 16:37:43 +00:00
matt d66013fdd9 Replacing FAT with jQuery effects, new styling for alerts. See #5369.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 12:12:35 +00:00
ryan 3388050bf9 New image uploader from tellyworth. see #5609
git-svn-id: http://svn.automattic.com/wordpress/trunk@6579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 08:14:29 +00:00
ryan fa3fd336c6 Purty editor buttons from andy. Removing some oogly. fixes #5573
git-svn-id: http://svn.automattic.com/wordpress/trunk@6575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 05:21:51 +00:00
ryan f9fc69dc40 Revert back to fat for now. see #5369
git-svn-id: http://svn.automattic.com/wordpress/trunk@6574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-08 07:22:07 +00:00
ryan e7350d078e Fade using jquery.color. Props JeremyVisser. fixes #5369
git-svn-id: http://svn.automattic.com/wordpress/trunk@6572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-08 06:39:09 +00:00
ryan 62d4757979 Mass select for users from cpoteet and mdawaffe. fixes #5592
git-svn-id: http://svn.automattic.com/wordpress/trunk@6570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-07 20:38:49 +00:00
ryan f4e84d8abe Update jquery.form to 2.02. Props filosofo. fixes #5048
git-svn-id: http://svn.automattic.com/wordpress/trunk@6569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-07 17:23:40 +00:00
ryan fdb577cfd3 Encoding before title. Props RanYanivHartstein. fixes #5519 for 2.5
git-svn-id: http://svn.automattic.com/wordpress/trunk@6568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-06 19:15:33 +00:00
ryan 0a5781da6e Remember last editor chosen. Props mdawaffe. fixes #3978
git-svn-id: http://svn.automattic.com/wordpress/trunk@6567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-06 19:01:32 +00:00
ryan b5c7c66ad8 phpdoc for registration from darkdragon. fixes #4383
git-svn-id: http://svn.automattic.com/wordpress/trunk@6564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-06 08:21:58 +00:00
ryan eb74f766c8 phpdoc for l10n. Props darkdragon. fixes #5590
git-svn-id: http://svn.automattic.com/wordpress/trunk@6563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-06 01:28:34 +00:00
ryan 7c9ec289bf Update dimension to 1.2
git-svn-id: http://svn.automattic.com/wordpress/trunk@6562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-05 17:14:21 +00:00
ryan 040769e245 jQuery 1.2.2b2. see #5492
git-svn-id: http://svn.automattic.com/wordpress/trunk@6561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-05 06:18:29 +00:00
ryan 61a5a4cca0 Fix some array warnings. Props mdawaffe. see #5583
git-svn-id: http://svn.automattic.com/wordpress/trunk@6560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-05 05:20:56 +00:00
ryan 4f56c35980 Widget admin redesign from mdawaffe. see #5583
git-svn-id: http://svn.automattic.com/wordpress/trunk@6556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 23:34:33 +00:00
ryan 4374db281e Some file level phpdoc from darkdragon. fixes #5572
git-svn-id: http://svn.automattic.com/wordpress/trunk@6554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 20:05:07 +00:00
ryan 502a542d64 phpdoc for comment.php from darkdragon. fixes #5578
git-svn-id: http://svn.automattic.com/wordpress/trunk@6553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 20:03:42 +00:00
ryan 91586ebff4 Page walk fixes from hailin. fixes #5581
git-svn-id: http://svn.automattic.com/wordpress/trunk@6552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 19:55:17 +00:00
ryan 1ae1811dd0 Unused var cleanup. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 19:36:34 +00:00
ryan d019a7b965 Don't bust table markup when switching between visual and html. Props mdawaffe. fixes #5577
git-svn-id: http://svn.automattic.com/wordpress/trunk@6547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 08:49:35 +00:00
ryan e46b5e6bc2 Port autosave to jquery. Props rmccue. see #3824
git-svn-id: http://svn.automattic.com/wordpress/trunk@6546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 08:46:33 +00:00
matt 2073c22bbd Post screen improvements^H^H^H, er, changes. Will file tickets for todos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-03 08:03:29 +00:00
ryan 1d1c3cc6f5 phpdoc for cache.php from darkdragon. fixes #5511
git-svn-id: http://svn.automattic.com/wordpress/trunk@6543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-03 04:35:47 +00:00
matt ae18e22598 New tag interface, tag auto-suggest while typing. Rough - suggest and parts of JS should probably be refactored. Hat tip: jhodgdon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-03 01:34:11 +00:00
matt 43c44fba24 Importing old version of dimension to compensate for older jQuery.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-02 23:44:08 +00:00
ryan 60220997a6 Fix cache close. see #5570
git-svn-id: http://svn.automattic.com/wordpress/trunk@6540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-02 23:03:25 +00:00
ryan bc53152043 Remove persistent object cache. fixes #5570
git-svn-id: http://svn.automattic.com/wordpress/trunk@6539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-02 22:13:16 +00:00
ryan 8fa9b9fb76 Add separator location arg to wp_title. Props cpoteet. fixes #4407
git-svn-id: http://svn.automattic.com/wordpress/trunk@6538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-02 20:45:17 +00:00
ryan 0bc86efb8c set_post_type from filosofo. fixes #4844
git-svn-id: http://svn.automattic.com/wordpress/trunk@6537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-02 20:06:00 +00:00
westi 28e6daf192 Beautify. Fixes #5561 props fitztrev.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-02 18:21:19 +00:00
ryan ee80716944 Properly close tags. Props ionfish. fixes #5568
git-svn-id: http://svn.automattic.com/wordpress/trunk@6535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-02 17:31:00 +00:00
ryan 99b6eff02c wp.getCommentCount from josephscott. fixes #5463
git-svn-id: http://svn.automattic.com/wordpress/trunk@6534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-01 18:40:39 +00:00
ryan c30b0e1207 Localize calendar caption. Props takayukister. fixes #5562
git-svn-id: http://svn.automattic.com/wordpress/trunk@6533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-01 18:38:32 +00:00
ryan 8b64f70945 Defer comment counting. Props tellyworth. fixes #5557
git-svn-id: http://svn.automattic.com/wordpress/trunk@6532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-01 17:03:52 +00:00
ryan 6aafd77e36 Remove unneeded get_userdata call. Props DD32. see #5367
git-svn-id: http://svn.automattic.com/wordpress/trunk@6531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-31 23:39:02 +00:00
ryan d13d567b22 Theme tagging from andy. fixes #5545
git-svn-id: http://svn.automattic.com/wordpress/trunk@6530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-31 18:39:43 +00:00
ryan bed1da2844 Separate cookie generation from cookie set. Introduce wp_generate_auth_cookie(). see #5367
git-svn-id: http://svn.automattic.com/wordpress/trunk@6529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-31 17:50:32 +00:00
westi bce8c48d72 Deprecate comments_rss and create_user.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 21:47:54 +00:00
westi c04f475479 Better documentation for prep_atom_text_construct props darkdragon
git-svn-id: http://svn.automattic.com/wordpress/trunk@6516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 21:21:50 +00:00
westi b53a070422 Better documentation for the_author props darkdragon
git-svn-id: http://svn.automattic.com/wordpress/trunk@6515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 21:19:44 +00:00
westi d49cece4a3 Mark functions and files as deprecated. Fixes #4361 props docwhat and darkdragon
git-svn-id: http://svn.automattic.com/wordpress/trunk@6514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 21:17:42 +00:00
ryan 0c67d2a1c1 Prototype 1.6.0 and script.aculo.us 1.8.0. fixes #5543
git-svn-id: http://svn.automattic.com/wordpress/trunk@6512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 19:17:21 +00:00
ryan f635599744 Use is_admin. Props markjaquith. see #5487
git-svn-id: http://svn.automattic.com/wordpress/trunk@6509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 01:04:17 +00:00
ryan 545e8a3e76 \s is not a valid escape sequence. Props xknown. fixes #5539
git-svn-id: http://svn.automattic.com/wordpress/trunk@6501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-27 08:09:31 +00:00
ryan cfcb483cf7 phpdoc for comment-template.php from darkdragon. fixes #5528
git-svn-id: http://svn.automattic.com/wordpress/trunk@6495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-26 17:18:13 +00:00
ryan bdf77c2b8d phpdoc for canonical.php from darkdragon. fixes #5526
git-svn-id: http://svn.automattic.com/wordpress/trunk@6494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-25 20:48:47 +00:00
ryan 09f2286a41 Some file level phpdoc from darkdragon. fixes #5527
git-svn-id: http://svn.automattic.com/wordpress/trunk@6493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-25 20:48:01 +00:00
ryan 7541abd7e5 Don't do hierarchical if includes specified. Props Kafkaesqui. fixes #5373 for 2.4
git-svn-id: http://svn.automattic.com/wordpress/trunk@6491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 21:24:03 +00:00
ryan 0da0bf3436 Fetch only post category terms in get_posts(). Props MichaelH. fixes #5317
git-svn-id: http://svn.automattic.com/wordpress/trunk@6490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 21:21:16 +00:00
westi d1cdea8eb2 Avoid the 64bit dragons. Fixes #3780 props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 15:14:07 +00:00
ryan 63790db707 set_auth_cookie action. see #5367
git-svn-id: http://svn.automattic.com/wordpress/trunk@6486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 08:01:55 +00:00
westi 0a7a447555 Add file level documentation for compat.php. Fixes #5510 props darkdragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 07:18:41 +00:00
westi efcd1eb5c5 Add file level documentation for template-loader.php. Fixes #5513 props darkdragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 07:09:36 +00:00
westi 30145d1a56 Add documentation for bookmark-template.php. Fixes #5521 props darkdragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 07:04:29 +00:00
westi b867ab06a0 Add documentation for bookmark.php. Fixes #5523 props darkdragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 07:01:47 +00:00
westi 0671b6e5e1 Update @since information. Fixes #4393 props darkdragon
git-svn-id: http://svn.automattic.com/wordpress/trunk@6479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 06:57:34 +00:00
ryan 42d83376c9 Allow DB salt to be overridden by SECRET_SALT. Add a filter to wp_salt(). see #5367
git-svn-id: http://svn.automattic.com/wordpress/trunk@6478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 06:34:12 +00:00
ryan 03a9269b11 Don't fallback to DB info for secret key. Allow expiration grace period for AJAX requests. see #5367
git-svn-id: http://svn.automattic.com/wordpress/trunk@6471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-23 00:58:06 +00:00
ryan e8241c6966 Show DB errors if WP_DEBUG and if installing. see #5473
git-svn-id: http://svn.automattic.com/wordpress/trunk@6469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-22 17:45:30 +00:00
ryan e587cbafcc Throw pages into search queries. Let's see how they handle. see #5149
git-svn-id: http://svn.automattic.com/wordpress/trunk@6467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-22 08:19:10 +00:00
ryan 364e809c38 Don't block SET NAMES query. Props g30rg3x for the find. fixes #5503 for 2.4
git-svn-id: http://svn.automattic.com/wordpress/trunk@6464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-22 06:24:48 +00:00
ryan 10e8e7a53d Forgot this. see #5495
git-svn-id: http://svn.automattic.com/wordpress/trunk@6460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-21 19:54:46 +00:00
ryan 9563ccece0 Return after bailing since bail doesn't always die now. Don't do queries if constructor didn't complete. see #5495
git-svn-id: http://svn.automattic.com/wordpress/trunk@6459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-21 19:30:08 +00:00
ryan 40a7118dd5 Revert accidental bits.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-21 18:50:29 +00:00
ryan 131a6c0923 Page walker fixes from hailin. fixes #5498
git-svn-id: http://svn.automattic.com/wordpress/trunk@6456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-21 18:49:20 +00:00
ryan 3ab33265bc Remove debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@6452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-21 06:12:23 +00:00
ryan d6e864abc2 Be more selective in what we make clickable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-21 03:14:22 +00:00
ryan e8dc86950e Custom DB error page. fixes #5500 for 2.4
git-svn-id: http://svn.automattic.com/wordpress/trunk@6447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-21 02:53:57 +00:00
westi 33fffea3f3 Add file level phpdoc to external libraries we use. Fixes #5443 props darkdragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 22:28:54 +00:00
westi 71b2207ea3 Ensure we don't call exif_read_data() on unsupported file types. Fixes #5397 props DD32
git-svn-id: http://svn.automattic.com/wordpress/trunk@6438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 22:18:28 +00:00
westi 1f889417e5 Fix some of the notices visible with WP_DEBUG enabled.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 21:25:12 +00:00
westi 21d9604409 Fix query variable naming errors.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 20:59:53 +00:00
ryan 7f722d1f90 Use __ngettext() for plurals. Props darkdragon. see #4865
git-svn-id: http://svn.automattic.com/wordpress/trunk@6430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 17:05:06 +00:00
ryan de5340b9f3 Set error if there is a problem connecting to the DB. Props skeltoac and Potter_System. fixes #5495
git-svn-id: http://svn.automattic.com/wordpress/trunk@6426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 02:10:09 +00:00
ryan 4f92b64b2e Update term counts when future posts are published. fixes #4913 #5488
git-svn-id: http://svn.automattic.com/wordpress/trunk@6425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 00:48:49 +00:00
ryan 5cb5750259 Don't create blank terms. Props ionfish and jhodgdon. fixes #5494
git-svn-id: http://svn.automattic.com/wordpress/trunk@6424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 23:25:11 +00:00
ryan 67b50add23 Rename file. see #4470
git-svn-id: http://svn.automattic.com/wordpress/trunk@6422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 22:46:02 +00:00
ryan 1f28d55ab3 Password strength meter from MellerTime. see #4470
git-svn-id: http://svn.automattic.com/wordpress/trunk@6419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 21:53:10 +00:00
ryan 4004a7cffa Fix previous/next links for slugs containing 'page'. Props xknown. fixes #5318
git-svn-id: http://svn.automattic.com/wordpress/trunk@6415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 19:27:14 +00:00
ryan 34780230f9 Fix id, self link and alternate link in Atom comment feeds. Props ionfish. fixes #5435
git-svn-id: http://svn.automattic.com/wordpress/trunk@6414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 18:25:22 +00:00
ryan 22fc69ea24 get_search_feed_link and get_search_comments_feed_link from ionfish. fixes #5442
git-svn-id: http://svn.automattic.com/wordpress/trunk@6413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 18:05:21 +00:00
ryan f4b80af89a Better is_admin() check from filosofo and pishmishy. fixes #5487
git-svn-id: http://svn.automattic.com/wordpress/trunk@6412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 17:56:16 +00:00
ryan 40300b4632 Add a get_stylesheet_dir to sprintf in get_theme_mod. Props andy. fixes #5398
git-svn-id: http://svn.automattic.com/wordpress/trunk@6410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 17:47:06 +00:00
ryan fdebf7ba34 Allows 0 titles when sanitizing. Props mdawaffe. fixes #5293
git-svn-id: http://svn.automattic.com/wordpress/trunk@6409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 17:45:50 +00:00
ryan d958376904 language_attributes() improvements from ionfish. fixes #5393
git-svn-id: http://svn.automattic.com/wordpress/trunk@6408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 17:44:02 +00:00
westi d7d770ef7c Don't create empty tags. Fixes #5412 props ionfish
git-svn-id: http://svn.automattic.com/wordpress/trunk@6407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 17:34:15 +00:00
ryan f97604713a Fix tinymce valid elements configuration. Props linusmartensson. fixes #3826
git-svn-id: http://svn.automattic.com/wordpress/trunk@6405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-18 20:46:09 +00:00
ryan 49d8db4cbe redirect fixes from ruckus and tellyworth. fixes #5479
git-svn-id: http://svn.automattic.com/wordpress/trunk@6402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-18 05:28:44 +00:00
ryan 83ccac4372 unique filename fixes from tellyworth. fixes #5482
git-svn-id: http://svn.automattic.com/wordpress/trunk@6401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-18 03:32:43 +00:00
ryan 8a556e5e48 Fix AJAX cookie validation. see #5367
git-svn-id: http://svn.automattic.com/wordpress/trunk@6400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-17 21:12:28 +00:00
ryan 9bca1574ca wp_list_pages() no longer requires get_pages() to do a hierarchical sort. Set hierarchical to false. see #5458
git-svn-id: http://svn.automattic.com/wordpress/trunk@6399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-17 06:53:59 +00:00
ryan c0d2060f82 Use generic page rewrite rules for compatible permalink strucures. see #3614
git-svn-id: http://svn.automattic.com/wordpress/trunk@6398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-17 06:29:30 +00:00
ryan 1d9a4211dc Accept array of pages for is_page(). Props azaozz. fixes #5430
git-svn-id: http://svn.automattic.com/wordpress/trunk@6397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-17 06:21:43 +00:00
ryan 9572687394 wp_set_password(). see #2394
git-svn-id: http://svn.automattic.com/wordpress/trunk@6396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-17 06:02:45 +00:00
ryan 26df2b24d1 author-template phpdoc from darkdragon. fixes #4393
git-svn-id: http://svn.automattic.com/wordpress/trunk@6395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 23:47:58 +00:00
ryan 0cbe2f0d84 Suppress display of DB error messages by default. Props filosofo. see #5473
git-svn-id: http://svn.automattic.com/wordpress/trunk@6391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 21:38:24 +00:00
ryan e9c9b1fbf2 Import file attachments. Props tellyworth. fixes #5466
git-svn-id: http://svn.automattic.com/wordpress/trunk@6390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 21:34:48 +00:00
ryan 28f0d5bf06 Fix depth = 1 page traversal. Props hailin. fixes #5469
git-svn-id: http://svn.automattic.com/wordpress/trunk@6388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 20:31:44 +00:00
ryan 29ef8b6f5f New secure cookie protocol. see #5367
git-svn-id: http://svn.automattic.com/wordpress/trunk@6387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 17:41:59 +00:00
ryan 7b16e3616c Pluggable random password generator from pishmishy. fixes #5401
git-svn-id: http://svn.automattic.com/wordpress/trunk@6385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-15 05:31:16 +00:00
ryan ce1ac877cf Faster page and cat walker. Props hailin. see #5458
git-svn-id: http://svn.automattic.com/wordpress/trunk@6384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-14 21:46:52 +00:00
ryan 8f6268e38b clean page cache when reparenting pages after deletion. Props hailin. fixes #5457
git-svn-id: http://svn.automattic.com/wordpress/trunk@6382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-14 20:56:55 +00:00
ryan c4020242c2 Fix registration of multiple sidebars. Props watson. fixes #5352
git-svn-id: http://svn.automattic.com/wordpress/trunk@6381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-14 08:06:08 +00:00
ryan 2088cb4a1a Faster page_rows() from hailin. see #5303
git-svn-id: http://svn.automattic.com/wordpress/trunk@6380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-14 06:20:42 +00:00
ryan c7198d281d post phpdoc from m0n5t3r and darkdragon. see #3982
git-svn-id: http://svn.automattic.com/wordpress/trunk@6379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-14 00:28:34 +00:00
ryan 6a27406096 Taxonomy phpdoc from darkdragon. fixes #4742
git-svn-id: http://svn.automattic.com/wordpress/trunk@6378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-14 00:25:39 +00:00
ryan f0a47b7127 Query page attachments from page requests so that they can both use the same set of rewrite rules. see #3614
git-svn-id: http://svn.automattic.com/wordpress/trunk@6377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-12 11:45:55 +00:00
ryan 805e41198c Defer term counting during import. Props tellyworth. fixes #5377
git-svn-id: http://svn.automattic.com/wordpress/trunk@6376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-12 05:14:00 +00:00
westi 4c53026f96 Autosave tags as well. Fixes #5359 props sembee
git-svn-id: http://svn.automattic.com/wordpress/trunk@6373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-11 20:30:22 +00:00
matt fa98e055e8 Revert [6368]. Fixes #5448, fixes #5247 by adding a new filter to hook in specifically to add attributes, rather than filtering the whole thing. Minor formatting cleanup of comments_popup_link.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-10 20:49:46 +00:00
ryan dd17ae4da8 phpdoc for deprecated funcs. Props darkdragon. fixes #5444
git-svn-id: http://svn.automattic.com/wordpress/trunk@6370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-10 18:52:24 +00:00
ryan 8ef0bd232d Support atom threading. Props rubys. fixes #5434
git-svn-id: http://svn.automattic.com/wordpress/trunk@6369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-10 06:57:58 +00:00
ryan c56489c18c comments_popup_link filter from joostdevalk. fixes #5247
git-svn-id: http://svn.automattic.com/wordpress/trunk@6368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-10 06:53:58 +00:00
westi d26bff6a38 Remove triming from string options fixes #4781 props hakre
git-svn-id: http://svn.automattic.com/wordpress/trunk@6367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-09 11:49:25 +00:00
westi 43b212e86d Comment out the code that can't run so as to not confuse people.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-09 11:28:57 +00:00
ryan 83afcae858 New feed_link functions. Deprecate rss_link functions. Make default feed pluggable. Props rubys. see #5328
git-svn-id: http://svn.automattic.com/wordpress/trunk@6365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 19:58:15 +00:00
ryan 028a159440 Remove unused vars. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 19:49:33 +00:00
ryan 050ffefc43 Filter and action optimizations and phpdoc updates from darkdragon. fixes #5338
git-svn-id: http://svn.automattic.com/wordpress/trunk@6361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 05:56:38 +00:00
ryan 20d5aa5095 Remove executable property from files. Props lapcat. fixes #5408
git-svn-id: http://svn.automattic.com/wordpress/trunk@6360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-05 09:30:13 +00:00
ryan 524c32cad5 Refactor next_post_link, previous_post_link. props xknown. fixes #5411
git-svn-id: http://svn.automattic.com/wordpress/trunk@6359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-05 09:25:45 +00:00
ryan 0ad360cc00 Don't return all taxonomies for an object type of 0. Props tellyworth and nbachiyski. fixes #5417
git-svn-id: http://svn.automattic.com/wordpress/trunk@6355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-05 00:31:54 +00:00
ryan 95fe4f48bd Use correct var. Props DD32. fixes #5419
git-svn-id: http://svn.automattic.com/wordpress/trunk@6353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-04 23:59:16 +00:00
ryan 9a9521e01e Avoid unnecesary call to get_userdata in get_permalink function. Props xknown. fixes #5414
git-svn-id: http://svn.automattic.com/wordpress/trunk@6352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-04 00:40:00 +00:00
ryan 7c033fd82c Don't save page and attachemtn uris to page_uris and page_attachment_uris. This is not needed. Add an option to use wildcard page rewrite rules instead of per-page rules. see #3614
git-svn-id: http://svn.automattic.com/wordpress/trunk@6351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-04 00:19:10 +00:00
ryan 07e337adcf Hash passwords with phpass. Add wp_check_pasword() and wp_hash_password() functions. Props pishmishy. see #2394
git-svn-id: http://svn.automattic.com/wordpress/trunk@6350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-02 05:14:11 +00:00
ryan 5c07742cd3 Remove old comment_count_cache variable. It's dead.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-29 05:03:25 +00:00
ryan 43b7cd700f get_user_by_email() and some user caching cleanups. fixes #5392
git-svn-id: http://svn.automattic.com/wordpress/trunk@6346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-27 22:14:53 +00:00
ryan 596dc0ac87 Use 'Log in' instead of 'Login' for verb form. Props doug. see #5296
git-svn-id: http://svn.automattic.com/wordpress/trunk@6343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-26 21:40:00 +00:00
ryan a76484d2d1 Debug backtrace for queries. Props tellyworth. fixes #5218
git-svn-id: http://svn.automattic.com/wordpress/trunk@6342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-21 00:14:58 +00:00
ryan bbc8fa3b14 Do two sets of filters on posts query. First set is used by regular plugins, second by caching plugins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-18 19:36:30 +00:00
westi 15f67c97f9 Actually return a url if SSL is not supported! Relates to #5298
git-svn-id: http://svn.automattic.com/wordpress/trunk@6340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-17 11:27:01 +00:00
westi b296c5f19e Ensure that we offer https access to atom if it is available. Fixes #5298 props rubys.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-17 11:21:34 +00:00
ryan ab845b0000 Move posts_selection action to after post_limits filter.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-17 00:04:19 +00:00
ryan b51a0cb0f8 Update page on front settings when deleting the page on front. Props hailin. fixes #5361
git-svn-id: http://svn.automattic.com/wordpress/trunk@6337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-16 17:39:15 +00:00
ryan e531ad04c4 Add switch_theme(). Cache current theme in options to avoid calling get_themes(). fixes #5346
git-svn-id: http://svn.automattic.com/wordpress/trunk@6334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-13 05:07:44 +00:00
ryan 3ca284f9e3 Eliminate warnings in convert_smilies. Props tellyworth. fixes #5340
git-svn-id: http://svn.automattic.com/wordpress/trunk@6331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-12 19:33:06 +00:00
ryan df08604882 Remove unused variable. Props epper. fixes #5339
git-svn-id: http://svn.automattic.com/wordpress/trunk@6330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-12 19:31:49 +00:00
ryan fc31e5395b phpdoc for get_category_feed_link(). see #5173
git-svn-id: http://svn.automattic.com/wordpress/trunk@6328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-09 20:31:24 +00:00
ryan 17b0fbab7a get_category_feed_link() from ionfish. fixes #5173
git-svn-id: http://svn.automattic.com/wordpress/trunk@6327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-09 20:12:04 +00:00
ryan 8689aef969 Make term slug unique when moving to another parent.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-09 18:34:41 +00:00
ryan 0eaad56717 Change 'all' hook calling. Bring filters and actions back into one array for back-compat. see #5231
git-svn-id: http://svn.automattic.com/wordpress/trunk@6324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-08 01:05:43 +00:00
ryan 1ea72d5996 Don't run sanitize_title on IDs in new widgets API to avoid performance overhead. fixes #5326
git-svn-id: http://svn.automattic.com/wordpress/trunk@6323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-08 00:56:54 +00:00
ryan 964c6c72c1 Skip sanitization altogether for raw context. Props Quandary. fixes #5325
git-svn-id: http://svn.automattic.com/wordpress/trunk@6321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-07 06:20:08 +00:00
ryan 1e320a469e has_action and has_filter. see #5231
git-svn-id: http://svn.automattic.com/wordpress/trunk@6320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-07 04:30:11 +00:00
ryan 902cc8e985 Add missing type arg on call to _wp_filter_build_unique_id(). see #5231
git-svn-id: http://svn.automattic.com/wordpress/trunk@6319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-06 21:39:22 +00:00
ryan 0e63de02ca current_fiter() from tellyworth. fixes #5232
git-svn-id: http://svn.automattic.com/wordpress/trunk@6318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-06 21:38:04 +00:00
ryan 07806ed56a Separate action and filter arrays. Get rid of filter merging. fixes #5231
git-svn-id: http://svn.automattic.com/wordpress/trunk@6316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-06 18:31:43 +00:00
ryan 35899c1201 Back out some changes from #5181. Props rubys. fixes #5307
git-svn-id: http://svn.automattic.com/wordpress/trunk@6315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-06 18:23:16 +00:00
ryan d10f9a825d Improve performance of seems_utf8() and uf8_uri_encode(). fixes #5320
git-svn-id: http://svn.automattic.com/wordpress/trunk@6314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-05 17:13:43 +00:00
ryan 6f761b1ef3 Update awaiting moderation count when comments are moderated through AJAX. Props mdawaffe. fixes #5315
git-svn-id: http://svn.automattic.com/wordpress/trunk@6312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-04 06:23:03 +00:00
ryan ad563a953f Fix raw context filtering for terms. see #5253
git-svn-id: http://svn.automattic.com/wordpress/trunk@6311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-03 19:06:43 +00:00
ryan a2e0f3352f Disambiguate columns. Props lawrence123. fixes #5256
git-svn-id: http://svn.automattic.com/wordpress/trunk@6310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-03 19:00:33 +00:00
westi 3d04ae4f29 Refactor of wp-admin/includes/image.php. Fixes #5312, #4151, #4709, #5304 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-03 18:33:19 +00:00
ryan 43bb491419 Cache get_terms queries that return nothing.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-02 04:31:44 +00:00
ryan 52934a6cee Fix comment typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@6306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-02 00:58:15 +00:00
ryan c148b6ce78 Make sure ID is set for later update() calls.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-02 00:47:04 +00:00
ryan fbbbfb9a48 Typo fix from DD32. Fixes uploads. fixes #5302
git-svn-id: http://svn.automattic.com/wordpress/trunk@6304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-01 16:20:16 +00:00
ryan f831731601 JS/AJAX form validation from mdawaffe. fixes #5299
git-svn-id: http://svn.automattic.com/wordpress/trunk@6303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-01 06:23:16 +00:00
ryan b982559380 Save user registration time. Props mdawaffe. fixes #5300
git-svn-id: http://svn.automattic.com/wordpress/trunk@6302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-01 05:49:23 +00:00
ryan d9bba52a5f Post timezone to lastpost filters. Props mdawaffe. fixes #5292
git-svn-id: http://svn.automattic.com/wordpress/trunk@6301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-31 16:59:05 +00:00
ryan d85d86db03 wpdb::set_prefix(). fixes #5287
git-svn-id: http://svn.automattic.com/wordpress/trunk@6300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-31 03:59:18 +00:00
ryan 1d0bf72d2f AJAX for link category add and delete. Props mdawaffe. fixes #5291
git-svn-id: http://svn.automattic.com/wordpress/trunk@6299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-31 03:53:32 +00:00
westi bccb7897d7 Add documentation for wp_version_check(). Fixes #5233 props darkdragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-30 21:40:30 +00:00
ryan e236161cf9 wp_get_archives caching. fixes #5275
git-svn-id: http://svn.automattic.com/wordpress/trunk@6296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-30 06:03:11 +00:00
ryan b906aa0e86 Add is_wp_error check
git-svn-id: http://svn.automattic.com/wordpress/trunk@6295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-28 21:33:03 +00:00
ryan b4cdc4435d Strip term name and description before preparing for DB.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-26 19:44:57 +00:00
ryan 58d174004e Pass literal strings not vars to compact.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-25 07:15:02 +00:00
ryan 85078df8c7 Update clean_object_term_cache() to clear for each taxonomy
git-svn-id: http://svn.automattic.com/wordpress/trunk@6288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-24 17:07:04 +00:00
ryan 1920dc0390 Post filter fixes from mdawaffe. fixes #5249
git-svn-id: http://svn.automattic.com/wordpress/trunk@6287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-23 23:02:24 +00:00
ryan 9db4d2042e Separate taxonomy relationships into separate cache buckets.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-23 20:33:50 +00:00
ryan 6e7729018e Remove unnecessary GROUP BY when getting max term_group. Props michelwp. fixes #5240
git-svn-id: http://svn.automattic.com/wordpress/trunk@6285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-23 16:43:15 +00:00
ryan 0474421643 Add option for ordering retrieved terms by slug or term_group. Props michelwp. fixes #5245
git-svn-id: http://svn.automattic.com/wordpress/trunk@6284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-23 16:39:03 +00:00
ryan 6566f35303 get_row() not fetch_row(). Props michelwp. fixes #5230
git-svn-id: http://svn.automattic.com/wordpress/trunk@6283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-23 16:36:08 +00:00
ryan a76f648e22 taxonomy phpdoc updates from darkdragon. see #4742
git-svn-id: http://svn.automattic.com/wordpress/trunk@6282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-21 17:18:24 +00:00
westi c75ec2b48a Add atom:self link to rss2 feeds per RSS Best Practices Profile. Fixes #5205 props lexhair and rubys.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-20 10:35:44 +00:00
ryan babd1e1a7f phpdoc for plugin API. Props darkdragon. fixes #5225
git-svn-id: http://svn.automattic.com/wordpress/trunk@6276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-19 17:45:08 +00:00
westi 5fb4d6ab00 Use a for loop where it's more appropriate. Fixes #5234 props darkdragon and DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-19 16:32:56 +00:00
westi 5e0cf58bfb Add @since to the new phpdoc relates #5181 and [6273]
git-svn-id: http://svn.automattic.com/wordpress/trunk@6274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-19 16:27:09 +00:00
westi 4c7bfb6a4f Refactor atom support to share code. Fixes #5181 props rubys
git-svn-id: http://svn.automattic.com/wordpress/trunk@6273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-19 15:42:30 +00:00
ryan 6edc7aed5c Catch WP_Error. Props tellyworth. fixes #5226
git-svn-id: http://svn.automattic.com/wordpress/trunk@6271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-18 15:55:15 +00:00
markjaquith d395d55a0e Stripslashes tag names to prevent double slashing in wp_insert_term(). fixes #5202
git-svn-id: http://svn.automattic.com/wordpress/trunk@6267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-17 20:41:43 +00:00
westi 9ef11d81bd Set the Sender on emails as well as from. Fixes #5007 for trunk props mattyrob
git-svn-id: http://svn.automattic.com/wordpress/trunk@6265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-17 20:17:01 +00:00
markjaquith 875424adae Explicitly exclude previews from canonicalization. fixes #5203 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-17 20:14:38 +00:00
ryan 38a3758570 Remove refs to old, dead caches.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-17 17:37:21 +00:00
ryan 9c6dc8f1be More taxonomy phpdoc from darkdragon. see #4742
git-svn-id: http://svn.automattic.com/wordpress/trunk@6254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-15 22:49:31 +00:00
ryan 0e0ebbba23 Move all page and post caches to 'posts' cache group.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-15 20:11:30 +00:00
westi 1eb4758157 Fix typo in call to $wpdb->update. Fixes #5206 props zamoose
git-svn-id: http://svn.automattic.com/wordpress/trunk@6251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-15 20:07:29 +00:00
ryan 20f655d83b Kill unused var.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-14 09:38:12 +00:00
ryan 808cd79992 Just cache the is_blog_installed value. If the options table goes away while the value is still cached, oh well. Very edge-case.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-14 07:57:56 +00:00
ryan 363eae9d76 Add some clean cache hooks
git-svn-id: http://svn.automattic.com/wordpress/trunk@6248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-14 04:55:33 +00:00
ryan bd5d107814 Allow single post ID and comma delimited list of post IDs to be passed to update_postmeta_cache(). Fix default cache to allow storage of empty array. see #5194
git-svn-id: http://svn.automattic.com/wordpress/trunk@6247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-14 01:08:07 +00:00
ryan 24af93e9c0 If checking for term within taxonomy, just do the taxonomy specific query. Saves one query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 19:04:39 +00:00
ryan befa8f0f11 Eliminate extra query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 18:53:28 +00:00
ryan 16411f9c7b Set global is_blog_installed flag so we don't query the DB more than once per load.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 18:39:28 +00:00
ryan a8d380c32c Eliminate object_term_cache array. see #5182
git-svn-id: http://svn.automattic.com/wordpress/trunk@6243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 18:23:59 +00:00
markjaquith 4a43a0b353 Some foreach array casting
git-svn-id: http://svn.automattic.com/wordpress/trunk@6242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 05:33:39 +00:00
markjaquith 6f0cbc16a8 prepare(), insert(), update() for wp-includes/ taxonomy.php, rss.php, registration.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@6241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 03:51:11 +00:00
markjaquith 14c3ea37ca Forget about 4th update() param -- only accept named array. Roll out more insert()/update() and various cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 02:36:38 +00:00
markjaquith f18e02b0f0 Allow wpdb->update() to optionally take a named array of where column/value pairs (which will be ANDed)
git-svn-id: http://svn.automattic.com/wordpress/trunk@6239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 01:44:25 +00:00
markjaquith 1d883e1b9c Remove redundant "db_" from db_insert() and db_update() methods. Now just insert() and update(). see #5178
git-svn-id: http://svn.automattic.com/wordpress/trunk@6238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 00:54:26 +00:00
markjaquith 05e68a8676 More use of db_insert()/db_update(). see #5178
git-svn-id: http://svn.automattic.com/wordpress/trunk@6237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 00:48:52 +00:00
markjaquith 596db96326 Oops, within the class here.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 00:45:34 +00:00
ryan 42fee85546 Fix category assigment during link import. fixes #5107 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-12 21:47:34 +00:00
ryan 62d3a12280 Eliminate , , and . see #5182
git-svn-id: http://svn.automattic.com/wordpress/trunk@6229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-12 21:12:34 +00:00
westi 714742b70e Add is_page_template() function to allow theme developers to detect that they are is a page template. Fixes #3335
git-svn-id: http://svn.automattic.com/wordpress/trunk@6228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-12 20:01:16 +00:00
westi cd8dcf0046 Translation fix for wp_tag_cloud(). Fixes #5131 props webrocker
git-svn-id: http://svn.automattic.com/wordpress/trunk@6227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-12 19:49:25 +00:00
ryan c674a475d7 Use inner joins instead of left joins for taxonomy. Inner is faster. fixes #5179
git-svn-id: http://svn.automattic.com/wordpress/trunk@6224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-11 17:43:49 +00:00
markjaquith a30ed0ded5 Code cleanup and standardization for functions.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@6223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-11 05:46:57 +00:00
markjaquith c23352bedf Introducing absint() for casting to an absolute integer. see #4762
git-svn-id: http://svn.automattic.com/wordpress/trunk@6222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-10 22:11:18 +00:00
markjaquith c5f9186919 Introducing db_insert() and db_update(), with immediate usage in wp_insert_post(). fixes #5178
git-svn-id: http://svn.automattic.com/wordpress/trunk@6221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-10 22:01:40 +00:00
markjaquith dec5db7586 check for a match against a lowercase host in wp_safe_redirect(). props BoltClock. fixes #5114 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-10 19:25:23 +00:00
ryan 40a2a02cb1 Output localized strings before outputting js. Props mdawaffe. fixes #5177 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-10 18:51:12 +00:00
markjaquith 90da0b6561 Revert partial prepare() implementation. Needs to be all or nothing. Props xknown. fixes #5145
git-svn-id: http://svn.automattic.com/wordpress/trunk@6216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 23:16:35 +00:00
ryan 44ca974c27 jquery for list manipulation. Round one, fight. Props mdawaffe. fixes #4805
git-svn-id: http://svn.automattic.com/wordpress/trunk@6214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 22:51:25 +00:00
ryan f8afc0b75d jquery for list manipulation. Round one, fight. Props mdawaffe. fixes #4805
git-svn-id: http://svn.automattic.com/wordpress/trunk@6213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 22:49:42 +00:00
ryan a8ede71d87 Force prototype to load before jquery. Props mdawaffe. fixes #5067 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 21:04:26 +00:00
markjaquith 60cde1b789 use type="text/javascript", not lang="javascript". Props dsiemon. fixes #5168
git-svn-id: http://svn.automattic.com/wordpress/trunk@6207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 04:13:36 +00:00
ryan b8febc8501 Apply filteres when returning empty array from get_pages. Props epper. fixes #4712 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-08 22:25:33 +00:00
westi 8ff0a0659a Move the WLW manifest related files to have proper WordPress naming scheme.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-08 20:21:29 +00:00
westi 395fd9fc29 Define $constaint is all cases in get_attachment_icon() to fix E_NOTICE. Fixed #5159 props richcon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-07 07:35:20 +00:00
westi f6234acb5d Add documentation of _wp_filter_build_unique_id(). Fixed #5053 props darkdragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-07 07:31:14 +00:00
westi e026d1dfa2 Move all calls to mysql_ functions to withiWPDB so that t we don't expect any mysql stuff when we are using a custo$wpdb class. Fixes #5127
props ComputerGuru.


git-svn-id: http://svn.automattic.com/wordpress/trunk@6199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-06 08:40:54 +00:00
westi 61f8b8f569 Move database class loading to a shared function to ensure all of WordPress is wp-content/wp-db.php aware. Fixes #5128 props ComputerGuru.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-06 08:18:33 +00:00
westi e9cfb43133 Centralise generator generation, move theme generator generation to wp-head hook. Fixes #5085, #4803. props docwhat, Viper007Bond.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-06 06:55:24 +00:00
ryan 60fdc763b6 WLW manifest from josephscott. fixes #5023 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-05 17:29:34 +00:00
ryan 7f61116c5b Add some spacing. fixes #5137 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-05 16:27:48 +00:00
ryan fe60a3ab06 New taxonomy intersection queries from xknown. fixes #5137
git-svn-id: http://svn.automattic.com/wordpress/trunk@6186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-04 18:10:03 +00:00
ryan 3211ab1d54 Add page sanitization. Props xknown. fixes #5135 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-03 16:27:07 +00:00
ryan 5300ef20cf Add sanitize_url. Don't convert ampersands in URLs when saving to DB. fixes #4411 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-03 16:16:55 +00:00
markjaquith 21c25b5566 prepare() for wp-includes/ link-template.php, post.php, general-template.php, pluggable.php, functions.php. see #4553
git-svn-id: http://svn.automattic.com/wordpress/trunk@6180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-02 18:45:47 +00:00
westi 0b23746c72 We're working on bleeding edge 2.4 stuff now
git-svn-id: http://svn.automattic.com/wordpress/trunk@6177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-29 10:56:53 +00:00
markjaquith 47955b3fae prepare() for wp-includes/ bookmark.php, canonical.php, comment.php, comment-template.php. see #4553
git-svn-id: http://svn.automattic.com/wordpress/trunk@6173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-27 07:34:15 +00:00
ryan 649cff7dc2 Fix typo in category widget class name. Props joostdevalk. fixes #5079 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-26 16:12:28 +00:00
matt 15372a22b6 bumpity
git-svn-id: http://svn.automattic.com/wordpress/trunk@6164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-25 00:34:43 +00:00
ryan a48973211c Fix typo. fixes #5061
git-svn-id: http://svn.automattic.com/wordpress/trunk@6161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-24 01:48:36 +00:00
ryan 8d349aa85c Add some filtering. Props jhodgdon. fixes #3595
git-svn-id: http://svn.automattic.com/wordpress/trunk@6160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-23 19:25:15 +00:00
ryan e76e370638 Fix term count padding.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-23 00:35:59 +00:00
ryan 683db28b4c Term with slug that conflicts with existing term with different parent gets a new term entry with a unique slug. see #5034
git-svn-id: http://svn.automattic.com/wordpress/trunk@6157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 18:01:08 +00:00
ryan 72e74add8d Don't reset parent when updating attachment. Props filosofo and michelwp. fixes #5010
git-svn-id: http://svn.automattic.com/wordpress/trunk@6155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 16:30:40 +00:00
markjaquith 0fb4233fdf Add tag_base to list of untrailingslashed options, and standardize the unslashing. Prevents /mytags//tagname/
git-svn-id: http://svn.automattic.com/wordpress/trunk@6153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 06:11:48 +00:00
markjaquith c005340430 Fix PATH_INFO first page paging link. fixes #5039
git-svn-id: http://svn.automattic.com/wordpress/trunk@6152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 06:07:03 +00:00
markjaquith d3d447d6e9 Core and plugin update checking: make sure fsockopen() is available and check file resources with is_resource() -- both to prevent feof() infinite loops. Props xknown. fixes #5037
git-svn-id: http://svn.automattic.com/wordpress/trunk@6151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 00:08:50 +00:00
ryan 48813443db Revert [5969]. It can break permalinks. see #4739
git-svn-id: http://svn.automattic.com/wordpress/trunk@6150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-21 19:36:12 +00:00
ryan 81482db30b Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: http://svn.automattic.com/wordpress/trunk@6148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-21 15:51:00 +00:00
markjaquith 5177c0e5c7 Pass the attempted redirect host as a second parameter in the allowed_redirect_hosts filter. props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-20 21:53:42 +00:00
ryan 40b7e58b82 Always remove index.php from request before contructing page links. fixes #5000
git-svn-id: http://svn.automattic.com/wordpress/trunk@6144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-20 20:56:22 +00:00
markjaquith 3be5215e08 Remove trailing /index.php fixing from canonical.php ... Thanks chaoticmortalcom. fixes #5017
git-svn-id: http://svn.automattic.com/wordpress/trunk@6143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-20 20:25:43 +00:00
ryan 4a03a94051 Bail if post is empty. Props mdawaffe. fixes #5019
git-svn-id: http://svn.automattic.com/wordpress/trunk@6142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-20 18:25:14 +00:00
ryan 3542e01f19 Don't specialchars markup in term description. fixes #5021
git-svn-id: http://svn.automattic.com/wordpress/trunk@6141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-20 18:23:33 +00:00
ryan 9eb6351d24 Extra protection in check_ajax_referer from mdawaffe. fixes #4939
git-svn-id: http://svn.automattic.com/wordpress/trunk@6138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-19 19:32:34 +00:00
ryan 3ac0df5170 Fix includes for setup-config so that wp_die is defined. Props DD32. fixes #4997
git-svn-id: http://svn.automattic.com/wordpress/trunk@6137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-19 04:27:56 +00:00
markjaquith f25f33c4ba Put a filter in wp_safe_redirect() so people can whitelist other domains. see #4606
git-svn-id: http://svn.automattic.com/wordpress/trunk@6136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-19 04:14:53 +00:00
ryan 192cb2dda5 RC1
git-svn-id: http://svn.automattic.com/wordpress/trunk@6135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-19 04:14:27 +00:00
markjaquith 3c89a5c5d7 More robust wp_safe_redirect(). Introducing wp_sanitize_redirect() for use in wp_redirect() and wp_safe_redirect(). fixes #4606
git-svn-id: http://svn.automattic.com/wordpress/trunk@6134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-19 03:47:37 +00:00
ryan deb7701a85 Script loader cleanup from mdawaffe. fixes #5003
git-svn-id: http://svn.automattic.com/wordpress/trunk@6133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-19 00:51:21 +00:00
ryan 1fa2f6df66 the_title_attribute(). Props Nazgul. fixes #4731
git-svn-id: http://svn.automattic.com/wordpress/trunk@6132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 22:50:59 +00:00
markjaquith dbd3d07274 Introducing wp_safe_redirect(). fixes #4606 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 22:23:16 +00:00
ryan 1d146b6153 Revert rename of more-link class. Props foolswisdom. fixes #4999
git-svn-id: http://svn.automattic.com/wordpress/trunk@6128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 16:44:35 +00:00
ryan c352f29893 Drop old tables. Props Nazgul. fixes #4995
git-svn-id: http://svn.automattic.com/wordpress/trunk@6126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 16:37:21 +00:00
ryan 9bfccd6286 Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: http://svn.automattic.com/wordpress/trunk@6125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 16:32:22 +00:00
markjaquith f30cd7acec Use maybe_unserialize() in get_usermeta(). Props filosofo. fixes #4993
git-svn-id: http://svn.automattic.com/wordpress/trunk@6124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-17 19:19:55 +00:00
ryan 76fee1da02 Don't lose tags when saving a post with attachments. Props filosofo. fixes #4532
git-svn-id: http://svn.automattic.com/wordpress/trunk@6121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-16 02:36:23 +00:00
matt 1e127b413c Sometimes the $page global is set but it's just an integer, like 1, not an object which we should try to address and put in the cache. The page would work but we'd do spurious wp_cache_add
git-svn-id: http://svn.automattic.com/wordpress/trunk@6120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-15 21:52:37 +00:00
matt 4216f95b64 Because we're modifying an existing cache variable we need to do a _set, not an _add, like we do other places we stick multiple cache values in a single var and key.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-15 21:50:53 +00:00
westi e08024d86e Set svn:eol-style on a few files.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-15 17:35:32 +00:00
matt 8bfcfae2f8 Incorrect cache group was causing terms never to get cached.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-15 16:48:29 +00:00
markjaquith 8a6802ef00 Canonical fixes: Allow Pages to have /page/x/. Always trailing slash home when it is not paged. Strip extra trailing slashes off of /page/x///
git-svn-id: http://svn.automattic.com/wordpress/trunk@6115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-14 19:41:23 +00:00
ryan ec182d74a6 Deprecate fakeit arg. Props Nazgul. fixes #4439
git-svn-id: http://svn.automattic.com/wordpress/trunk@6114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 21:27:26 +00:00
markjaquith 3d3846ee8a Handle ports for canonical redirects. Props driverkt and westi. fixes #4970
git-svn-id: http://svn.automattic.com/wordpress/trunk@6112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 19:24:05 +00:00
markjaquith 9ea001d704 Just some indent fixes in canonical.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@6111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 19:12:53 +00:00
markjaquith b36471d4cf Use wp_die() for WPDB bails. Send 500 response and no-cache headers so wp_die()s are not cached. props DD32. fixes #3471
git-svn-id: http://svn.automattic.com/wordpress/trunk@6110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 06:23:23 +00:00
ryan 9e61170004 s/onChange/onchange/. Props grubgirl, Nazgul. fixes #4630
git-svn-id: http://svn.automattic.com/wordpress/trunk@6109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 05:33:54 +00:00
markjaquith 3fc1d4f08d De-rabbit-hole compat.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@6108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 05:24:31 +00:00
markjaquith 76d0f29698 Check for apply_filters() in status_header() so that it can be called early on in load process
git-svn-id: http://svn.automattic.com/wordpress/trunk@6107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 05:00:46 +00:00
ryan 103e793478 no follow callback
git-svn-id: http://svn.automattic.com/wordpress/trunk@6105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 04:51:33 +00:00
markjaquith 95908afb48 Move $wp_header_to_desc array to get_status_header_desc() so that it can be called before vars.php is loaded.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 04:48:41 +00:00
markjaquith 1cae6a8691 Plugins are not loaded at this point, so the wp_header_to_desc_array filter is useless
git-svn-id: http://svn.automattic.com/wordpress/trunk@6103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 04:13:32 +00:00
ryan 7bbd23f3c6 Don't strip slashes from pre. Props DelGurth and mdawaffe. fixes #2059
git-svn-id: http://svn.automattic.com/wordpress/trunk@6102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 04:11:21 +00:00
markjaquith ec6416ec0b fix links generated by get_category_rss_link(). props gwagenknecht. fixes #4550 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 22:24:28 +00:00
markjaquith 791aec14b2 Set $theme_loc correctly when ABSPATH is "/". Props arabek. fixes #4541
git-svn-id: http://svn.automattic.com/wordpress/trunk@6099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 22:19:26 +00:00
markjaquith 0880ca8693 Set widget classname when passed string, object/method, object-reference/method. fixes #4910
git-svn-id: http://svn.automattic.com/wordpress/trunk@6098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 20:48:21 +00:00
markjaquith 1f3ce09d52 Ignore HOST capitalization differences for canonical redirects. props jbctech. fixes #4773
git-svn-id: http://svn.automattic.com/wordpress/trunk@6097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 20:44:41 +00:00
westi d1acf020b5 Allow plugins to sanitize there own options easily.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 18:15:29 +00:00
westi 223182463d Ensure the parentlink is trailingslashed when building the url - don't trim / off the front. Fixes #2801 props Libertus
git-svn-id: http://svn.automattic.com/wordpress/trunk@6095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 17:46:13 +00:00
westi 2f44508e9b Consolidate shared code in get_userdata and get_userdatabylogin. Fixes #2134 props johnjosephbachir
git-svn-id: http://svn.automattic.com/wordpress/trunk@6094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 17:15:17 +00:00
westi cf26b9d049 Make the atom feed updated field actually tell you when the post was updated. Fixes #4816 props lapcat.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 16:26:39 +00:00
ryan 60bec14a4e More phpdoc for taxonomy from darkdragon. see #4742
git-svn-id: http://svn.automattic.com/wordpress/trunk@6092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 02:56:44 +00:00
ryan 48b96208e2 Add echo or return option to wp_list_categories. Props Otto42. fixes #4182
git-svn-id: http://svn.automattic.com/wordpress/trunk@6091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 02:53:27 +00:00
ryan a1046188b8 Deprecate old links functions. Props rob1n. fixes #3413
git-svn-id: http://svn.automattic.com/wordpress/trunk@6088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 01:01:48 +00:00
ryan 98d52ab1f2 Resurrect count padding.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 00:49:16 +00:00
ryan c06e70516a Remove duplicate code from wp_insert_attachment(). Update to use sanitize_post. Props Otto42. fixes #4946
git-svn-id: http://svn.automattic.com/wordpress/trunk@6086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 22:27:36 +00:00
markjaquith 4bc7869c84 Always trailingslash the "home" URL. Protect against chained redirects. Thanks wantmoore. fixes #4773
git-svn-id: http://svn.automattic.com/wordpress/trunk@6085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 21:21:40 +00:00
westi ca4ddf50f8 Allow the wp_mail filter to change the passed data. Fixes #4511 props ryan.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 20:49:28 +00:00
westi 446c704af5 Ensure (next|previous)_post_link always have some content even when the post title is blank. Fixes #1835, props johnbillion
git-svn-id: http://svn.automattic.com/wordpress/trunk@6082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 20:05:52 +00:00
ryan c8077169aa Add user_nicename key to users table. fixes #4937
git-svn-id: http://svn.automattic.com/wordpress/trunk@6075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 18:13:56 +00:00
ryan 368b18d383 Set tag_id to first tag in multi tag queries. Have single_cat_title() fallback to single_tag_title() if is_tag so that existing category templates will work with tags. fixes #4506
git-svn-id: http://svn.automattic.com/wordpress/trunk@6074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 18:06:52 +00:00
ryan 9fbbf54462 beta3
git-svn-id: http://svn.automattic.com/wordpress/trunk@6073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 01:43:49 +00:00
ryan d84f590203 References don't work inside foreach in php4. Props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-10 19:37:00 +00:00
markjaquith ba6e8f4a92 Actually, we always need to URLencode square brackets... or wp_redirect() will strip them out. see #4935. see #4878
git-svn-id: http://svn.automattic.com/wordpress/trunk@6070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-10 15:53:34 +00:00
markjaquith 51299852ef Forgot to use $lsb and $rsb in [6064]. Props mdawaffe. see #4935. see #4878
git-svn-id: http://svn.automattic.com/wordpress/trunk@6069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-10 15:34:13 +00:00
markjaquith d59743c972 Strip index.php/ before adding it in get_pagenum_link(). Insert index.php/ for the first page when blog is on a page. fixes #4945
git-svn-id: http://svn.automattic.com/wordpress/trunk@6068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-10 15:06:21 +00:00
markjaquith 79c4324e01 Only urlencode previously existing values in add_query_arg() (more backwards compatible). fixes #4935. see #4084. see #4878
git-svn-id: http://svn.automattic.com/wordpress/trunk@6064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-08 14:27:24 +00:00
markjaquith ead6bfebf7 Try more ways of getting wp-admin URL in wp_die(). props Nazgul. fixes #4006
git-svn-id: http://svn.automattic.com/wordpress/trunk@6057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-07 02:25:54 +00:00
markjaquith 1ba81b4f02 Properly construct widget classname if second param is an array. Props f00f. fixes #4910
git-svn-id: http://svn.automattic.com/wordpress/trunk@6054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 23:27:16 +00:00
ryan 8d33c59576 Case terms to int so we don't try to create new terms with the term ids as the names. fixes #4920
git-svn-id: http://svn.automattic.com/wordpress/trunk@6050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 22:07:23 +00:00
ryan a428494291 Resurrect hide_empty
git-svn-id: http://svn.automattic.com/wordpress/trunk@6048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 04:34:06 +00:00
ryan a40345190e Add missing instance var. Props filosofo. see #4806
git-svn-id: http://svn.automattic.com/wordpress/trunk@6046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 23:17:41 +00:00
ryan 827ed61968 Remove redundant declaration ofedInsertContent. Props Viper007Bond. fixes #4902
git-svn-id: http://svn.automattic.com/wordpress/trunk@6045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 23:14:39 +00:00
ryan b5a2f7431e Update pop3 class to latest from squirrelmail. Props westi. see #4337
git-svn-id: http://svn.automattic.com/wordpress/trunk@6044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 22:55:38 +00:00
ryan c5d33cbebd Basic tag cloud widget. Props Stargazer. fixes #4130
git-svn-id: http://svn.automattic.com/wordpress/trunk@6040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 21:50:52 +00:00
markjaquith 98a92950a3 Deprecate option_can_override, option_type, option_width, option_height, option_description, option_admin_level from options table. Props Nazgul. fixes #4390
git-svn-id: http://svn.automattic.com/wordpress/trunk@6039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 19:20:53 +00:00
ryan 1760555e8b Don't skip sanitization if 404. Add wp_title display filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 03:11:04 +00:00
westi d7c37c0c02 Improve desriptions for I18N strings. Fixes #4906 props nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@6033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 20:56:08 +00:00
markjaquith 1e8e248b97 Actually, let's just drop that slash check altogether. Equals sign is the best indicator. fixes #4903 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 05:26:18 +00:00
markjaquith ab71cc4a4f Require a slash AND the absence of an equals sign to designate the passed $uri as a base (without a query string). fixes #4903 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 05:21:54 +00:00
markjaquith 5913b16065 Better $pagenow determination. fixes #4748
git-svn-id: http://svn.automattic.com/wordpress/trunk@6029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 03:21:04 +00:00
ryan a4f8a52b4e beta2
git-svn-id: http://svn.automattic.com/wordpress/trunk@6027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 01:01:01 +00:00
ryan 321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
ryan 87c4f3a17f Strip lines that contain only whitespace down to newlines.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:19:20 +00:00
westi d38d018ce9 Fix admin css link when installing in a directory. Fixes #4877
git-svn-id: http://svn.automattic.com/wordpress/trunk@6024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 20:20:18 +00:00
markjaquith e468628526 Check for wp-admin case-insensitively in is_admin()
git-svn-id: http://svn.automattic.com/wordpress/trunk@6022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 19:56:09 +00:00
ryan 58c7ce91e3 Tag unions and intersections. fixes #4895
git-svn-id: http://svn.automattic.com/wordpress/trunk@6021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 18:14:05 +00:00
westi 03d6c4d0ba Change queries in get_{next|previous}_post so that plugins can INNER JOIN on other tables with an ID column. Fixes #4822 props Cimmo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 16:46:31 +00:00
ryan 4726644b8b Don't strip @ from url. Fix scheme prefixing. Props pishmishy. fixes #3299
git-svn-id: http://svn.automattic.com/wordpress/trunk@6015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 15:59:12 +00:00
ryan 986715f5b6 tag_id not tag__id. see #4895
git-svn-id: http://svn.automattic.com/wordpress/trunk@6012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 03:26:57 +00:00
ryan f87baf5b1f tag__in, tag__not_in, and tag_and queries. fixes #4895
git-svn-id: http://svn.automattic.com/wordpress/trunk@6011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 03:24:23 +00:00
markjaquith d723ff00d8 Escape text titles in AtomParser. Props Sam Ruby. fixes #4892
git-svn-id: http://svn.automattic.com/wordpress/trunk@6010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-02 20:42:00 +00:00
markjaquith 7e45ed193a Eliminate double urlencode()ing in add_query_arg(). Move &amp;-to-& conversion to wp_nonce_url(). fixes #4884
git-svn-id: http://svn.automattic.com/wordpress/trunk@6008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-02 05:49:54 +00:00
markjaquith e26363a568 Correct variable name in clean_object_term_cache(). props arnee. fixes #4888
git-svn-id: http://svn.automattic.com/wordpress/trunk@6007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-02 05:08:48 +00:00
markjaquith d60384b385 Turn &amp; to & in add_query_arg(). fixes #4878
git-svn-id: http://svn.automattic.com/wordpress/trunk@6005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-01 22:12:17 +00:00
westi 7612bc20b1 Fix RDF feeds to not contain invalid tag "category". Fixed #4643 props kztk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-01 08:33:08 +00:00
ryan a43e37b8a1 get_tag() and get_tag_feed_link()
git-svn-id: http://svn.automattic.com/wordpress/trunk@6000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-01 04:43:27 +00:00
markjaquith 0906863d2c Preserve query string arrays in add_query_arg(). fixes #4878 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-01 03:41:50 +00:00
ryan 93840b1632 Add some filtering. Props jhodgdon. see #4516
git-svn-id: http://svn.automattic.com/wordpress/trunk@5998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-31 23:55:56 +00:00
ryan 277e5aa914 Don't use unavailable func. Props filosofo. fixes #4881
git-svn-id: http://svn.automattic.com/wordpress/trunk@5997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-31 22:36:16 +00:00
markjaquith a2cac0cf09 Kill %tag%-based permalinks. fixes #4875
git-svn-id: http://svn.automattic.com/wordpress/trunk@5995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-30 19:42:34 +00:00
markjaquith bacbca924f Roll back [5986], [5988], [5989]. We are in a char class, so no escaping needed. Props mdawaffe. see #4873
git-svn-id: http://svn.automattic.com/wordpress/trunk@5993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-30 18:13:48 +00:00
markjaquith f0b39c1b5c Better %0d/%0a sanitization for wp_redirect() from hakre. fixes #4819 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-30 17:46:09 +00:00
ryan 5a997f588b Escape special chars in regex. Props eightize and Otto42. fixes #4873
git-svn-id: http://svn.automattic.com/wordpress/trunk@5986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-30 15:42:26 +00:00
ryan 56dd1d2033 Make sure term cache is cleared when updating term counts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-30 00:34:55 +00:00
ryan b92227412a Trackback fxn cleanup from Otto42. fixes #4800
git-svn-id: http://svn.automattic.com/wordpress/trunk@5982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 23:08:44 +00:00
ryan 395ee1acad Include tags in feeds. fixes #4537
git-svn-id: http://svn.automattic.com/wordpress/trunk@5979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 21:10:20 +00:00
markjaquith 816f89fb03 More cautious canonical-ness. Exclude IIS and POSTs. Better paging handling. Still a work in progress! see #4773
git-svn-id: http://svn.automattic.com/wordpress/trunk@5978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 21:06:51 +00:00
ryan d330ec7e34 delete_post_meta_by_key() from Mark Jaquith. fixes #4178
git-svn-id: http://svn.automattic.com/wordpress/trunk@5976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 19:12:20 +00:00
ryan 0f6dfb8b1f Remove hardcoded clean_url on comment_author_url since it is handled on the pre_comment_author_url filter. Props wnorris. fixes #4120
git-svn-id: http://svn.automattic.com/wordpress/trunk@5975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 19:04:14 +00:00
markjaquith 9e48d38752 Fix paging and preview links for canonical stuff. see #4773. fixes #4862
git-svn-id: http://svn.automattic.com/wordpress/trunk@5974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 18:10:11 +00:00
ryan ef5caabe37 Limit recent entries query to published posts. fixes #4786
git-svn-id: http://svn.automattic.com/wordpress/trunk@5973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 18:02:19 +00:00
ryan 6a0629e717 Take port into consideration when spawning cron. Props bchecketts. fixes #4782
git-svn-id: http://svn.automattic.com/wordpress/trunk@5972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 17:57:06 +00:00
westi 51bde8f657 Remove dead code. Fixed #4791 props filosofo
git-svn-id: http://svn.automattic.com/wordpress/trunk@5970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 17:36:46 +00:00
westi 5691b03700 Add utf8->ascii mappings for icelandic letters. Fixes #4739 props einare
git-svn-id: http://svn.automattic.com/wordpress/trunk@5969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 17:34:15 +00:00
westi 36ec45d7ff Fix xhtml output for RSS widget when feed contains no items. Fixed #4671 props brettz95 and Nazgul
git-svn-id: http://svn.automattic.com/wordpress/trunk@5968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 17:28:07 +00:00
ryan 014915caea Make css cache busting and rtl inclusion uniform across admin. Props mdawaffe. fixes #4830
git-svn-id: http://svn.automattic.com/wordpress/trunk@5965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-28 23:23:38 +00:00
westi 67d21286a8 Ensure we flush the recent entries widget cache after a post has been deleted. Fixes #4825 props donncha
git-svn-id: http://svn.automattic.com/wordpress/trunk@5960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-28 20:12:43 +00:00
westi 9b742b7959 Pass through the function argument so rules can actually be added to the top of the stack, props santos
git-svn-id: http://svn.automattic.com/wordpress/trunk@5959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-28 19:55:11 +00:00
ryan 3fe16de587 explicitly check next() against FALSE in do_action_ref_array(). Props Denis-de-Bernardy, Otto42, Nazgul, santosj, DD32. fixes #4625 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-28 19:06:56 +00:00
ryan 666bfd2d91 Don't return permalink for non-existent post. Props Viper007Bond. fixes #4834
git-svn-id: http://svn.automattic.com/wordpress/trunk@5956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-28 18:58:54 +00:00
ryan 501833e41e beta1
git-svn-id: http://svn.automattic.com/wordpress/trunk@5954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-28 00:18:36 +00:00
ryan 788512c881 Add clean_url filter. see #4570
git-svn-id: http://svn.automattic.com/wordpress/trunk@5952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-27 23:31:09 +00:00
ryan f8d09ad828 Bring in atomlib 0.4 and update wp-app to use it. Props eliast and placey. fixes #4191
git-svn-id: http://svn.automattic.com/wordpress/trunk@5951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-27 19:52:58 +00:00
ryan 7aa077d6a0 Revert get_col behavior. Props mdawaffe. fixes #4826
git-svn-id: http://svn.automattic.com/wordpress/trunk@5950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-27 19:44:53 +00:00
matt d9793c3e8d Make the entire comment flood check pluggable as it can cause load problems on large sites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-27 06:34:18 +00:00
ryan e80177b92b Display tag name, not slug, in title. Props ionfish. fixes #4812
git-svn-id: http://svn.automattic.com/wordpress/trunk@5945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-26 17:18:00 +00:00
ryan 86932908e3 Add missing global and remove unused var. Props JeremyVisser. fixes #4818
git-svn-id: http://svn.automattic.com/wordpress/trunk@5944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-26 17:12:31 +00:00
ryan 4340c63de1 Update to jquery 1.1.4. Props mdawaffe. fixes #4810
git-svn-id: http://svn.automattic.com/wordpress/trunk@5939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-24 21:46:03 +00:00
ryan 51b6d6f6ea Don't pass cat as ref. Fix some term sanitization. fixes #4702
git-svn-id: http://svn.automattic.com/wordpress/trunk@5938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-24 18:41:01 +00:00
ryan ccdf20ef62 Update WP importer to use taxonomy and query cat based on slug. see #4613
git-svn-id: http://svn.automattic.com/wordpress/trunk@5937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-24 14:44:26 +00:00
ryan c8723a4f3f Fix how wp_filter array is keyed. Props santosj/darkdragon. fixes #3875 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-24 14:18:08 +00:00
westi fcd0a36f09 Enable plugins to override the cockney replace array, fixes #4804 props andihit
git-svn-id: http://svn.automattic.com/wordpress/trunk@5930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-23 21:02:31 +00:00