Commit Graph

4101 Commits

Author SHA1 Message Date
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
westi 31992bac0d Allow upload of all Open Office document types props nbachiyski fixes #4615
git-svn-id: http://svn.automattic.com/wordpress/trunk@5929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-23 18:28:14 +00:00
ryan ac46bc16c7 Don't allow private query vars in url_to_postid
git-svn-id: http://svn.automattic.com/wordpress/trunk@5925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-23 16:09:37 +00:00
westi 07ff444b6f Fix plugin basename for Windows servers. Fixes #3002 props Ozh
git-svn-id: http://svn.automattic.com/wordpress/trunk@5924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-23 16:07:21 +00:00
markjaquith 68501fd51b No canonical-ness for wp-admin. see #4773
git-svn-id: http://svn.automattic.com/wordpress/trunk@5921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-23 03:40:51 +00:00
ryan 276b690c7e Add cat-item-id and page-item-id classes. Props Otto42. fixes #4703
git-svn-id: http://svn.automattic.com/wordpress/trunk@5920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-22 22:59:45 +00:00
ryan f65528ed41 Fix get_post_comments_feed_link() to work with pages. fixes #4637
git-svn-id: http://svn.automattic.com/wordpress/trunk@5919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-22 22:42:57 +00:00
ryan 200f0b020f Add get_lastpostdate and 'get_lastpostdatemodified filters. Props rob1n. fixes #4801
git-svn-id: http://svn.automattic.com/wordpress/trunk@5918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-22 22:30:06 +00:00
ryan 02df4f722c Add class to tag cloud links. Props filosofo. fixes #4798
git-svn-id: http://svn.automattic.com/wordpress/trunk@5917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-22 22:28:00 +00:00
ryan cbad9a2993 posts_results and posts_selection hooks. fixes #4799
git-svn-id: http://svn.automattic.com/wordpress/trunk@5916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-22 18:03:26 +00:00
ryan 1a2aa3fcc3 Sanitize a few options
git-svn-id: http://svn.automattic.com/wordpress/trunk@5914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-22 17:57:36 +00:00
ryan 851ce58496 Some tag api additions from andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-21 18:39:45 +00:00
ryan 763f8b8821 commentsrss2_head action from joostdevalk. fixes #4694
git-svn-id: http://svn.automattic.com/wordpress/trunk@5911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-21 18:32:39 +00:00
ryan 9b395107f4 Deprecate permalink_single_rss(). Add the_permalink_rss() with accompanying filter. Props joostdevalk and Otto42. fixes #4654
git-svn-id: http://svn.automattic.com/wordpress/trunk@5910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-21 18:27:45 +00:00
ryan 567bc9d3f1 wp_reset_query() from mdawaffe. fixes #4741
git-svn-id: http://svn.automattic.com/wordpress/trunk@5907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-20 22:55:43 +00:00
ryan ba0f401390 bookmark sanitizer funcs and default filter cleanup. see #4546
git-svn-id: http://svn.automattic.com/wordpress/trunk@5906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-20 22:50:04 +00:00
matt 04558f4424 Don't run if installing, fixes $4772
git-svn-id: http://svn.automattic.com/wordpress/trunk@5900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-19 04:27:04 +00:00
ryan b4cd7ba224 Add back compat to get_the_category. Props nbachiyski. fixes #4771
git-svn-id: http://svn.automattic.com/wordpress/trunk@5899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-18 17:21:51 +00:00
ryan 8d75bcef27 Revert accidental commit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 21:23:39 +00:00
ryan 0458d919c0 First cut of taxonomy API phpdoc from darkdragon. see #4742
git-svn-id: http://svn.automattic.com/wordpress/trunk@5896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 21:22:37 +00:00
matt 096bece621 Switch to init action. Hat tip: westi. See #1476
git-svn-id: http://svn.automattic.com/wordpress/trunk@5894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 13:28:45 +00:00
matt 7c2dbb9cb1 First pass at upgrade notification for core, see #1476. Also includes some minor footer styling changes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 10:33:52 +00:00
markjaquith 410a3c5762 Oops... forgot the svn add. Thanks mdawaffe. see #4554
git-svn-id: http://svn.automattic.com/wordpress/trunk@5891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 03:45:59 +00:00
ryan 948284b296 Don't update comments feed last-modified header for unapproved comments. Props James Ballantine and Nazgul. fixes #4618 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-16 19:26:01 +00:00
ryan 19f1e721bb Use dc:creator instead of author for rss2 comment feeds. Props lexhair, Otto42. fixes #4704 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-16 18:34:57 +00:00
ryan 4ae69ee6a8 Advanced Toolbar shortcut hint fix from leonid. fixes #4707
git-svn-id: http://svn.automattic.com/wordpress/trunk@5880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-16 18:17:54 +00:00
ryan aa1b4e8968 Set instead of add since the cache value has multiple keys that can change. Props josephscott. fixes #4743
git-svn-id: http://svn.automattic.com/wordpress/trunk@5879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-16 18:12:12 +00:00
ryan f478ddaa36 Pass args as array instead of query string.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-16 18:00:47 +00:00
ryan ff20fd6c17 Category union and intersection query vars. fixes #4750
git-svn-id: http://svn.automattic.com/wordpress/trunk@5873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-15 22:08:51 +00:00
ryan 8b205f4e87 Typo fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@5872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-15 21:54:02 +00:00
ryan 951a41ad1e get_the_tag_list from andy. fixes #4733
git-svn-id: http://svn.automattic.com/wordpress/trunk@5871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 03:44:49 +00:00
ryan 13b23aa20a Space before slash to properly close br tag. Props tmountjr. fixes #4717
git-svn-id: http://svn.automattic.com/wordpress/trunk@5870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 03:12:24 +00:00
ryan ddc05f60ea wp_update_comment_count hook from mdawaffe. fixes #4740
git-svn-id: http://svn.automattic.com/wordpress/trunk@5869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 03:08:44 +00:00
ryan 2ae70d7c72 Update in_category() to use object term cache API. Props technosailor. fixes #4442
git-svn-id: http://svn.automattic.com/wordpress/trunk@5868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 03:01:26 +00:00
ryan dc1c54a35c Use opendir instead of dir. Props nbachiyski. fixes #4450
git-svn-id: http://svn.automattic.com/wordpress/trunk@5867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 02:58:33 +00:00
ryan 638d5e6e39 wp_update_term_count fixes from cavemonkey50. fixes #4500
git-svn-id: http://svn.automattic.com/wordpress/trunk@5866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 02:54:02 +00:00
ryan 7c1ce10fae sanitize the value, not the field. Props cavemonkey50. fixes #4651
git-svn-id: http://svn.automattic.com/wordpress/trunk@5865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 02:46:06 +00:00
matt c13a667443 A more elegant way of doing get_col.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-10 19:30:24 +00:00
markjaquith 5b82b1c426 Prevent get_col() from returning an array of NULLs. see #4725
git-svn-id: http://svn.automattic.com/wordpress/trunk@5860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-10 18:08:04 +00:00
markjaquith 676ea2ea3c globalize wp_version so Magpie can use it. props Nazgul, hakre. fixes #3996
git-svn-id: http://svn.automattic.com/wordpress/trunk@5859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-10 08:07:53 +00:00
matt 0311e61389 If you don't have anything nice to say, don't say anything at all. (And certainly don't return the results of a previous query to an empty query.)
git-svn-id: http://svn.automattic.com/wordpress/trunk@5858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-10 01:33:56 +00:00
markjaquith b64ce2d0f0 explicitly check next() against FALSE when iterating through filters. Props Denis-de-Bernardy, Otto42, Nazgul, santosj (go team effort!). fixes #4625 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-08 17:41:46 +00:00
markjaquith 2af150e496 Avoid running get_posts filter twice. Props DD32. fixes #4712
git-svn-id: http://svn.automattic.com/wordpress/trunk@5855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-08 04:24:44 +00:00
markjaquith 5c83a39e33 Clear old future post cron entry before creating the authoritative one. Props Barry. fixes #4710
git-svn-id: http://svn.automattic.com/wordpress/trunk@5853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-08 04:08:06 +00:00
markjaquith 44df30f2d6 Fix class-smtp.php typo. Props Nazgul, tension7. fixes #4700
git-svn-id: http://svn.automattic.com/wordpress/trunk@5852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-05 18:13:24 +00:00
markjaquith fa0dc110d9 Allow for hour/minute/second values in the QS that evaluate as false (like 0). Props Otto42 and agharbeia. fixes #4499
git-svn-id: http://svn.automattic.com/wordpress/trunk@5848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-04 16:30:27 +00:00
matt 763b0b689e If no user ID for whatever reason, bail early.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-04 03:58:42 +00:00
markjaquith 9e21fb42fc function_exists() wrapper around fetch_rss() to allow for plugin replacement. Props Otto42. see #4547
git-svn-id: http://svn.automattic.com/wordpress/trunk@5845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-03 01:39:36 +00:00
markjaquith 3ba71111de Allow pre_option_ filters to return values that evaluate as false. fixes #4695
git-svn-id: http://svn.automattic.com/wordpress/trunk@5842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-02 22:51:42 +00:00
markjaquith ad81604c8c add_option()/update_option() should pass the option name to get_option() pre-escaped. fixes #4690 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-01 19:14:10 +00:00
markjaquith e06883dfcc Use "home," not "siteurl" for widget dropdown category URLs. Props Pastinakel. fixes #4683 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-30 16:23:04 +00:00
markjaquith 764f50bd3d ABSPATH already has a trailing slash. Props Nazgul. fixes #4607
git-svn-id: http://svn.automattic.com/wordpress/trunk@5820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-27 21:28:01 +00:00
ryan f2223e6dc5 In your cats, making them back compat.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-25 03:04:46 +00:00
ryan 401f581879 Don't forget to filter post_category
git-svn-id: http://svn.automattic.com/wordpress/trunk@5817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-24 22:29:41 +00:00
ryan b01cbf1b76 fix FF bug in write screen: post status change on reload. Props mdawaffe. fixes #4664
git-svn-id: http://svn.automattic.com/wordpress/trunk@5816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-24 21:40:58 +00:00
westi 75a3af7d17 Only enable gzip compression if it is not enabled in php.ini. Fixes #4426
git-svn-id: http://svn.automattic.com/wordpress/trunk@5810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-18 21:12:22 +00:00
ryan e7d71efdd9 Revert jcalendar date picker experiment. Save it for another day. fixes #4641
git-svn-id: http://svn.automattic.com/wordpress/trunk@5808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-17 19:26:03 +00:00
ryan 7217266ca3 AND get_terms() field queries
git-svn-id: http://svn.automattic.com/wordpress/trunk@5807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-17 02:02:52 +00:00
ryan 460ddd3a1d Eliminate post_pingback stuff since we always use default_pingback_flag. fixes pingback problems caused by [5797] for #4620
git-svn-id: http://svn.automattic.com/wordpress/trunk@5806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-16 23:11:51 +00:00
ryan db54c8c57d Make balanceTags() option independent. Props mdawaffe. fixes #4626
git-svn-id: http://svn.automattic.com/wordpress/trunk@5805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-16 19:23:41 +00:00
ryan 714f8edd6c jquery data selector for post timestamps. Props tellyworth. fixes #4641
git-svn-id: http://svn.automattic.com/wordpress/trunk@5804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-16 19:22:27 +00:00
ryan d8d651221c Show upload file size in upload browser. Props tellyworth. fixes #4561
git-svn-id: http://svn.automattic.com/wordpress/trunk@5801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-15 17:52:50 +00:00
ryan c140ccb72d Fix variable name. Props bgracewood. fixes #4621
git-svn-id: http://svn.automattic.com/wordpress/trunk@5797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-12 16:00:51 +00:00
ryan ebf520f0d7 Post filter rework. see #4546
git-svn-id: http://svn.automattic.com/wordpress/trunk@5796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-11 19:57:43 +00:00
ryan b4557ec25b Don't load all includes by default. We have our own script loader. fixes #4512
git-svn-id: http://svn.automattic.com/wordpress/trunk@5794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-09 21:22:38 +00:00
ryan 6eb4acd7fd Bump scriptaculous ver in script loader. fixes #4512
git-svn-id: http://svn.automattic.com/wordpress/trunk@5793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-09 20:20:34 +00:00
ryan e47dfd7529 Update to scriptaculous 1.7.1_beta3. Props Nazgul. fixes #4512
git-svn-id: http://svn.automattic.com/wordpress/trunk@5792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-09 20:14:28 +00:00
markjaquith 76ed1bdad8 Undo pre-doublequoting in prepare(). Props JeremyVisser. see #4553
git-svn-id: http://svn.automattic.com/wordpress/trunk@5791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-09 17:55:32 +00:00
ryan 97daaa0d03 Update jquery to 1.1.3.1. Fixes http://bugs.kde.org/show_bug.cgi?id=147661
git-svn-id: http://svn.automattic.com/wordpress/trunk@5790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-08 21:10:14 +00:00
markjaquith 9b0c0d56db Properly unset notoptions cache in add_option() so that get_option() and update_option() work on the same load. fixes #4429 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-07 04:06:29 +00:00
markjaquith b721942f26 Pass extra args to pre_kses hook. Props mdawaffe. see #4409
git-svn-id: http://svn.automattic.com/wordpress/trunk@5787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-06 22:47:24 +00:00
ryan fd4c86f9a4 Resurrect noquery
git-svn-id: http://svn.automattic.com/wordpress/trunk@5784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-06 20:45:46 +00:00
markjaquith 2304077c2b Entitize lone less-than characters. Props mdawaffe. fixes #4409
git-svn-id: http://svn.automattic.com/wordpress/trunk@5783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-06 12:53:15 +00:00
ryan 0d05f746cf Don't richedit for comments. Props Joseph Scott. fixes #4587 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-05 20:11:32 +00:00
markjaquith 45db1a512a Automatically quote strings in $wpdb->prepare(). Use vsprintf(). see #4553
git-svn-id: http://svn.automattic.com/wordpress/trunk@5779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-05 17:32:46 +00:00
markjaquith fbdfcce157 Introducing "prepare", a WPDB method for sprintf()-prepared SQL statements. see #4553. Implementation details to follow.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-04 16:18:57 +00:00
markjaquith 6e0ef646b7 Make it possible for a plugin to replace the feed-parsing engine. see: #4547
git-svn-id: http://svn.automattic.com/wordpress/trunk@5776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-03 18:10:20 +00:00
matt d31029a026 Upgrade to jQuery 1.1.3, fixes #4576
git-svn-id: http://svn.automattic.com/wordpress/trunk@5775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-02 23:57:52 +00:00
ryan 46110c7774 Delete term relationship only for the given object.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-02 15:47:27 +00:00
markjaquith a2f7332558 Mark pingback as already pinged when the target site says it already got the pingback. props mdawaffe. fixes #4289
git-svn-id: http://svn.automattic.com/wordpress/trunk@5772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-27 23:28:36 +00:00
ryan c1adb3c7ad Allow rules to be added to the top of the rule stack.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-27 21:39:50 +00:00
markjaquith 0e2d9ff004 Fix typo in get_the_author_url(). props pgdx. fixes #4542
git-svn-id: http://svn.automattic.com/wordpress/trunk@5767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-27 00:51:04 +00:00
markjaquith 64ef1ed841 Correctly grab Content-Type from old-school headers, skip blank headers. fixes #4296
git-svn-id: http://svn.automattic.com/wordpress/trunk@5764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-26 20:18:56 +00:00
markjaquith 9a91481a2b Don't add MIME-Version header twice (PHPMailer already adds it). see #4296
git-svn-id: http://svn.automattic.com/wordpress/trunk@5763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-26 19:11:23 +00:00
markjaquith d9d5fde1e7 compare mail headers case-insensitively and actually use the Content-Type specified. Props Nazgul. see: #4296
git-svn-id: http://svn.automattic.com/wordpress/trunk@5762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-26 18:28:56 +00:00
markjaquith 829ace3e68 strpos() is "haystack,needle", not "needle,haystack" Props pishmishy. fixes #4520
git-svn-id: http://svn.automattic.com/wordpress/trunk@5761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-26 18:06:17 +00:00
ryan 267997a4fd Add name_like query to get_terms(). Use it in suggestCategories.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-25 21:28:19 +00:00
ryan 0e7483cc5a s/cat_name/name/ see #4537
git-svn-id: http://svn.automattic.com/wordpress/trunk@5755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-25 20:06:02 +00:00
ryan a5e56dc9db s/cat_name/name/ see #4537
git-svn-id: http://svn.automattic.com/wordpress/trunk@5754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-25 19:51:26 +00:00
ryan ed549303d7 Move the_title filter to get_the_title. Props jhodgdon. fixes #4477
git-svn-id: http://svn.automattic.com/wordpress/trunk@5752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-25 17:48:35 +00:00
markjaquith ad9271f86f Don't init widgets if the blog isn't installed yet. fixes #4504
git-svn-id: http://svn.automattic.com/wordpress/trunk@5747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-23 05:32:16 +00:00
markjaquith eefdd4cef7 Upgrade to Prototype 1.5.1.1 (bugfix release). Props Nazgul. fixes #4502
git-svn-id: http://svn.automattic.com/wordpress/trunk@5743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-21 22:01:21 +00:00
ryan 74bc9bb8a6 Term count fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@5741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-21 15:46:49 +00:00
ryan 21e8f43f8c Don't create '0' categories. fixes #4413
git-svn-id: http://svn.automattic.com/wordpress/trunk@5739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-20 22:06:29 +00:00
ryan 9d84bef608 js_escape improvements from Alexander Concha. Catches &#39 &#039 &#39; &#039; &#x27; &#X000027; &#x000027 etc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-19 22:46:55 +00:00
rob1n 7b09e504e7 Change references of get_object_terms() to wp_get_object_terms(). fixes #4490
git-svn-id: http://svn.automattic.com/wordpress/trunk@5728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-19 18:03:12 +00:00
rob1n 0eb86404da Fix up wp_list_authors() SQL. fixes #4485
git-svn-id: http://svn.automattic.com/wordpress/trunk@5727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-19 17:57:53 +00:00
ryan e2dc2a8dd3 Add some taxonomy validation. Rearrange funcs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-19 00:33:44 +00:00
ryan e30a9ba012 Upgrade code for multiple category widgets. Props Andy. see #4285
git-svn-id: http://svn.automattic.com/wordpress/trunk@5717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-16 02:03:25 +00:00
ryan 64d3a54b85 Don't use permalinks for pending posts. see #4446
git-svn-id: http://svn.automattic.com/wordpress/trunk@5716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-15 22:11:01 +00:00
rob1n 404e50bfb3 Show the name, not the slug. fixes #4473
git-svn-id: http://svn.automattic.com/wordpress/trunk@5715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-15 18:26:43 +00:00
ryan aac03a2066 wp_parse_str() from mdawaffe. see #4467
git-svn-id: http://svn.automattic.com/wordpress/trunk@5709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 22:46:59 +00:00
ryan 9d3d20f063 Use EXTR_SKIP when extracting. see #4468
git-svn-id: http://svn.automattic.com/wordpress/trunk@5708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 22:45:40 +00:00
markjaquith 7f44512c5d Introducing post_status="pending". see #4446 and put any initial bug reports on that ticket
git-svn-id: http://svn.automattic.com/wordpress/trunk@5707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 16:24:28 +00:00
markjaquith e211aa64e7 use FALSE to designate lack of user-supplied URL in *_query_arg() funcs. fixes #4465 for 2.3 (trunk)
git-svn-id: http://svn.automattic.com/wordpress/trunk@5705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 05:12:22 +00:00
markjaquith 99f0971b73 only strip question marks from the RIGHT side of the query string. fixes #4464 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 04:44:06 +00:00
rob1n 9fac8dcbae Use display_name instead. Props Pal Gronas Drange. fixes #4459
git-svn-id: http://svn.automattic.com/wordpress/trunk@5701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:30:26 +00:00
ryan 2f09416258 Trim empty lines. Nothing but newline.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:25:30 +00:00
ryan 72c169c2f1 Don't output author uri tag if uri is empty.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-13 18:03:17 +00:00
rob1n cbdc90759c wp_rss() updates. fixes #3834
git-svn-id: http://svn.automattic.com/wordpress/trunk@5698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-13 17:23:38 +00:00
markjaquith 8187ddb3d7 correct CSS link for install. Props Viper007Bond. fixes #4443
git-svn-id: http://svn.automattic.com/wordpress/trunk@5694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-13 06:33:17 +00:00
matt 81dd1f1737 Update in_category to use the new object_term_cache, it wasn't so much with the working before.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-13 00:16:33 +00:00
rob1n e3328ca20b Don't include HTML in gettext call. Props nbachiyski and Nazgul. fixes #4437
git-svn-id: http://svn.automattic.com/wordpress/trunk@5688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 21:48:55 +00:00
markjaquith 6d5da3e33c Force $autoload to be either "yes" or "no". see #4440. props Nazgul
git-svn-id: http://svn.automattic.com/wordpress/trunk@5686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 20:57:58 +00:00
markjaquith cf2b700d93 Make sure post titles longer than 200 chars get unique slugs. fixes #4433. props AaronCampbell.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 20:49:40 +00:00
ryan 21dff0640c Add a prophylactic sanitize_user()
git-svn-id: http://svn.automattic.com/wordpress/trunk@5683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 18:11:06 +00:00
ryan 66e6a55c7e escapeshellarg the sender
git-svn-id: http://svn.automattic.com/wordpress/trunk@5682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-11 23:19:33 +00:00
rob1n ff6f1383d1 Maintain "Page order" for consistency. fixes #4431
git-svn-id: http://svn.automattic.com/wordpress/trunk@5677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-11 21:11:40 +00:00
rob1n 6e5e54b5ae Revert multiple category stuff. see #4285
git-svn-id: http://svn.automattic.com/wordpress/trunk@5675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-09 00:59:14 +00:00
rob1n 32a890bd26 Some more multiple category widget stuff. see #4285
git-svn-id: http://svn.automattic.com/wordpress/trunk@5673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-08 22:50:37 +00:00
rob1n 64b91fc94b Add support for multiple instances of the category widget. see #4285
git-svn-id: http://svn.automattic.com/wordpress/trunk@5669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-08 14:49:30 +00:00
ryan f2f6101e1c Comment caching. Reduce queries on edit-comments.php page. Add non-persistent cache groups. Hat tip to hovenko. fixes #4387
git-svn-id: http://svn.automattic.com/wordpress/trunk@5666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-08 00:20:22 +00:00
ryan a09031ecd0 Use get_term_children() and get_term_field(). see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-06 16:13:12 +00:00
ryan bac1fccf3a Fix category renaming. fixes #4415 see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-06 16:10:52 +00:00
ryan 9f46c4af44 Term sanitization. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-05 00:57:23 +00:00
ryan 16e8f842f5 Fix link category dropdown and filter. Add some back compat to get_categories. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-03 17:28:27 +00:00
rob1n 9ce729e656 Content-Type, not Content-type, as headers are case sensitive. Props foolswisdom and Nazgul. fixes #3545
git-svn-id: http://svn.automattic.com/wordpress/trunk@5640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 05:21:18 +00:00
rob1n 64820ed1ae wp_mail() rewrite that handles HTML mail. fixes #4296
git-svn-id: http://svn.automattic.com/wordpress/trunk@5639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 03:18:24 +00:00
rob1n 026cdded71 phpDoc effort for wp-includes/author-template.php. fixes #4393
git-svn-id: http://svn.automattic.com/wordpress/trunk@5638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 03:04:01 +00:00
ryan 4214428322 Separate AJAX cat adder into post and link flavors. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 02:53:09 +00:00
rob1n cac67278d2 Move JavaScript to js subfolder, and CSS to css subfolder. see #4334
git-svn-id: http://svn.automattic.com/wordpress/trunk@5631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 00:37:51 +00:00
rob1n c927ae3f37 Keep greedy regex's in control. fixes #4165
git-svn-id: http://svn.automattic.com/wordpress/trunk@5630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 00:02:06 +00:00
rob1n 168c858844 Move uploads JS to jQuery. Props filosofo. see #3824
git-svn-id: http://svn.automattic.com/wordpress/trunk@5629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-01 23:52:27 +00:00
rob1n d9757a4426 phpDoc for wp-includes/registration.php. fixes #4383
git-svn-id: http://svn.automattic.com/wordpress/trunk@5627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-01 23:13:41 +00:00
rob1n 82e3bf32c3 Fix a strpos typo. fixes #4390
git-svn-id: http://svn.automattic.com/wordpress/trunk@5626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-01 23:10:03 +00:00
rob1n a437fa5e23 Fix wp_title single post title filters. Props jhodgdon. fixes #3755
git-svn-id: http://svn.automattic.com/wordpress/trunk@5625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-01 22:54:46 +00:00
markjaquith 06e670d043 Allow wp_list_authors() to optionally return. fixes #4323. see #3567.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-01 05:43:24 +00:00
rob1n b8c26df7e0 Fix nestable HTML, including <blockquote>'s. Props anonymousbugger (!) and Nazgul. fixes #1170
git-svn-id: http://svn.automattic.com/wordpress/trunk@5623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-01 02:33:03 +00:00
ryan 9e8bfa7f7b query by parent, not child_of, in get_nested_categories(). see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-01 02:24:07 +00:00
markjaquith bd89b78f8d get_bloginfo("comments_atom_url") now works properly. fixes #4382 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 22:44:21 +00:00
markjaquith 09202da539 correct "type" in Atom comments feed alternate links. fixes #4381 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 22:13:06 +00:00
ryan fbe9b4d76e Abstract object term cache a bit more. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 21:38:33 +00:00
rob1n 71a095d0ee Don't translate "you haven't installed" text yet, because text domain isn't installed. Props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 12:29:46 +00:00
rob1n 01af55cbf7 Bring tinyspell.php into sync. Props Nazgul. fixes #4368
git-svn-id: http://svn.automattic.com/wordpress/trunk@5614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 12:22:06 +00:00
rob1n e836ded63b Fix variable typo. Props schulte. fixes #4374
git-svn-id: http://svn.automattic.com/wordpress/trunk@5613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 03:51:03 +00:00
ryan e7e4c113fd If a term has no children, return an empty array for child_of queries. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 03:44:18 +00:00
rob1n d268eae391 Some more get_pagenum_link() fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 03:36:40 +00:00
rob1n 544f18ce7d Fix get_pagenum_link() for query strings. fixes #3930
git-svn-id: http://svn.automattic.com/wordpress/trunk@5610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 03:29:44 +00:00
rob1n fb2f7fb6b0 Fix some typos in query.php. Props schulte. fixes #4373
git-svn-id: http://svn.automattic.com/wordpress/trunk@5609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 03:19:38 +00:00
rob1n ba3abf0733 Add option to exclude pages to pages widget. see #4259
git-svn-id: http://svn.automattic.com/wordpress/trunk@5605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 01:57:10 +00:00
rob1n fc76cc488d Prototype fix to keep Safari < 2 from blowing up. fixes #4363
git-svn-id: http://svn.automattic.com/wordpress/trunk@5604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 01:38:11 +00:00
rob1n ebee78ae54 Check that tinyMCE is defined. Props johnbillion. fixes #4257
git-svn-id: http://svn.automattic.com/wordpress/trunk@5602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 00:24:31 +00:00
rob1n e83a798987 Upgrade TinyMCE spell checker to 1.0.5. fixes #4368
git-svn-id: http://svn.automattic.com/wordpress/trunk@5601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 00:21:55 +00:00
ryan 7800ed531e Fix slug queries. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-30 21:50:57 +00:00
ryan df1a8696d5 Some term caching. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-30 03:36:59 +00:00
ryan 7c39499aa0 Category hierarchy fixes. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-30 01:39:47 +00:00
ryan facc7245fa Add ignore_empty option to wp_count_terms(). see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-30 01:05:44 +00:00
ryan e2a9845a94 Add missing taxonomy argument. Props nbachiyski. fixes #4362 see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 23:06:46 +00:00
ryan 083dfb059b Fix listing of categories with parents. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 21:50:00 +00:00
ryan 3176f1acd2 get_term_children() and category query fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 21:27:49 +00:00
ryan 6a314d85d8 Use taxonomy instead of post2cat. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 16:52:31 +00:00
markjaquith b0ffd98c95 switch to term_id and name for category sorting. see #4189. sort by term_id for category permalinks, by name for get_the_category(). fixes #4335 for trunk. Props Erik Barzeski for the find.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 04:54:45 +00:00
ryan 4efb612c1a Post and page management filter additions from mdawaffe. see #3945
git-svn-id: http://svn.automattic.com/wordpress/trunk@5587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 04:28:10 +00:00
ryan c09ea05543 Use API instead of SELECT. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 04:26:36 +00:00
ryan 13a01467dc get_objects_in_term()
git-svn-id: http://svn.automattic.com/wordpress/trunk@5585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 04:25:09 +00:00
markjaquith fcf640dd6b declare $user_ID global in load_template(). fixes #4354.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 21:32:35 +00:00
rob1n 4b9d4641be Add a is_user_logged_in() check.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 20:39:24 +00:00
rob1n 5aedce1521 Update TinyMCE to 2.1.1.1 (look at all those 1's...). fixes #4262
git-svn-id: http://svn.automattic.com/wordpress/trunk@5577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 19:30:05 +00:00
ryan 6621b8eed0 Fix category permalinks. Update cat_ID to term_id. fixes #4349 see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 18:47:08 +00:00
ryan a438f8a92a Better draft, private, and future post/page management from mdawaffe. fixes #3945
git-svn-id: http://svn.automattic.com/wordpress/trunk@5575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 18:34:06 +00:00
rob1n 6800fa5564 Actually, this makes more sense.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 17:11:42 +00:00
rob1n 673cab8183 Turn string to upper. Props Donncha. fixes #4350
git-svn-id: http://svn.automattic.com/wordpress/trunk@5572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 17:05:46 +00:00
markjaquith 6a41f63aae permalink_link() is deprecated, and should reference its replacement.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 04:39:40 +00:00
rob1n 0617eb51d0 Add rel="tag" to tag links. fixes #4159
git-svn-id: http://svn.automattic.com/wordpress/trunk@5568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 02:07:59 +00:00
ryan 965e63b970 Register taxonomies as object instead of arrays. Fix tt_ids query in get_post_terms().
git-svn-id: http://svn.automattic.com/wordpress/trunk@5567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 00:51:24 +00:00
ryan ee5ec0c505 Fix up exporter. Remove more refrences to the categories table. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 19:32:45 +00:00
ryan 333d77ea9c Typo fix from flinkflonk. fixes #4347 see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 17:45:31 +00:00
ryan eb541a962f Link category fixes. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 17:21:04 +00:00
ryan 49953705f1 Delete term if no taxonomies use it. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 06:29:52 +00:00
ryan 128bbfa161 Change term count callback style. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 06:17:50 +00:00
ryan 3e59a81327 Remove debug. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 05:28:30 +00:00
ryan c816b51b8c Fix object term relationship deletion and count updating.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 05:15:18 +00:00
ryan 2918f50e90 Term cache work. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-26 23:32:06 +00:00
ryan 80ce3031d1 Update cat2tag converter. Some term API tweaks. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-26 18:54:16 +00:00
ryan b068bd6447 During upgrade, make slugs unique and put like slugs in a term group. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-26 17:47:20 +00:00
rob1n 77a141151f Fix typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 16:27:34 +00:00
rob1n a98bb3abda Fix Atom feeds' categories. fixes #4307
git-svn-id: http://svn.automattic.com/wordpress/trunk@5548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 15:55:30 +00:00
ryan f7e5557f6e Don't load category cache from old tables. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 09:45:55 +00:00
ryan 92e7d3c3bc Make sure sanitize_option() is always called when updating options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 02:22:30 +00:00
ryan 6445fc55a2 Category/tag to taxonomy upgrade. First cut.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-24 22:40:24 +00:00
rob1n 315fcd5cd6 the_search_query() revamp. fixes #4327
git-svn-id: http://svn.automattic.com/wordpress/trunk@5536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-24 03:37:10 +00:00
rob1n cf3f7ac197 Use selected() to clean that up. Thanks Mark. fixes #4291
git-svn-id: http://svn.automattic.com/wordpress/trunk@5535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-24 00:29:51 +00:00
ryan 76d2530a7e No more TAXONOMY bit fiels. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 22:11:02 +00:00
ryan 6251eb3ca6 wp_delete_term(). see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 22:03:24 +00:00
ryan 1b783b9b9a More rel_type elimination. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 20:59:11 +00:00
ryan b00beb3027 Convert category queries and list cats to taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 18:59:12 +00:00
ryan 0e05576999 Set and get post cats to taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 18:07:53 +00:00
ryan 675cc0d029 wp_insert_category(), cat_rows(), and others using taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 17:28:13 +00:00
rob1n 4d9a6e1a98 Fix bloginfo() filtering when it comes to links. Props Nazgul. fixes #4116
git-svn-id: http://svn.automattic.com/wordpress/trunk@5526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 14:58:32 +00:00
ryan 42df47a478 Add get_term_by() and taxonomy registration bits. Move more category stuff to taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 10:32:33 +00:00
ryan 557eafd82e Add some term hooks. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 07:26:52 +00:00
ryan 4bbddb6559 Start moving link categories to taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 07:15:10 +00:00
ryan b450105bfd wp_insert_term() and wp_update_term(). see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 05:42:31 +00:00
ryan 0b795ff92b Add get_terms() and get_term(). Move more of tagging to taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 03:57:20 +00:00
rob1n 6a1b3fcd19 Run it through the filter. see #4259
git-svn-id: http://svn.automattic.com/wordpress/trunk@5519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 22:36:56 +00:00
ryan c5967f3432 Remove the_content filter from widget text. see #4259
git-svn-id: http://svn.automattic.com/wordpress/trunk@5518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 21:32:07 +00:00
ryan 6ecc901391 Fix primary key on term_relationships. Add wp_set_object_terms(). Setting post tags working now. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 20:39:26 +00:00
ryan 634a33c206 Very rough initial commit of taxonomy for everyone's hacking pleasure. There be dragons. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 05:12:38 +00:00
rob1n 3ed5b0a01e Don't show title if user leaves it blank. see #4259
git-svn-id: http://svn.automattic.com/wordpress/trunk@5509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 00:25:44 +00:00
rob1n 7048b27ede Don't call is_wp_error() in wp_die() if it hasn't been defined yet. fixes #4308
git-svn-id: http://svn.automattic.com/wordpress/trunk@5507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-21 22:50:32 +00:00
ryan aeb569d93d Fix theme template field. fixes #4310 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-21 20:11:53 +00:00
ryan b634b18433 Check if is_array before unsetting array index. fixes #4306 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-21 16:39:08 +00:00
rob1n 041135b01b Pass text widget text through format_to_edit. Props Ryan. fixes #4302
git-svn-id: http://svn.automattic.com/wordpress/trunk@5499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-21 13:13:22 +00:00
rob1n b83c9dae09 Fix wp-ajax.js addArg's hashes. Props technosailor. fixes #4277
git-svn-id: http://svn.automattic.com/wordpress/trunk@5498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-21 12:56:39 +00:00
rob1n 4a83568904 Check for switch_themes, not edit_themes. Props Denis de Bernardy. fixes #4292
git-svn-id: http://svn.automattic.com/wordpress/trunk@5492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-19 04:38:51 +00:00
rob1n 1d47f812cd Select the option if it's set to that. fixes #4291
git-svn-id: http://svn.automattic.com/wordpress/trunk@5490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-19 04:26:02 +00:00
ryan 592c3c0767 Fix tinymce colorpicker. Props azaozz. fixes #4188 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-19 00:10:24 +00:00
rob1n 5d40bf562c Texturize and autop the text widgets, and allow pages to be sorted by a specified field. Props Denis de Bernardy. see #4259
git-svn-id: http://svn.automattic.com/wordpress/trunk@5486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-18 02:29:11 +00:00
ryan 8da6590866 Restore crack-headed arg passing to register_sidebar_widget(). fixes #4275 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-16 17:49:32 +00:00
rob1n 349ba3a536 Fix some attribute misnamings. Props Erunafailaro. fixes #4274
git-svn-id: http://svn.automattic.com/wordpress/trunk@5483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-16 17:37:55 +00:00
rob1n d6b4808d80 Update Prototype to 1.5.1 and script.aculo.us to 1.7.1-b2. Props zamoose. fixes #4265
git-svn-id: http://svn.automattic.com/wordpress/trunk@5482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-16 03:27:07 +00:00
rob1n 77b86e7c68 Fix get_pagenum_link(). fixes #3930
git-svn-id: http://svn.automattic.com/wordpress/trunk@5481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-16 02:47:24 +00:00
ryan a291731ed3 Theme screenshot fix from mdawaffe. fixes #4266 for 2.3.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-14 23:30:17 +00:00
ryan 1fbb89b1a0 Allow sidebar names to be passed to dynamic_sidebar(). fixes #4258 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-14 05:13:39 +00:00
ryan f5b4234c59 Flush all output buffers during shutdown to avoid PHP 5 bustage. see #3354
git-svn-id: http://svn.automattic.com/wordpress/trunk@5462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-12 22:06:31 +00:00
ryan b820d101d6 Return proper protocol. fixes #3886 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-12 21:55:14 +00:00
rob1n 24399dcbfb Seeing double. Good spot momo360modena. fixes #4251 for 2.1, 2.2 and 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-12 19:47:47 +00:00
rob1n f417e94b89 Don't make useless status_header() call. fixes #4249
git-svn-id: http://svn.automattic.com/wordpress/trunk@5458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-12 19:30:38 +00:00
rob1n 51ace86089 Don't call the function if it doesn't exist yet. fixes #4249
git-svn-id: http://svn.automattic.com/wordpress/trunk@5455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-12 16:24:17 +00:00
rob1n 1fb3798eb5 Bring get_pagenum_link() into this century. Props Mark Jaquith. fixes #3930
git-svn-id: http://svn.automattic.com/wordpress/trunk@5454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-12 00:17:34 +00:00
rob1n 65454107d1 git-svn-id: http://svn.automattic.com/wordpress/trunk@5451 1a063a9b-81f0-0310-95a4-ce76da25c4cd 2007-05-11 04:02:30 +00:00
rob1n 492592d5ec Ugh. I thought I had fixed all of these.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-11 04:01:54 +00:00
rob1n b354bc3813 Filter get_theme_data() data through KSES to get rid of evil XSS things. fixes #4236
git-svn-id: http://svn.automattic.com/wordpress/trunk@5447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-11 03:44:03 +00:00
rob1n ee7d9e9e18 New status_header code, and WP-DB bail() errors send a 503 Service Unavailable. see #2409
Also, the new header code to text array has 302 as Found. fixes #4183


git-svn-id: http://svn.automattic.com/wordpress/trunk@5446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-11 03:34:50 +00:00
rob1n e6c189902c Use wp_parse_args(). fixes #4237
git-svn-id: http://svn.automattic.com/wordpress/trunk@5444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-11 03:10:05 +00:00
ryan 70c17cc871 Escapage
git-svn-id: http://svn.automattic.com/wordpress/trunk@5441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-11 00:56:12 +00:00
ryan 93266da580 Add missing preg delimiter. see #4241
git-svn-id: http://svn.automattic.com/wordpress/trunk@5433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 16:37:44 +00:00
rob1n 26dfd309f6 Show WP-Adv TinyMCE button by default. Props johnbillion. fixes #3171
git-svn-id: http://svn.automattic.com/wordpress/trunk@5429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 02:42:00 +00:00
rob1n 56a1232923 Don't discard non-default args in wp_parse_args(). see #4237
git-svn-id: http://svn.automattic.com/wordpress/trunk@5428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 02:33:01 +00:00
rob1n 58839706d0 Let WebKit 420 or above get in. And clean up that overgrown ternary. Props Andy. fixes #4241
git-svn-id: http://svn.automattic.com/wordpress/trunk@5425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 01:31:12 +00:00
rob1n ece3623070 Don't add port if port == 80 (default port). fixes #3993
git-svn-id: http://svn.automattic.com/wordpress/trunk@5424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 01:26:56 +00:00
ryan 6f6062af97 Obey show_post_count for dropdown.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-09 21:54:30 +00:00
rob1n 1e30a12eb5 Bit of clean-up.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-09 04:19:19 +00:00
ryan 627725be1a Make sure wp_actions is set before counting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-08 17:59:52 +00:00
ryan bbad336b10 Don't send header from wp_die() if admin header already sent. fixes #4234 for 2.3.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-07 23:24:44 +00:00
ryan 481e505d49 Fix did_action to properly account for actions that have no callbacks attached.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-07 23:22:50 +00:00
ryan 9b1b9b2084 attribute_escape for widgets. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-07 02:16:28 +00:00
ryan 9805be9f11 Make sure Widgets menu comes after Themes. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-06 20:36:11 +00:00
ryan 23b99491a2 Fix widget registration back compat by splitting API. Fix feed widget. For 2.3. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-06 07:08:11 +00:00
rob1n 8638b7ab3a Return based on whether the hook was removed or not. Props mdawaffe. fixes #4223
Note that this will almost definitely *not* affect existing implementations. The way most code is set up now is to just call remove_filter() or remove_action().


git-svn-id: http://svn.automattic.com/wordpress/trunk@5393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 23:27:12 +00:00
ryan b33a7e9cfb Set eol-style
git-svn-id: http://svn.automattic.com/wordpress/trunk@5390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 21:28:50 +00:00
rob1n 0a8b69c947 Don't take out class attribute for <abbr />, for hReview. fixes #3420
git-svn-id: http://svn.automattic.com/wordpress/trunk@5383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 03:52:11 +00:00
ryan 2cc75dbc63 Add 'Select' text to the dropdowns. Props Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 02:23:49 +00:00
rob1n f8b2a63e57 Load order fixed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-03 00:52:14 +00:00
rob1n ab530a67d5 Don't show Widgets admin page if core widgets aren't enabled. fixes #4218
git-svn-id: http://svn.automattic.com/wordpress/trunk@5376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-03 00:43:57 +00:00
rob1n 2fff1e5671 Add lang and xml:lang attributes to allowed list for p, div and blockquote. fixes #4128
git-svn-id: http://svn.automattic.com/wordpress/trunk@5375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-02 04:31:30 +00:00
rob1n 37745efcae Spring cleaning, extreme edition.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-02 04:26:57 +00:00
rob1n e5fb2523b4 Clean that mess up so it's more easily managed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-02 04:17:43 +00:00
ryan 9e54a128b8 Call get_option('siteurl') outside the loop to save a few dozen get_option calls. Props andissimo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-02 00:32:22 +00:00
ryan b159bcacff Remove wp_ prefix from default widget class names. For back compat.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 22:51:52 +00:00
rob1n b21f9bdc98 New way of loading widgets that works with PHP 5. Thanks to filosofo for testing. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 01:58:18 +00:00
rob1n 5339481434 Typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 01:27:46 +00:00
rob1n 58d8ed1284 Move widget stuff around. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 01:13:06 +00:00
ryan 72a19935ff Widget registration fixes from Andy. For 2.3. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 20:02:02 +00:00
ryan 8efa935340 When using the traditional list view of the categories,
make sure the wp_list_categories() doesn't add in another title. This
was causing a second Categories to show up on the category widget.  Props Jospeh Scott

git-svn-id: http://svn.automattic.com/wordpress/trunk@5356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 17:43:11 +00:00
ryan 6c0b1d6a5f Fix typo breaking recent comment cache deletion for widgets.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 16:45:23 +00:00
ryan 247d22682a Remove debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@5351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 03:47:14 +00:00
ryan 5fe0bd0c61 Don't use deprecated category API.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 03:32:33 +00:00
rob1n a50e0e4c41 Bring back old behavior for sidebar ID's. Props filosofo. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 02:35:28 +00:00
ryan df9d590cbc Fix widget control registration where id is not passed in.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 17:04:16 +00:00
ryan e5ea802c0c Fix edit comment links
git-svn-id: http://svn.automattic.com/wordpress/trunk@5340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 16:45:47 +00:00
ryan 72f35d050c Create widget id from widget name when id not specified.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 06:08:27 +00:00
ryan a59fcf3c3a Kick widgets init from init hook.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 00:35:47 +00:00
ryan b028d6eaa3 Some widgets gettext.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 00:29:27 +00:00
rob1n 638337cf4a Don't double encode gzip output if gzip is already set in php.ini. Props
welcomb. fixes #4205


git-svn-id: http://svn.automattic.com/wordpress/trunk@5333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-27 20:55:05 +00:00
ryan 8aaa48e041 Use the right field name ya idjit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-27 04:34:44 +00:00
ryan d44752d2ca Consult global comment in get_comment(). Don't show empty edit links.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-27 03:51:36 +00:00
ryan cb6d5b0c4b Fix text and rss widget registration. fixes #4204 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 17:49:11 +00:00
ryan 6a307367a8 Add dropdown option to archives and categories widgets. Props Joseph Scott. fixes #4194 for 2.2
git-svn-id: http://svn.automattic.com/wordpress/trunk@5319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 17:17:30 +00:00
rob1n 85902939a7 Links widget fixes from Otto42. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 03:43:59 +00:00
rob1n 309491de6d WordPress.com -> .org and change widgetize link to Automattic's site for now. We still need to make a Codex page, just to make it more "WordPressy."
Props foolswisdom. fixes #4200


git-svn-id: http://svn.automattic.com/wordpress/trunk@5316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 02:13:18 +00:00
rob1n 2a03779965 Firefox uses Alt+Shift for access keys. Props johnbillion. fixes #4193
git-svn-id: http://svn.automattic.com/wordpress/trunk@5315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 02:02:59 +00:00
rob1n 1657ad3db3 Housekeeping -- a misspelling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-25 03:14:11 +00:00
rob1n d3f52c3b45 Allow number_format to be internationalized. Props nbachiyski. fixes #3677
git-svn-id: http://svn.automattic.com/wordpress/trunk@5308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-25 00:49:57 +00:00
rob1n 56add54053 Housekeeping -- clean out debug calls.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 23:58:51 +00:00
rob1n 559fa91b8d Add ODT to allowed file types. Props Nazgul. fixes #4136
git-svn-id: http://svn.automattic.com/wordpress/trunk@5304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 23:28:39 +00:00
rob1n ea9d389751 Add unfiltered_upload cap, and allow for admins. Props Nazgul. fixes #4136
git-svn-id: http://svn.automattic.com/wordpress/trunk@5303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 23:27:20 +00:00
rob1n 534eeaf7bc get_edit_*_link() functions. fixes #4153
git-svn-id: http://svn.automattic.com/wordpress/trunk@5302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 23:21:56 +00:00
ryan c03e74ab48 Update widgets to latest bits. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 21:36:17 +00:00
ryan a0985c387b widgets.php be doubling down. Once is enough.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 18:41:42 +00:00
rob1n 03e6c2ed9a Widgets for 2.3. fixes #4186
git-svn-id: http://svn.automattic.com/wordpress/trunk@5297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 01:05:17 +00:00
ryan c28054301c Fix variable collission in _get_cat_children. see #3985
git-svn-id: http://svn.automattic.com/wordpress/trunk@5295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-23 20:28:38 +00:00
rob1n 2e72244bde has_excerpt() template tag. fixes #4177 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-22 04:25:47 +00:00
ryan 978cf8aee5 2.3-alpha
git-svn-id: http://svn.automattic.com/wordpress/trunk@5288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-19 04:05:39 +00:00
rob1n ceb60d8af8 Replace deprecated get_settings() calls with get_option(). Props johnbillion. fixes #4167
git-svn-id: http://svn.automattic.com/wordpress/trunk@5285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-19 02:53:19 +00:00
rob1n f2d8504d16 Cast substr()'s to int before passing through mktime() to prevent warning. Props josephscott. fixes #4166
git-svn-id: http://svn.automattic.com/wordpress/trunk@5284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-19 02:49:19 +00:00
ryan 8cbe134f81 Add url_to_postid filter. Props Alex King. fixes #4160
git-svn-id: http://svn.automattic.com/wordpress/trunk@5283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-18 22:51:54 +00:00
ryan 49166ab920 Revert [5275] - [5277]. Fix it later. see #4153
git-svn-id: http://svn.automattic.com/wordpress/trunk@5282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-17 23:00:35 +00:00
ryan b4fd79f281 AJAXcat fixes and FF workaround from mdawaffe. fixes #3895
git-svn-id: http://svn.automattic.com/wordpress/trunk@5280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-17 20:56:41 +00:00
rob1n 47de90d17a Fix another typo. Not a good day at all.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-17 01:17:45 +00:00
rob1n 37d7ae825b Fix typo. Thanks Lloyd.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-17 00:53:58 +00:00
rob1n 763828ed10 Add get_edit_comment_link() and get_edit_post_link(). fixes #4153
git-svn-id: http://svn.automattic.com/wordpress/trunk@5275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-16 23:53:34 +00:00
ryan 02cfbbe93b Use wp_hash to create cron's check hash.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-16 20:47:23 +00:00
ryan f651ce93c3 tag_exists(), category_object_exists(), and some tag and cat create fix ups. see #3723
git-svn-id: http://svn.automattic.com/wordpress/trunk@5271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-15 02:26:26 +00:00
rob1n d7a828c373 Add in another trim(), just in case $frag is actually something.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-14 00:19:01 +00:00
rob1n 999e232f12 trim() question marks *after* concatenating the string. fixes #4134
git-svn-id: http://svn.automattic.com/wordpress/trunk@5267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-14 00:11:47 +00:00
rob1n 62f5c944dc Fix gettext's plural forms for more than 2 plural forms. Props moeffju and nbachiyski. fixes #4005
git-svn-id: http://svn.automattic.com/wordpress/trunk@5266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-13 23:29:47 +00:00
rob1n 24e1d66471 Respect show_option_all in wp_list_categories(). Props westi. fixes #4145
git-svn-id: http://svn.automattic.com/wordpress/trunk@5265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-13 23:20:14 +00:00
rob1n ae0d54317c Don't treat object and param as block elements in wpautop. fixes #3854
git-svn-id: http://svn.automattic.com/wordpress/trunk@5262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 23:19:16 +00:00
rob1n 30d6c1ad15 Get add_query_arg() to urlencode all values of parse_str array. Props mdawaffe. fixes #4084
git-svn-id: http://svn.automattic.com/wordpress/trunk@5261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 22:00:22 +00:00
rob1n 0e669f143d Replace some stristr's with stripos'.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 21:59:31 +00:00
ryan 5fae2af843 Refactor l10n code to reduce duplication. Change placement of context. Props nbachiyski. fixes #3687
git-svn-id: http://svn.automattic.com/wordpress/trunk@5258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 21:15:44 +00:00
rob1n dbda3aabaa Upgrade TinyMCE to 2.1.0. Props andy. fixes #3788
git-svn-id: http://svn.automattic.com/wordpress/trunk@5256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 17:04:03 +00:00
rob1n 75efedc528 Delete the cache in tmp even if the copy failed. Props andy. fixes #4141
git-svn-id: http://svn.automattic.com/wordpress/trunk@5255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 16:31:47 +00:00
ryan 0e28e967ad Actually make use of wp_cache_add to avoid unnecessary cache writes. Props skeltoac. fixes #4138
git-svn-id: http://svn.automattic.com/wordpress/trunk@5248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 02:27:12 +00:00
rob1n 43c0541e81 <!--more--> regex fixes. Props Nazgul. fixes #3698
git-svn-id: http://svn.automattic.com/wordpress/trunk@5244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-11 22:47:36 +00:00
ryan b6c49e3023 Allow passing an empty tag set to wp_set_post_tags() so all tags can be removed from a post. see #3723
git-svn-id: http://svn.automattic.com/wordpress/trunk@5243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-11 18:04:49 +00:00
rob1n f0da57ee4e Don't use fancy permalinks on draft previews. Props Viper007Bond. fixes #4117
git-svn-id: http://svn.automattic.com/wordpress/trunk@5242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-11 16:52:58 +00:00
rob1n 61e18c550e Add the_meta_key filter with $key and $value arguments. Props mdawaffe. fixes #2861
git-svn-id: http://svn.automattic.com/wordpress/trunk@5241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-11 05:38:30 +00:00
rob1n 25191fabb8 Rollback wonky part of [5193]. see #4084
git-svn-id: http://svn.automattic.com/wordpress/trunk@5240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-11 03:41:42 +00:00
rob1n d40f03754d Tweak displaying comments awaiting moderation to their authors. Props wnorris. fixes #4108
git-svn-id: http://svn.automattic.com/wordpress/trunk@5238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-11 03:12:11 +00:00
rob1n 879a091a06 Run make_clickable before texturize. Props Nazgul. fixes #4116
git-svn-id: http://svn.automattic.com/wordpress/trunk@5236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 23:21:00 +00:00
ryan 45f4a1870e Change get_the_tags() to return an array of tags. Move tag list code to the_tags(). fixes #4123
git-svn-id: http://svn.automattic.com/wordpress/trunk@5235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 21:23:11 +00:00
ryan 77cdde3f87 Tag clouds from mdawaffe. fixes #4129
git-svn-id: http://svn.automattic.com/wordpress/trunk@5234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 19:52:15 +00:00
ryan f32f812fa9 Bumpage
git-svn-id: http://svn.automattic.com/wordpress/trunk@5233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 19:08:49 +00:00
ryan de91343f51 Add get_tags(). See #3723
git-svn-id: http://svn.automattic.com/wordpress/trunk@5232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 18:55:51 +00:00
ryan 246db4315f s/get_post_tags/wp_get_post_tags/ to match the rest of the API.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 18:30:55 +00:00
rob1n d76a895798 Bump jQuery and Interface versions in script loader. Props Viper007Bond. fixes #4124
git-svn-id: http://svn.automattic.com/wordpress/trunk@5230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 17:01:52 +00:00
matt b5b01a4976 Missing change from last commit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 07:39:47 +00:00
rob1n a24ee4902a empty() only takes variables. Props filosofo. fixes #4118
git-svn-id: http://svn.automattic.com/wordpress/trunk@5224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 04:28:40 +00:00
rob1n 404dd03317 Don't autop <script> blocks. Props Nazgul. fixes #3854
git-svn-id: http://svn.automattic.com/wordpress/trunk@5223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 00:49:18 +00:00
rob1n 7507125fd3 Don't autop <hr />. fixes #3952
git-svn-id: http://svn.automattic.com/wordpress/trunk@5222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 00:47:08 +00:00
rob1n dd96826c34 Default to 'en' for TinyMCE language if get_locale() is empty, to avoid meltdowns. Props m0n5t3r. fixes #4118
git-svn-id: http://svn.automattic.com/wordpress/trunk@5220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-09 16:33:43 +00:00
ryan 9442a8806b Google spell connect fix. Props Nazgul. see #3857
git-svn-id: http://svn.automattic.com/wordpress/trunk@5214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-09 00:09:42 +00:00
rob1n 96535f8d01 Fix typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 19:31:54 +00:00
rob1n 1948792ee1 Add wp_add_post_tags() and $append variable for wp_set_post_tags(). fixes #4109
git-svn-id: http://svn.automattic.com/wordpress/trunk@5209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 19:00:19 +00:00
ryan c3508de5be Avoid php notices.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 05:24:37 +00:00
rob1n f826cb98cc Move the stripslashes(), and change it to stripslashes_deep(). Props mdawaffe. fixes #4105
git-svn-id: http://svn.automattic.com/wordpress/trunk@5200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 01:24:40 +00:00
rob1n 4a4d37f9f3 Set the post ID when calling wp_get_attachment_url(). Props chess64. fixes #4104
git-svn-id: http://svn.automattic.com/wordpress/trunk@5199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 23:42:38 +00:00
ryan 9e6ab0a59d Relocate get_post_tags.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 18:22:54 +00:00
ryan 142582999e Typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@5196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 17:53:34 +00:00
ryan ab510803f4 Pass link indentifier to mymysql_affected_rows(). Props Doug Kaye.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 17:22:53 +00:00
rob1n b5eab92808 Add AND. fixes #4101
git-svn-id: http://svn.automattic.com/wordpress/trunk@5194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 14:53:46 +00:00
rob1n a7d8f6aa74 Re-encode query values after passed to add_query_arg(). Props mdawaffe. fixes #4084
git-svn-id: http://svn.automattic.com/wordpress/trunk@5193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 04:21:21 +00:00
rob1n b557846efd Add the argument back in. Whoops.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 03:34:01 +00:00
rob1n 3f0fa28e19 Add private posts to get_usernumposts() when the current_user_can read_private_posts. Props molecularbear. fixes #3868
git-svn-id: http://svn.automattic.com/wordpress/trunk@5190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 03:29:44 +00:00
rob1n 7bb92d3873 Add a function to unify private posts SQL based on capabilities -- get_private_posts_cap_sql().
Usage: get_private_posts_cap_sql($type), where $type is either 'post' or 'page'.

Props molecularbear. fixes #3861


git-svn-id: http://svn.automattic.com/wordpress/trunk@5189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 03:25:41 +00:00
rob1n 4a5335aee6 Add stripos() for compatibility for PHP < 5. This will be needed for a patch later, I think.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 02:54:12 +00:00
rob1n 2d799e437b Add DBX to link-add.php. Props Nazgul. fixes #3922
git-svn-id: http://svn.automattic.com/wordpress/trunk@5186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 00:56:28 +00:00
ryan 00e9ff778a Bit twiddling. Add type bitfield to categories table. see #3723
git-svn-id: http://svn.automattic.com/wordpress/trunk@5184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-05 21:16:02 +00:00
ryan 2c31712d3a Category listing speedups. see #3985
git-svn-id: http://svn.automattic.com/wordpress/trunk@5179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-04 22:32:24 +00:00
ryan 7f0a905ee6 Cache category hierarchy to make cat listing faster. Phase 1. see #3985
git-svn-id: http://svn.automattic.com/wordpress/trunk@5178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-04 20:44:45 +00:00
markjaquith 923ba23e88 Fix category_name=foo WP_Queries. fixes #4069
git-svn-id: http://svn.automattic.com/wordpress/trunk@5171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-02 19:40:15 +00:00
matt 06d577a539 Because of the next we should always do a reset.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-02 07:46:05 +00:00
matt fde70e7623 Fixes bottlenecks found in filter system using xdebug + kcachegrind. merge_filters was being called 1000+ times.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-02 07:03:38 +00:00
ryan 99f1babe59 i18n for quicktags.js. Props Nazgul. fixes #3958
git-svn-id: http://svn.automattic.com/wordpress/trunk@5167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-01 16:06:19 +00:00
rob1n 2a035cdab8 Add CSS class in if it's not empty when there's no comments. fixes #2180
git-svn-id: http://svn.automattic.com/wordpress/trunk@5165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-01 15:57:13 +00:00
rob1n fa33be1162 Run the post titles through the the_title filter. fixes #3366
git-svn-id: http://svn.automattic.com/wordpress/trunk@5164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-01 15:40:50 +00:00
matt afb8aafcbf Don't forget the tag_cache
git-svn-id: http://svn.automattic.com/wordpress/trunk@5163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-01 08:44:10 +00:00
matt 9784d05317 Make most of the buttons a map, helps the write page load faster.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 22:12:35 +00:00
rob1n eaac63e0d0 Add exit hook to wp_delete_post(). Props kevinB. fixes #4055
git-svn-id: http://svn.automattic.com/wordpress/trunk@5158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 21:41:08 +00:00
rob1n 090c138591 Add link rating to wp_list_bookmarks(). fixes #3916
git-svn-id: http://svn.automattic.com/wordpress/trunk@5153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 19:43:49 +00:00
matt c86599b85c Now tag pretty permalinks should work, and support custom tag bases.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 09:19:32 +00:00
matt 14f1c622ff All the query stuff we need for tag= URLs to work.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 06:16:12 +00:00
rob1n 7cb4185f04 Add https:// support to script loader. Props abtime. fixes #4046
git-svn-id: http://svn.automattic.com/wordpress/trunk@5145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 02:47:23 +00:00
rob1n 7dac9e0a80 Add missing the_title filter call. Props jhodgdon. fixes #4050
git-svn-id: http://svn.automattic.com/wordpress/trunk@5144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-30 23:46:17 +00:00
rob1n 29eb1e9a2b Fix typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 04:08:54 +00:00
rob1n fe50a59120 PHPdoc for plugin.php. Props Martin10. fixes #3852
git-svn-id: http://svn.automattic.com/wordpress/trunk@5142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 02:45:34 +00:00
rob1n 347657de7e Add back in a question mark. Props foolswisdom. fixes #3143
git-svn-id: http://svn.automattic.com/wordpress/trunk@5138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 02:24:25 +00:00
rob1n cb7570b4cc Fix months in wp_title(). fixes #4043
git-svn-id: http://svn.automattic.com/wordpress/trunk@5137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 02:06:16 +00:00
rob1n 19649b35f7 Add get_sidebar action to get_sidebar(). fixes #1445
git-svn-id: http://svn.automattic.com/wordpress/trunk@5136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 01:45:29 +00:00
rob1n 4a6743b54c Speed (wp_)list_authors by consolidating some queries. Props graeme. fixes #1659
git-svn-id: http://svn.automattic.com/wordpress/trunk@5135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 01:39:05 +00:00
rob1n e5b562a070 Apply the bloginfo_rss filter and change bloginfo_rss filter to get_bloginfo. Props Kafkaesqui. fixes #2014
git-svn-id: http://svn.automattic.com/wordpress/trunk@5134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 01:35:50 +00:00
rob1n b4de51f25c Sorry, a little tester got in there. Didn't expect to be committing ;).
git-svn-id: http://svn.automattic.com/wordpress/trunk@5133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 01:30:27 +00:00
rob1n 5b446f7cf7 Show more relevant titles (current category, date, etc.) in feed titles. fixes #1790
git-svn-id: http://svn.automattic.com/wordpress/trunk@5132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 01:29:09 +00:00
ryan 5248f2a89b Set EP_ALL to 4095. Props jhodgdon. fixes #3963
git-svn-id: http://svn.automattic.com/wordpress/trunk@5131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 00:19:42 +00:00
ryan d92c0fa794 Rewrit endpoint fixes from westi. see #3964
git-svn-id: http://svn.automattic.com/wordpress/trunk@5130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 00:17:40 +00:00
ryan 9ca2d36ada Avoid non-object error when wp_die()ing before is instantiated. Props technosailor. fixes #4042
git-svn-id: http://svn.automattic.com/wordpress/trunk@5129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-28 18:10:03 +00:00
ryan 68ef70bf19 Change bookmark to link. Props foolswisdom. fixes #3143
git-svn-id: http://svn.automattic.com/wordpress/trunk@5124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-27 23:54:48 +00:00
ryan 4de9ca69c2 More clean_url and int casts for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-27 23:45:41 +00:00
ryan f24f716775 Dynamically refill comment list when a comment is deleted. Props mdawaffe. fixes #4038
git-svn-id: http://svn.automattic.com/wordpress/trunk@5118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-27 21:20:16 +00:00
ryan 3d9418194f Serve robots.txt as text/plain. Props JeremyVisser. fixes #4037
git-svn-id: http://svn.automattic.com/wordpress/trunk@5117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-27 16:44:36 +00:00
ryan 5520239138 Add trackback_url filter. Props jhodgdon. fixes #4032
git-svn-id: http://svn.automattic.com/wordpress/trunk@5116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 23:40:49 +00:00
ryan 4400fe6e32 Fallback to loading english for tinyMCE if requested locale is not there. see #3882
git-svn-id: http://svn.automattic.com/wordpress/trunk@5114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 22:05:36 +00:00
matt 3eb1182967 If we don't have IDs at this point, bail out. There are no tag defaults. Should fix #4035 though I can't recreate their particular error.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 18:05:28 +00:00
matt 2f391a1ad4 Don't show tags on the category page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 17:25:15 +00:00
matt cbe226d621 Basic theme support for tags.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 08:08:31 +00:00
matt 613dbfcffa A backend interface for tagging.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 07:28:29 +00:00
ryan ee323a457b Revert [5102]
git-svn-id: http://svn.automattic.com/wordpress/trunk@5109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 06:13:19 +00:00
ryan ee5f8a4944 Update to latest tinyMCE compressor. Simplify MCE language loading. see #3882
git-svn-id: http://svn.automattic.com/wordpress/trunk@5108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 03:44:35 +00:00
ryan 7f9aa3c350 Fix day display in title. Props phKU. fixes #3801
git-svn-id: http://svn.automattic.com/wordpress/trunk@5106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-25 23:47:48 +00:00
ryan 37c1e764de Return instead of exit in template-loader. Props Otto42 and Nazgul. fixes #3790
git-svn-id: http://svn.automattic.com/wordpress/trunk@5104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-25 23:39:14 +00:00
ryan 3f82bf5819 Correct reversed logic in maybe_serialize. Props takayukister. fixes #4029
git-svn-id: http://svn.automattic.com/wordpress/trunk@5102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-25 23:23:52 +00:00
ryan 9a6630ed11 Deprecate number argument to comments_number. No longer used. fixes #2687
git-svn-id: http://svn.automattic.com/wordpress/trunk@5101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-25 23:18:19 +00:00
ryan bb7d61596d Fix relative link mangling in clean_url. fixes #4017 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 23:31:44 +00:00
ryan eed1eedc5f Allow siteurl and home to be defined as constants in wp-config, bypassing the DB. Props filosofo and charleshooper. fixes #4003
git-svn-id: http://svn.automattic.com/wordpress/trunk@5093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 17:45:40 +00:00
ryan e9e3e0787d Castaways on Gilligan's Isle
git-svn-id: http://svn.automattic.com/wordpress/trunk@5090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 02:16:16 +00:00
matt 3d21925922 Ryan slays the dragon. (Some of these return WP_Error objects.)
git-svn-id: http://svn.automattic.com/wordpress/trunk@5089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 02:05:29 +00:00
ryan 4cfeed615c Don't prepend protocol to relative links. fixes #4017 #4001 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 01:45:24 +00:00
matt 7602d17899 (int)er the dragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 00:59:21 +00:00
ryan 46fa88baf1 Cast to int
git-svn-id: http://svn.automattic.com/wordpress/trunk@5086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-22 23:03:07 +00:00
ryan 5b22739cac More int casts
git-svn-id: http://svn.automattic.com/wordpress/trunk@5082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-22 20:52:29 +00:00
ryan 43e6d1b011 Add _c() for disambiguatin translateable strings. Props nbachiyski. fixes #3687
git-svn-id: http://svn.automattic.com/wordpress/trunk@5081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-22 03:34:23 +00:00
ryan 9f9d9a8d9e Cast to int. Props xknown. fixes #4012 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-22 01:04:19 +00:00
ryan 0748c257f8 Don't add http:// to relative links. Props donncha. fixes #4001
git-svn-id: http://svn.automattic.com/wordpress/trunk@5065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-21 00:29:40 +00:00
ryan d8e55fcfdc Fix typo. Props rob1n. fixes #4000
git-svn-id: http://svn.automattic.com/wordpress/trunk@5063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-20 03:18:44 +00:00
ryan 19f2495fea Add RTL support to kubrick. Props Sewar. fixes #3953
git-svn-id: http://svn.automattic.com/wordpress/trunk@5062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-19 19:08:15 +00:00
ryan 2e2832dc85 Add wp_mail_from filter. Props rob1n. fixes #2053
git-svn-id: http://svn.automattic.com/wordpress/trunk@5061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-18 23:16:14 +00:00
markjaquith 611b037efa use clean_url() instead of attribute_escape() when dealing with src/href to protect against XSS. props xknown. fixes #3986 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-17 08:46:59 +00:00
ryan 4432eb12e7 Don't cast to string if empty. Props donncha. fixes #3979
git-svn-id: http://svn.automattic.com/wordpress/trunk@5051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-16 22:00:43 +00:00
markjaquith 8d0e670015 have wp_list_pages() default to menu_order sorting and only use post_title sorting as a secondary sort. props johnbillion. fixes #3924 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-16 08:19:10 +00:00
markjaquith 28c0f0d0ee Sanitize output of previous_posts() and next_posts(). Props Alex Concha for the report.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-16 08:04:24 +00:00
ryan 12be68075e More attribute_escape().
git-svn-id: http://svn.automattic.com/wordpress/trunk@5044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-16 01:20:53 +00:00
markjaquith 95df22248d nonce-protect comments by users with unfiltered_html cap to prevent xsrf/xss. fixes #3973 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-14 23:10:57 +00:00
markjaquith 877fe629b3 More int casting, just to be safe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-14 07:40:56 +00:00
ryan 16d5e24771 Fix order by in wp_get_archives(). Props mattbta. fixes #3961
git-svn-id: http://svn.automattic.com/wordpress/trunk@5036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-14 02:21:39 +00:00
ryan 7aa7d0668f Move smilies init to function and trigger from init. Props rob1n. fixes #1721
git-svn-id: http://svn.automattic.com/wordpress/trunk@5032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-12 21:31:24 +00:00
ryan 4bfbba990b Quote values heading to DB. Cast some ints.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-12 16:09:44 +00:00
markjaquith df9b4188da [5006] didn't take. props Nazgul for the spot. fixes #3866
git-svn-id: http://svn.automattic.com/wordpress/trunk@5028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-12 08:59:15 +00:00
matt a8327cbd0d Add filters to theme_mods
git-svn-id: http://svn.automattic.com/wordpress/trunk@5026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-12 00:07:54 +00:00
ryan 385c4e18ff vars.php cleanups and speedups from rob1n. fixes #3956
git-svn-id: http://svn.automattic.com/wordpress/trunk@5024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-11 01:19:16 +00:00
ryan 239b5ba356 Prophylactic casting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 20:34:01 +00:00
markjaquith 98e4d11c00 Improvements to untrailingslashit() and trailingslashit(). props Jamie Talbot. fixes #3899
git-svn-id: http://svn.automattic.com/wordpress/trunk@5021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 08:32:57 +00:00
markjaquith de23b425c3 new function: untrailingslashit(). fixes #3899
git-svn-id: http://svn.automattic.com/wordpress/trunk@5020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 06:25:33 +00:00
markjaquith 05486cce3d user_trailingslashit filter for users who sometimes want trailing slashes only on certain URL types. fixes #3899
git-svn-id: http://svn.automattic.com/wordpress/trunk@5019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 06:18:43 +00:00
markjaquith 6cefc9b4a4 Cleaner and more complete fix for [5017]. fixes #3949
git-svn-id: http://svn.automattic.com/wordpress/trunk@5018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 06:09:52 +00:00
markjaquith aa45fd5ee3 Respect user trailing slash preference for multipage posts and eliminate redundant /1/. fixes #3949
git-svn-id: http://svn.automattic.com/wordpress/trunk@5017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 05:54:12 +00:00
ryan 198bf65525 apply filter before stripping tags. Props jhodgdon. fixes #3755
git-svn-id: http://svn.automattic.com/wordpress/trunk@5014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 05:13:40 +00:00
ryan 774bdc405b Title filtering from jhodgdon. fixes #3926
git-svn-id: http://svn.automattic.com/wordpress/trunk@5013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 03:56:35 +00:00
ryan 328afedc07 Link filters from jhodgdon. fixes #3595
git-svn-id: http://svn.automattic.com/wordpress/trunk@5011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 01:13:49 +00:00
ryan 2051c80cac Change xmlrpc upload logic. Props Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-09 20:14:52 +00:00
markjaquith 2a11c99459 Sanitize browser-bound add_query_arg() outputs. fixes #3937
git-svn-id: http://svn.automattic.com/wordpress/trunk@5007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-09 04:36:24 +00:00
ryan 0cd477441e Return theme uri in theme data. Props nazgul. fixes #3866
git-svn-id: http://svn.automattic.com/wordpress/trunk@5006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-09 04:15:17 +00:00
ryan b4d8dba0f6 Unchain
git-svn-id: http://svn.automattic.com/wordpress/trunk@5005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-09 04:13:42 +00:00
ryan f4ce503381 get_archives query filters from westi. fixes #3866
git-svn-id: http://svn.automattic.com/wordpress/trunk@5004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-09 04:09:24 +00:00
ryan f774780aff Use get_query_var() in wp_title() and single_month_title().
git-svn-id: http://svn.automattic.com/wordpress/trunk@5003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-09 04:06:23 +00:00
ryan c295c0bffe Move some query var sanitization up to parse_query() and make sure the sanitized values are avilable via get_query_var().
git-svn-id: http://svn.automattic.com/wordpress/trunk@5002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-09 04:05:28 +00:00
ryan 6a27f1af8e Fix parse_w3cdtf. Props mortenf. fixes #3896
git-svn-id: http://svn.automattic.com/wordpress/trunk@4997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 17:04:03 +00:00
markjaquith 2008fdcbd7 Another typo in [4990]. fixes #3920
git-svn-id: http://svn.automattic.com/wordpress/trunk@4996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 06:17:15 +00:00
markjaquith 2734ab8ce9 Typo in [4990] caught by johnbillion. fixes #3920
git-svn-id: http://svn.automattic.com/wordpress/trunk@4995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 06:10:33 +00:00
markjaquith 3320dd1380 Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: http://svn.automattic.com/wordpress/trunk@4990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 05:29:15 +00:00
ryan b9c75476a4 Update to tinyMCE spellchecker 1.0.3.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@4985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 04:26:26 +00:00
ryan 1f35a9de8f Make sure openssl is available. Props Robert Deaton and rob1n. fixes #3765
git-svn-id: http://svn.automattic.com/wordpress/trunk@4984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 04:16:06 +00:00
ryan 8d7839b14c Standardize on 'url' for fetching the blog's url. Props rob1n. fixes #3623
git-svn-id: http://svn.automattic.com/wordpress/trunk@4983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 03:05:41 +00:00
ryan 6154ec1c7e Fix spawning with SSL. Props dragonhard and rob1n. fixes #3765
git-svn-id: http://svn.automattic.com/wordpress/trunk@4980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 01:47:57 +00:00
ryan bb8331b95d Use rawurldecode. fixes #3727
git-svn-id: http://svn.automattic.com/wordpress/trunk@4979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 01:44:53 +00:00
ryan be2a43cf7c wp_title shouldn't use category_name if cat is also specified. Props majelbstoat. fixes #3902
git-svn-id: http://svn.automattic.com/wordpress/trunk@4976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 01:29:07 +00:00
ryan 34928e6ef0 JS localization from mdawaffe. fixes #3913
git-svn-id: http://svn.automattic.com/wordpress/trunk@4970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-06 17:35:01 +00:00
ryan 682fcc5d4a JS localization from mdawaffe. fixes #3911
git-svn-id: http://svn.automattic.com/wordpress/trunk@4968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-06 00:39:46 +00:00
matt 4df232e71e Broken link.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-05 19:27:40 +00:00
markjaquith 1fd8b676c4 Cast query vars to strings. fixes #3891
git-svn-id: http://svn.automattic.com/wordpress/trunk@4965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-04 18:08:33 +00:00
ryan 1e3ca9cde1 Pass along all parameters to get_bookmarks(). Props Otto42. fixes #3898
git-svn-id: http://svn.automattic.com/wordpress/trunk@4964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-04 01:59:57 +00:00
ryan 782f0ffa00 Update to jQuery 1.1.2. #3824
git-svn-id: http://svn.automattic.com/wordpress/trunk@4963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-03 17:55:36 +00:00
ryan 41b3441a38 jQuery was moved to jquery subdir. Remove redundant libs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-03 17:01:26 +00:00
ryan 7f1945b310 xmlrpc updates from Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-03 16:56:46 +00:00
ryan b7f6a96abb Add jquery.form.js. #3824
git-svn-id: http://svn.automattic.com/wordpress/trunk@4959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-02 23:26:35 +00:00
ryan 0f8983c364 Fix up page_for_posts feed. Rework some query bits. Props mdawaffe. fixes #3885
git-svn-id: http://svn.automattic.com/wordpress/trunk@4956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-28 05:22:29 +00:00
ryan 2ecae0f50d add and apply filter optimizations from FraT. fixes #3875
git-svn-id: http://svn.automattic.com/wordpress/trunk@4955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-28 01:09:20 +00:00
markjaquith d0f79bb3f2 trailing tabs and whitespace cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-27 15:24:54 +00:00
markjaquith c7ce6107ad attribute_escape() in nonce AYS
git-svn-id: http://svn.automattic.com/wordpress/trunk@4951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-27 07:15:47 +00:00
ryan dffc694131 Forgot to bump tinymce config script version when we added gecko_spellcheck. fixes #3856
git-svn-id: http://svn.automattic.com/wordpress/trunk@4948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-26 04:53:03 +00:00
ryan f199d3658a Remove debug.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-26 03:42:25 +00:00
ryan 7effafd4ee Trying out phpmailer for wp_mail(). fixes #3862
git-svn-id: http://svn.automattic.com/wordpress/trunk@4946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-25 20:23:25 +00:00
ryan 2826681a18 Upgrade class-pop3. Props Nazgul. fixes #3864
git-svn-id: http://svn.automattic.com/wordpress/trunk@4945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-25 18:19:21 +00:00
markjaquith 18475d8787 Consistent mouseover capitalization from Nazgul. fixes #3848
git-svn-id: http://svn.automattic.com/wordpress/trunk@4943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-25 14:04:49 +00:00
markjaquith 5fde2708cf Use correct capabilities checks when determining whether to show private posts. Props molecularbear. fixes #3827
git-svn-id: http://svn.automattic.com/wordpress/trunk@4940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-25 13:39:34 +00:00
markjaquith db017470fc Handle multi-line subjects in class-pop3.php. Props nreid. fixes #3836
git-svn-id: http://svn.automattic.com/wordpress/trunk@4938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-25 13:33:03 +00:00
markjaquith 6fc0e8185f The O.C. Disorder;; Props Nazgul. fixes 3853
git-svn-id: http://svn.automattic.com/wordpress/trunk@4937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-25 13:26:18 +00:00
ryan 4bec99a338 Comment feeds everywhere. Props mdawaffe and rob1n. fixes #2485
git-svn-id: http://svn.automattic.com/wordpress/trunk@4934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-24 07:33:29 +00:00
ryan 9b8e0722d4 Typo fixes. Props Znuff. fixes #3859
git-svn-id: http://svn.automattic.com/wordpress/trunk@4933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-24 06:30:51 +00:00
ryan b8f48aca58 Handle geck spellcheck in tinymce. Props dancoulter. fixes #3856
git-svn-id: http://svn.automattic.com/wordpress/trunk@4932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-23 23:50:23 +00:00
ryan 2696432efc Proper atom enclosures. Props rob1n. fixes #1464
git-svn-id: http://svn.automattic.com/wordpress/trunk@4930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-23 23:47:57 +00:00
ryan 6dd7765ae1 Add get_post_comments_feed_link() and have popup comments templates use it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-23 08:31:07 +00:00
ryan 891662aaed Atom comments feed. First pass. Props kurtmckee and rob1n. fixes #1785
git-svn-id: http://svn.automattic.com/wordpress/trunk@4928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-23 08:18:30 +00:00
ryan dbedd143e4 Relocate feed templates to wp-includes. fixes #3846
git-svn-id: http://svn.automattic.com/wordpress/trunk@4927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-23 02:50:05 +00:00
ryan e9fab607a0 Change more from anchor to span for proper validation. Props coolmann and rob1n. fixes #3530
git-svn-id: http://svn.automattic.com/wordpress/trunk@4925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-23 01:15:51 +00:00
ryan 3255fbb593 Fix typo. Props rob1n. fixes #1585
git-svn-id: http://svn.automattic.com/wordpress/trunk@4924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-23 01:05:59 +00:00
ryan beb4deb90c Provide summary for calendar. Props littleram and rob1n. fixes #1585
git-svn-id: http://svn.automattic.com/wordpress/trunk@4921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-23 00:53:34 +00:00
ryan d672c73072 Use === to compare option values. Props roscohead and Viper007Bond. fixes #3394
git-svn-id: http://svn.automattic.com/wordpress/trunk@4920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-23 00:49:37 +00:00
ryan d379fb1b20 cache js headers for tinymce config. Props juergen and rob1n. fixes #3817
git-svn-id: http://svn.automattic.com/wordpress/trunk@4919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-23 00:45:21 +00:00
ryan e42106db80 gettext byteorder fix for 64 bit archs. fixes #3780
git-svn-id: http://svn.automattic.com/wordpress/trunk@4917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-23 00:31:09 +00:00
ryan c8997ffad9 Reverse logic.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-22 15:30:47 +00:00
ryan 76a104a2e9 Handle empty search query. Props charleshooper. fixes #3722 #3759
git-svn-id: http://svn.automattic.com/wordpress/trunk@4911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-22 01:54:28 +00:00
ryan fea2a6e503 xmlrpc updates from Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-22 01:42:21 +00:00
ryan f61f892876 jQuery 1.1.1 and interface 1.2. #3824
git-svn-id: http://svn.automattic.com/wordpress/trunk@4904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-21 02:39:07 +00:00
markjaquith 7438cb83d7 properly sort categories by name for the_category(). Props rob1n. fixes #1302
git-svn-id: http://svn.automattic.com/wordpress/trunk@4903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-21 02:13:47 +00:00
ryan 8ee3440b04 Don't br image maps. Props rob1n. fixes #1292
git-svn-id: http://svn.automattic.com/wordpress/trunk@4900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-21 01:50:27 +00:00
ryan ce1a9edd1a Add jquery to script loader.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-20 07:46:13 +00:00
ryan 585a9ff822 Don't insert p inside of div. fixes #3669
git-svn-id: http://svn.automattic.com/wordpress/trunk@4894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-20 05:41:39 +00:00
ryan 2cf3e9ea2f decode req uri when processing pathinfo permalinks. Props Kirin_Lin. fixes #3727
git-svn-id: http://svn.automattic.com/wordpress/trunk@4893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-20 01:27:37 +00:00
ryan a4d57ead4c Add WP_Error handling to wp_die(). Props mdawaffe. fixes #3791
git-svn-id: http://svn.automattic.com/wordpress/trunk@4892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-20 01:24:31 +00:00
markjaquith dfeeedc8da Consistent use or disuse of trailing slashes in URLs according to user preference. props MathiasBynens. fixes #1485
git-svn-id: http://svn.automattic.com/wordpress/trunk@4886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-15 07:07:12 +00:00
markjaquith f639cbcd24 Consistently use "Spam it:" and "Delete it:" in e-mails. fixes #3304
git-svn-id: http://svn.automattic.com/wordpress/trunk@4885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-15 05:51:59 +00:00
ryan dff5f19b6b specialchars wp_explain_nonce() ouput.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-13 18:19:24 +00:00
matt 92cf3691ad Add similar hook as XML-RPC for Atom
git-svn-id: http://svn.automattic.com/wordpress/trunk@4873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-11 04:32:31 +00:00
ryan 1d054e4894 Disambiguate queries. Props mhyk25. fixes #3747
git-svn-id: http://svn.automattic.com/wordpress/trunk@4866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-05 21:29:39 +00:00
ryan cab399a6ae Typo fix from charleshooper. fixes #3743
git-svn-id: http://svn.automattic.com/wordpress/trunk@4865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-03 00:56:23 +00:00
ryan 86f90f6c3d Check page ID only if is_page. fixes #3049
git-svn-id: http://svn.automattic.com/wordpress/trunk@4863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-02 16:38:26 +00:00
ryan 16c4e7b986 More XMLRPC updates from Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-02 07:43:59 +00:00
matt cd7c0164e9 Filter for tweaking scripts srcs that go through the script loader.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-02 06:12:18 +00:00
ryan ce0f8b4a66 First cut at mysql utf-8 charset suport. Props to sehh, drupal, and textpattern. fixes #3517
git-svn-id: http://svn.automattic.com/wordpress/trunk@4860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-02 00:04:35 +00:00
ryan af10b7443f Cache user id instead of full user object in the userlogins cache. Props charleshooper. fixes #3716
git-svn-id: http://svn.automattic.com/wordpress/trunk@4859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-02 00:00:36 +00:00
markjaquith 36491e0980 make sure nothing going into the object cache is being passed by reference. fixes #3726
git-svn-id: http://svn.automattic.com/wordpress/trunk@4856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-01 09:16:15 +00:00
markjaquith 12e9cabfb7 Introduce Notoptions and Alloptions caching, so that all options (and previously attempted Notoptions) are read from the cache in one go. Should reduce cache misses to zero or close to it. fixes #3726
git-svn-id: http://svn.automattic.com/wordpress/trunk@4855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-01 08:53:08 +00:00
ryan 7179a94a0d s/table_prefix/prefix/
git-svn-id: http://svn.automattic.com/wordpress/trunk@4853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-01 07:26:13 +00:00
ryan 73a225e4e6 Add get_users_of_blog()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-01 01:19:36 +00:00
markjaquith 7130a2b1c8 run get_categories filter on cached get_categories hits. fixes #3728
git-svn-id: http://svn.automattic.com/wordpress/trunk@4848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-31 05:57:54 +00:00
markjaquith 690c3604cf get_post() should check post cache before page cache. fixes #3724
git-svn-id: http://svn.automattic.com/wordpress/trunk@4847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-31 03:43:02 +00:00
ryan a8b506e705 Set charset for MCE. Props nbachiyski. fixes #3574
git-svn-id: http://svn.automattic.com/wordpress/trunk@4845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-31 02:07:21 +00:00
ryan 771e8bdb8d Add pre_option_* filter that allows plugins to short-circuit fetches.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-30 18:34:18 +00:00
markjaquith b4671adb74 Prevent a missing wp-cron.php from causing an infinite loop. Props jan. fixes #3713
git-svn-id: http://svn.automattic.com/wordpress/trunk@4834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-30 13:06:56 +00:00
ryan 1ec4dd0209 Revert accidental commit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-30 01:46:05 +00:00
ryan f8c689b4f0 Remove notoptions caching. Multile rewrite_rules options were being created. See #3692 #2268
git-svn-id: http://svn.automattic.com/wordpress/trunk@4831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-30 01:43:39 +00:00
ryan effc238853 Fix typo in read_pages conditional. Props McShelby. fixes #3705
git-svn-id: http://svn.automattic.com/wordpress/trunk@4825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-28 21:58:01 +00:00
ryan 92fa5d6830 Move to js dir.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-28 21:14:54 +00:00
markjaquith c08e55fc61 Make <!--more--> regex non-greedy. Props Curloso and Viper007Bond. fixes #3698
git-svn-id: http://svn.automattic.com/wordpress/trunk@4821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-27 23:31:42 +00:00
markjaquith 7873820f8c Have add_option() for options whose non-existence has been cached clear that cached non-existence before adding the option. Nice catch by Westi. fixes #3692
git-svn-id: http://svn.automattic.com/wordpress/trunk@4820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-27 23:06:46 +00:00
matt 489dd25c9d Bringing in the jquery goodness
git-svn-id: http://svn.automattic.com/wordpress/trunk@4816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-27 18:45:54 +00:00
ryan 15b6168787 Update to prototype 1.5.0 and scriptaculous 1.7.0. Fix some AJAXy bits. Props mdawaffe. fixes #3645 #3676 #3519
git-svn-id: http://svn.automattic.com/wordpress/trunk@4813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-26 03:41:17 +00:00
markjaquith 246602968a Link to TinyMCE css file with http scheme on all server setups. Props MichaelH and Andy. fixes #3646
git-svn-id: http://svn.automattic.com/wordpress/trunk@4812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-26 02:57:07 +00:00
matt a53887fc7f This is what I get for commiting remotely, should fix currently known issues with atom 1.0
git-svn-id: http://svn.automattic.com/wordpress/trunk@4805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-25 08:48:18 +00:00
matt 4296c78d54 Missed a file and an easy mistake.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-25 08:37:26 +00:00
ryan 33d8407781 Don't output ul when title_li is empty. Props m0n5t3r. fixes #3664
git-svn-id: http://svn.automattic.com/wordpress/trunk@4800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-25 02:02:21 +00:00
ryan 8f58b134c2 TinyMCE 2.0.9. fixes #3564
git-svn-id: http://svn.automattic.com/wordpress/trunk@4799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-25 01:20:47 +00:00
markjaquith a741e0d350 Cache the non-existence of options to prevent redundant queries. props davidhouse. fixes #2268
git-svn-id: http://svn.automattic.com/wordpress/trunk@4798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-25 00:12:08 +00:00
markjaquith d5eaea2f32 Typo in [4790] caught by Znuff. fixes #3644
git-svn-id: http://svn.automattic.com/wordpress/trunk@4795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-24 05:44:24 +00:00
markjaquith f09853fd9c Tending the graveyard. Memento mori.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-23 09:15:17 +00:00
markjaquith b9490b45c2 Do not attempt to use rel-tag for URL schemes that do not support it. fixes #3265
git-svn-id: http://svn.automattic.com/wordpress/trunk@4790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-23 08:21:28 +00:00
ryan 510652f65c Trunk is now for 2.2 development.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-23 06:30:37 +00:00
matt 0525d982f8 It's that time again.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-22 21:51:38 +00:00
ryan 517790d375 Walker fix ups. fixes #3080
git-svn-id: http://svn.automattic.com/wordpress/trunk@4779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-22 07:05:48 +00:00
ryan a7da7fc027 Make sure is_array before extract. Props idle. fixes #3626
git-svn-id: http://svn.automattic.com/wordpress/trunk@4778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-21 20:03:02 +00:00
ryan 1e019126eb RC2
git-svn-id: http://svn.automattic.com/wordpress/trunk@4776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-20 06:48:56 +00:00
markjaquith 8c2ab4441b use lang for text/html and xml:lang for all others. Props nickshanks. fixes #3608
git-svn-id: http://svn.automattic.com/wordpress/trunk@4775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-19 22:10:33 +00:00
ryan 9ec6d7e762 Check style. Props nickshanks. fixes #3610
git-svn-id: http://svn.automattic.com/wordpress/trunk@4774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-19 20:58:56 +00:00
ryan 425d2f70b1 Delete page_uris option before updating it to avoid possibly expensive array comparison. #3614
git-svn-id: http://svn.automattic.com/wordpress/trunk@4773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-19 20:36:35 +00:00
ryan 15354bef0b Drop linkcategories table for those upgrading from previous alphas and betas.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-19 20:33:11 +00:00
ryan dde031e8e1 Lose all JS compression. Save it for another day.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-19 01:10:32 +00:00
ryan 040a959188 Lose quicktags.compressed.js since many people customize quicktags.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-19 01:05:20 +00:00
ryan 52f1841134 Category AJAX fixes from mdawaffe. fixes #3343
git-svn-id: http://svn.automattic.com/wordpress/trunk@4768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-19 00:49:01 +00:00
ryan 743f7e7028 If WPLANG is empty leave empty. fixes #3611
git-svn-id: http://svn.automattic.com/wordpress/trunk@4764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-18 17:40:05 +00:00
ryan 8b5a6e47de RC1
git-svn-id: http://svn.automattic.com/wordpress/trunk@4761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-18 03:35:01 +00:00
ryan 8c6162e883 Autosave fixes from mdawaffe. fixes #3601
git-svn-id: http://svn.automattic.com/wordpress/trunk@4760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-18 03:32:54 +00:00
ryan ad41aedae6 Add wp_list_categories filter. Props Mark Jaquith. fixes #3586
git-svn-id: http://svn.automattic.com/wordpress/trunk@4755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 22:50:30 +00:00
ryan a78920e6b9 Fix SQL error when excluding empty cat. fixes #3598
git-svn-id: http://svn.automattic.com/wordpress/trunk@4754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 22:37:15 +00:00
ryan 614fecf492 Discard non-scalars when building query string.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 19:05:01 +00:00
ryan 8f84936e4b Restrict wp_remote_fopen to remote files.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 18:41:05 +00:00
ryan 8c51e668c8 beta4
git-svn-id: http://svn.automattic.com/wordpress/trunk@4750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 18:16:20 +00:00
ryan 30e3bd9d2b Send to Editor fixes from mdawaffe. fixes #3594
git-svn-id: http://svn.automattic.com/wordpress/trunk@4748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 18:10:54 +00:00
ryan 132569c301 Set eol-style to native.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 17:52:13 +00:00
ryan 53e049fb76 Doh! fixes #3587
git-svn-id: http://svn.automattic.com/wordpress/trunk@4745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 07:38:08 +00:00
ryan a4a327cf15 beta3
git-svn-id: http://svn.automattic.com/wordpress/trunk@4744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 07:19:40 +00:00
ryan 7aa452938f Pass resource to mysql_error. Props jgough. fixes #3544
git-svn-id: http://svn.automattic.com/wordpress/trunk@4741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 02:32:42 +00:00
ryan a4d8c1a3a0 Remove empty files.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 02:13:23 +00:00
ryan ec648ae332 Cleanup link upgrade code. Drop linkcategories table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 01:54:50 +00:00
ryan f9e84c7b77 Fix plural form parsing. Props nbachiyski. fixes #3577
git-svn-id: http://svn.automattic.com/wordpress/trunk@4736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 01:37:48 +00:00
ryan 9805322fb3 gettext fix from Kirin_Lin. fixes #3558
git-svn-id: http://svn.automattic.com/wordpress/trunk@4733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-15 23:09:07 +00:00
ryan 042c574e56 Bad cut-and-paste.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-14 01:15:32 +00:00
ryan 1872907f45 Typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-13 21:32:33 +00:00
ryan c7e3649d78 Add some back compat files and vars. Use is deprecated.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-13 21:23:41 +00:00
markjaquith ddf32533e6 That'll teach me to trust a code snippet from php.net ... typo fix from last commit. relates to #3528
git-svn-id: http://svn.automattic.com/wordpress/trunk@4725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-12 21:46:29 +00:00
markjaquith de879172d7 Use http_response_code for in status_header() on PHP >= 4.3.0 per Ryan's suggestion. relates to #3528
git-svn-id: http://svn.automattic.com/wordpress/trunk@4724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-12 21:41:48 +00:00
ryan 2d6e81e033 Pass all args to the page walker.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-12 03:54:22 +00:00
ryan 9b0816118a Use cache sets instead of adds. Props andy. fixes #3562
git-svn-id: http://svn.automattic.com/wordpress/trunk@4722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-11 22:34:18 +00:00
ryan efea3d66fc Prev/next query filters. Props mdwaffe. fixes #2415
git-svn-id: http://svn.automattic.com/wordpress/trunk@4721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-11 04:30:44 +00:00
ryan 294bcb0e11 RTE link behavior fix from andy. fixes #3466
git-svn-id: http://svn.automattic.com/wordpress/trunk@4719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-11 03:26:48 +00:00
ryan 259d52f960 Fix typos in get_rss(). Props zuzara. fixes #3527
git-svn-id: http://svn.automattic.com/wordpress/trunk@4718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-11 03:21:35 +00:00
ryan cc281016ff Cast to array to avoid warning. fixes #3556
git-svn-id: http://svn.automattic.com/wordpress/trunk@4716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-10 20:42:17 +00:00
ryan 741ea65d3b Fix list cats style arg. Props Dickie. fixes #3552
git-svn-id: http://svn.automattic.com/wordpress/trunk@4713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-10 09:19:02 +00:00
ryan 3525fa164d Beta2
git-svn-id: http://svn.automattic.com/wordpress/trunk@4711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-09 22:55:32 +00:00
ryan 3a87e7bba0 sanitize_file_name(). fixes #3382 #3554
git-svn-id: http://svn.automattic.com/wordpress/trunk@4710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-09 22:53:14 +00:00
ryan 509a601439 Hierarchical category count fixes from andy. fixes #2738
git-svn-id: http://svn.automattic.com/wordpress/trunk@4707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-09 08:45:05 +00:00
ryan 7ba967ebd2 Update comment date gmt when updating comment date. Props mm6. fixes #3503
git-svn-id: http://svn.automattic.com/wordpress/trunk@4705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-09 08:22:28 +00:00
ryan 1c45b9c473 TinyMCE updates from andy. fixes #3505
git-svn-id: http://svn.automattic.com/wordpress/trunk@4704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-09 01:16:40 +00:00
ryan 9ed4ad213b Scriptaculous loader changes from mdawaffe. fixes #3519
git-svn-id: http://svn.automattic.com/wordpress/trunk@4701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-08 03:03:36 +00:00
ryan 3e26469375 Load locale specific php code in global context. fixes #3488
git-svn-id: http://svn.automattic.com/wordpress/trunk@4699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-08 00:11:06 +00:00
matt 05c6094a2b Use CDATA to avoid validation errors, fixes #3496. Hat tip: JeremyVisser
git-svn-id: http://svn.automattic.com/wordpress/trunk@4691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-07 02:25:03 +00:00
matt 5128d39344 Consistent name for our autosave JS file, fixes #3469. Hat tip: nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-07 02:16:11 +00:00
ryan 4d2ab530cb Fiddle with object destruction and shutdown. Curses upon php 5.2. fixes #3354
git-svn-id: http://svn.automattic.com/wordpress/trunk@4686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-06 23:36:51 +00:00
markjaquith 7b18a414db burn in Hades, status_header(), destroyer of souls. fixes #3528
git-svn-id: http://svn.automattic.com/wordpress/trunk@4684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-06 08:22:12 +00:00
ryan c5e22b5098 wp_get_attachment_thumb_url() fix from mdawaffe. fixes #3520
git-svn-id: http://svn.automattic.com/wordpress/trunk@4682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-05 20:54:55 +00:00
ryan 6befacf8f7 wp_get_attachment_thumb_url() fix from mdawaffe. fixes #3520
git-svn-id: http://svn.automattic.com/wordpress/trunk@4675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-04 18:16:33 +00:00
matt 7b0d0d180c OMG BETA!
git-svn-id: http://svn.automattic.com/wordpress/trunk@4674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-04 02:48:55 +00:00
ryan 26fff7a52e Custom Image Header. fixes #3465
git-svn-id: http://svn.automattic.com/wordpress/trunk@4673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-03 23:49:34 +00:00
ryan f5c184f843 Add kses protocol checking to clean_url. Props Andy. fixes #3515
git-svn-id: http://svn.automattic.com/wordpress/trunk@4672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-02 21:22:41 +00:00
ryan 716e89b369 Now with less bugs. fixes #3411
git-svn-id: http://svn.automattic.com/wordpress/trunk@4671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-02 19:51:36 +00:00
ryan cd99ca7b90 Attachment fixes from mdawaffe. fixes #3411
git-svn-id: http://svn.automattic.com/wordpress/trunk@4670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-02 19:28:30 +00:00
markjaquith 504cf9100c __ngettext() correction by nbachiyski. fixes #3508
git-svn-id: http://svn.automattic.com/wordpress/trunk@4669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-31 06:11:24 +00:00
markjaquith 6dfff141ec Remove unused is_comment param in balanceTags() relates to #2714
git-svn-id: http://svn.automattic.com/wordpress/trunk@4662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-23 06:14:34 +00:00
ryan f2665b2cb2 Add js_escape and attribute_escape filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-22 05:26:43 +00:00
markjaquith 8a678f3841 i18n fixes, logic cleanup, wording clarifications, and more from nbachiyski. fixes #3474
git-svn-id: http://svn.automattic.com/wordpress/trunk@4658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 23:06:18 +00:00
markjaquith bdd210972c Whitespace cleanup for [4656]
git-svn-id: http://svn.automattic.com/wordpress/trunk@4657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 10:45:58 +00:00
markjaquith 5a76c03203 new function for escaping within attributes: attribute_escape()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 10:10:04 +00:00
markjaquith d99f7eaf96 Reverse backport (?) from 2.0.x of KSES filters
git-svn-id: http://svn.automattic.com/wordpress/trunk@4654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 04:44:34 +00:00
ryan 32cc2c3ef0 Enable RTE for new users. fixes #3485
git-svn-id: http://svn.automattic.com/wordpress/trunk@4651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-19 23:19:12 +00:00
ryan 6c31c17921 Avoid infinite loop when getting attachment link.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-12 22:50:54 +00:00
ryan 4ea0406712 Move wp_generate_attachment_metadata() and friends to admin-functions.php and include admin-functions from xmlrpc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-12 08:36:16 +00:00
ryan da1c8e1df5 Select http when linking. Props markjaquith. fixes #3462
git-svn-id: http://svn.automattic.com/wordpress/trunk@4642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-12 07:48:04 +00:00
markjaquith d0e0ceb748 Move wp_check_for_changed_slugs() to post.php so it can be called in non-admin contexts. fixes #3461
git-svn-id: http://svn.automattic.com/wordpress/trunk@4637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-10 17:17:39 +00:00
markjaquith 19801dc2f8 Revert overzealous i18n from [4545]. Props nbachiyski. fixes #3438
git-svn-id: http://svn.automattic.com/wordpress/trunk@4636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-10 00:23:10 +00:00
markjaquith 49565cf608 Init strings before concatenation. Props devil1591. fixes #3457
git-svn-id: http://svn.automattic.com/wordpress/trunk@4634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-09 06:35:22 +00:00
ryan 7b5a39561d Fix path to cropper. fixes #3455
git-svn-id: http://svn.automattic.com/wordpress/trunk@4633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-08 23:01:08 +00:00
ryan 203f6c5ab4 Some caching cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-08 07:35:45 +00:00
ryan b81bf35aad did_action()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-08 03:45:34 +00:00
ryan 245fa326d7 Include cropper and scriptaculous since lots of themes are using them.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-08 00:10:58 +00:00
ryan 3b09e48f19 Create attachment metadata for xmlrpc uploads. Props mdawaffe. fixes #3452
git-svn-id: http://svn.automattic.com/wordpress/trunk@4628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 22:42:22 +00:00
ryan 60fdec501d Check link_count not category_count when doing link hierarchy. Props mdawaffe. fixes #3453
git-svn-id: http://svn.automattic.com/wordpress/trunk@4627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 22:38:27 +00:00
markjaquith 0aa19529f9 Bunch of whitespace and coding standardization.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 03:57:23 +00:00
markjaquith 010379dd52 get_page() logic re-ordering and inline comments
git-svn-id: http://svn.automattic.com/wordpress/trunk@4625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 03:10:47 +00:00
ryan 1b9c2ead05 Fix up get_page cache handling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 01:06:28 +00:00
markjaquith fec072e555 Disable RTE when editing comments. Props mdawaffe. fixes #3449
git-svn-id: http://svn.automattic.com/wordpress/trunk@4622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 00:38:54 +00:00
markjaquith 842741c81d Add überpowerful "query" filter, for SQL queries. fixes #2721
git-svn-id: http://svn.automattic.com/wordpress/trunk@4619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 00:02:03 +00:00
ryan 4d72cff3fe Ignore nopaging for feeds.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-06 23:14:37 +00:00
ryan 1c1b7a2df6 Autosave fix up for duplicate drafts from andy. fixes #3379
git-svn-id: http://svn.automattic.com/wordpress/trunk@4614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-06 05:33:52 +00:00
ryan 995d839bfb Attachment data abstraction from mdawaffe. fixes #3440
git-svn-id: http://svn.automattic.com/wordpress/trunk@4612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-05 22:37:19 +00:00
ryan 175dd7bca7 Use get_the_category() within wp_get_post_categories() so that the cache is used. Props markjaquith. fixes #3430
git-svn-id: http://svn.automattic.com/wordpress/trunk@4606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-05 06:45:48 +00:00
markjaquith 1877fbb867 trailingslashit() fix for paged posts links from activeingredient. fixes #3163
git-svn-id: http://svn.automattic.com/wordpress/trunk@4603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-04 14:42:34 +00:00
markjaquith 84ec7763be change post_parent on orphaned attachments. props ryanscheuermann. fixes #2681
git-svn-id: http://svn.automattic.com/wordpress/trunk@4601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-04 14:25:21 +00:00
markjaquith df98461b02 Typo fix from tacker. fixes #3431
git-svn-id: http://svn.automattic.com/wordpress/trunk@4598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-04 12:02:30 +00:00
ryan 78968b6bff Pre-fill http:// when inserting new links. Props andy. fixes #2579
git-svn-id: http://svn.automattic.com/wordpress/trunk@4597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-04 02:35:17 +00:00
matt 4e52293cc9 MSN Spaces seems to like exclamation points in their URLs, they must be pandering to Yahoo! ;)
git-svn-id: http://svn.automattic.com/wordpress/trunk@4593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-03 21:55:42 +00:00
matt 936dfdd36f Prototype compressed doesn't seem to be working out so well :/
Fixes #3414

git-svn-id: http://svn.automattic.com/wordpress/trunk@4592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-03 21:53:54 +00:00
matt 81654225ea Apply filter on locale, fixes #2383
git-svn-id: http://svn.automattic.com/wordpress/trunk@4588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-03 21:09:24 +00:00
markjaquith b4a405db46 global exclude filter for wp_list_pages(). fixes #3402
git-svn-id: http://svn.automattic.com/wordpress/trunk@4586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-03 09:23:17 +00:00
ryan ccacbf47cd Better AJAX feedback messages and markup fixes. Props mdawaffe. fixes #3208
git-svn-id: http://svn.automattic.com/wordpress/trunk@4583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 23:00:04 +00:00
ryan d1245edae6 Fix pregs. Props Mordred.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 22:44:50 +00:00
ryan aedf76aa2f Avoid empty result category queries. Props andy. fixes #3416
git-svn-id: http://svn.automattic.com/wordpress/trunk@4580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 18:55:27 +00:00
ryan c198077fcc Fix category feed_img markup. Props mdawaffe. fixes #1207
git-svn-id: http://svn.automattic.com/wordpress/trunk@4579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 18:28:43 +00:00
ryan ec850c8478 Give CSS class to parent of current page/cat. Props mdawaffe. fixes #3253
git-svn-id: http://svn.automattic.com/wordpress/trunk@4576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 12:05:21 +00:00
matt 51baba714f Some additional hooks for extensibility.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 10:15:15 +00:00
matt b7746f62c2 Adding a hook for comments, fixes #3084
git-svn-id: http://svn.automattic.com/wordpress/trunk@4568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 03:30:26 +00:00
matt 089a4da361 Compress scripts using Dojo and link to the compressed versions, saving about 27kb total. Everything I tested still worked, except the colorpicker which is why it's not compressed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 03:13:21 +00:00
matt c6531fe271 Don't texturize things inside of script or style tags, fixes #2647
git-svn-id: http://svn.automattic.com/wordpress/trunk@4565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 02:53:20 +00:00
ryan d5e1cc7a6f Close previous element when depth is hit. fixes #3080
git-svn-id: http://svn.automattic.com/wordpress/trunk@4564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 00:38:25 +00:00
matt 162dcec906 Small cleanup to autop, fixes #3238
git-svn-id: http://svn.automattic.com/wordpress/trunk@4562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 23:32:45 +00:00
ryan ca4b493965 Make sure multiple attachments for the same post have unique permalinks. Props filosofo. fixes #3033
git-svn-id: http://svn.automattic.com/wordpress/trunk@4561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 23:09:27 +00:00
ryan f066f5ed43 Truncate sanitized titles to the size of the post_name field without killing multibye characters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 20:26:42 +00:00
markjaquith b0a23b7940 Milestone for considering alternative feed parsing library was moved past 2.1, so dropping this for now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 08:53:33 +00:00
markjaquith 42529f4516 Remember old post slugs and automatically redirect to the new slug. fixes #3202
git-svn-id: http://svn.automattic.com/wordpress/trunk@4556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 08:48:56 +00:00
ryan 9af8606115 Can't pass function return to array_shift.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 07:30:11 +00:00
ryan b6e8b1f1c6 Spare input, param, and script from autop. fixes #3054
git-svn-id: http://svn.automattic.com/wordpress/trunk@4553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 02:00:40 +00:00
ryan 556b27b296 Don't use 'import' as a mime type. Props mdawaffe and westi. fixes #3219
git-svn-id: http://svn.automattic.com/wordpress/trunk@4552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 01:56:06 +00:00
ryan f068409a63 Fix feed links when using %category% permalink structure. Props westi. fixes #3214
git-svn-id: http://svn.automattic.com/wordpress/trunk@4551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 01:54:05 +00:00
ryan 832953ade7 Update allowed protocols. fixes #2726
git-svn-id: http://svn.automattic.com/wordpress/trunk@4550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 01:50:48 +00:00
ryan 1668b671ff Inline docs for wpdb. Props masquerade and davidhouse. #2474
git-svn-id: http://svn.automattic.com/wordpress/trunk@4549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 01:44:33 +00:00
matt 67bc138cfd Normalization of newlines fixes #1020, also did some minor reformatting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-29 23:18:35 +00:00
ryan 3a72d82880 gettext date format strings in wp_get_archives. fixes #1540
git-svn-id: http://svn.automattic.com/wordpress/trunk@4545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-29 21:34:51 +00:00
ryan 04b742e0a2 Bump ver number in MCE help dialog. Props Voper007Bond. fixes #3392
git-svn-id: http://svn.automattic.com/wordpress/trunk@4536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-28 22:00:10 +00:00
ryan cc44db510d Use js_escape. Props nbachiyski. fixes #3399
git-svn-id: http://svn.automattic.com/wordpress/trunk@4535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-28 21:51:13 +00:00
ryan 30af9648b5 Filter post_content_filtered
git-svn-id: http://svn.automattic.com/wordpress/trunk@4533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-25 17:54:41 +00:00
markjaquith 64429cec1e whitespace tidying by Viper007Bond. fixes #3385
git-svn-id: http://svn.automattic.com/wordpress/trunk@4529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-24 22:55:28 +00:00
ryan 43fca5536b Caching fixes and cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-24 20:44:03 +00:00
ryan d7c11f087d Typo. fixes #3389
git-svn-id: http://svn.automattic.com/wordpress/trunk@4527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-24 16:41:07 +00:00
ryan 889ff09208 cat_is_ancestor_of(). fixes #3387
git-svn-id: http://svn.automattic.com/wordpress/trunk@4525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-24 16:37:44 +00:00
ryan 814a2b0c1c Key caches by blog ID for those doing the multi blog trick.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 20:39:39 +00:00
matt 3e5ade7a39 Typo in get_calendar
git-svn-id: http://svn.automattic.com/wordpress/trunk@4523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 18:31:27 +00:00
matt 3224300951 Caching for get_calendar
git-svn-id: http://svn.automattic.com/wordpress/trunk@4522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 17:56:53 +00:00
matt 226a7a48eb Caching for get_pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@4521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 17:21:08 +00:00
matt b7d514be34 Caching for get_bookmarks
git-svn-id: http://svn.automattic.com/wordpress/trunk@4520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 17:04:05 +00:00
matt e05b055337 Caching for get_categories
git-svn-id: http://svn.automattic.com/wordpress/trunk@4519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 16:52:42 +00:00
matt 64b8121680 Typo in logic was causing extra page queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 16:06:16 +00:00
matt 624c94b57e This makes things a little more interesting and cacheable (sp?)
git-svn-id: http://svn.automattic.com/wordpress/trunk@4517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 15:38:22 +00:00
matt 384ec6e6c5 Let's be a little less verbose here
git-svn-id: http://svn.automattic.com/wordpress/trunk@4516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 00:10:30 +00:00
markjaquith 16998c6bb3 trying Ryan's suggestion for #3215
git-svn-id: http://svn.automattic.com/wordpress/trunk@4513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-22 04:58:31 +00:00
ryan 49281a1caf Bump autosave interval to 2 minutes for now. #3379
git-svn-id: http://svn.automattic.com/wordpress/trunk@4512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-22 02:54:04 +00:00
ryan 6f8d9c92a5 Make wptexturize faster. Props ecb29. fixes #2980
git-svn-id: http://svn.automattic.com/wordpress/trunk@4511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-21 22:00:10 +00:00
ryan 102885ebbc Upload JS fixes from mdawaffe. fixes #3378
git-svn-id: http://svn.automattic.com/wordpress/trunk@4510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-21 20:10:01 +00:00
ryan 4caa7051e8 Bump script ver.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-21 01:40:25 +00:00
ryan 29cb9128a7 Kill form submission during autosave.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-21 01:39:09 +00:00
ryan f336d22da7 TinyMCE 2.0.8
git-svn-id: http://svn.automattic.com/wordpress/trunk@4506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-21 00:55:06 +00:00
ryan 84bef56f9d ID instead of id. Props Nazgul. fixes #3152
git-svn-id: http://svn.automattic.com/wordpress/trunk@4505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-20 05:01:57 +00:00
ryan 9a8391315a ID instead of id. Props Nazgul. fixes #3152
git-svn-id: http://svn.automattic.com/wordpress/trunk@4504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-20 04:29:06 +00:00
ryan bb0d086933 get_children() uses get_posts(). Props mdawaffe. fixes #3189
git-svn-id: http://svn.automattic.com/wordpress/trunk@4503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-20 04:23:12 +00:00
ryan 761d46a887 Fix logo link and use install.css in wpdb bail. Props Sewar. fixes #3209
git-svn-id: http://svn.automattic.com/wordpress/trunk@4502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-20 04:07:34 +00:00
ryan fff43b9dee Don't linebreak after Z. Props andy. fixes #3312
git-svn-id: http://svn.automattic.com/wordpress/trunk@4501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-20 04:02:40 +00:00
ryan 9952fe0bc4 Pass format string and gmtbool as args to data and time filters. Props sdiz. fixes #2754
git-svn-id: http://svn.automattic.com/wordpress/trunk@4498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-20 01:46:20 +00:00
ryan 4780071918 Handle empty authors list. Props MichaelH. fixes #2384
git-svn-id: http://svn.automattic.com/wordpress/trunk@4497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 08:06:03 +00:00
ryan 9f534ebae6 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: http://svn.automattic.com/wordpress/trunk@4495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 07:56:05 +00:00
ryan 38e868257a i18n fix for comments_number(). Props Mark Jaquith. fixes #3244
git-svn-id: http://svn.automattic.com/wordpress/trunk@4494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 07:45:28 +00:00
ryan 422b5cd65c ceil() max_num_pages. Props MattRead. fixes #3368
git-svn-id: http://svn.automattic.com/wordpress/trunk@4488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 00:58:15 +00:00
ryan 92421de747 Ref more singletons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 00:12:57 +00:00
ryan 80550746c6 Base last modified time for comment feeds on comments, not the post. Props mdawaffe. fixes #137
git-svn-id: http://svn.automattic.com/wordpress/trunk@4483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-18 20:46:43 +00:00
ryan f9c7eadff4 Visual and Code. Props foolswisdom. fixes #3233
git-svn-id: http://svn.automattic.com/wordpress/trunk@4476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-17 21:16:17 +00:00
ryan fd46e4b1f6 Fix attachment links for page on front. Props mdawaffe. fixes #2515
git-svn-id: http://svn.automattic.com/wordpress/trunk@4475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-17 20:00:11 +00:00
markjaquith a8889fb947 silence the fopen() in wp_remote_fopen()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-15 22:46:35 +00:00
ryan 7684ebbeac Set extract type and rename car to avoid overwrites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-15 00:25:44 +00:00
ryan bc46166de6 Inline uploader tweaks from mdawaffe. fixes #3360
git-svn-id: http://svn.automattic.com/wordpress/trunk@4466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-14 23:18:20 +00:00
ryan 1d8d18022e is_singular should be false for the posts page. Props mdawaffe. fixes #3351
git-svn-id: http://svn.automattic.com/wordpress/trunk@4463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-11 18:25:42 +00:00
markjaquith ca63f7b35a valid XHTML for uploader. props tassoman and mdawaffe. fixes #3340
git-svn-id: http://svn.automattic.com/wordpress/trunk@4461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-09 19:02:40 +00:00
ryan 22bee1c9d7 Preserve the original query object as wp_the_query so that it's not stomped by subsequent calls to query_posts().
git-svn-id: http://svn.automattic.com/wordpress/trunk@4460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-09 06:50:58 +00:00
ryan 37a9660885 Bump script vers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-08 21:24:52 +00:00
ryan f83762e87d Ajax plugin tweakage from mdawaffe. fixes #3334
git-svn-id: http://svn.automattic.com/wordpress/trunk@4458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-08 21:23:41 +00:00
ryan 92bacd1a91 Remove paging by days. fixes #3341
git-svn-id: http://svn.automattic.com/wordpress/trunk@4457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-08 21:22:35 +00:00
ryan 19942073ea Use FOUND_ROWS to calculate the max number of pages. Need to cleanup/eliminate _max_num_pages().
git-svn-id: http://svn.automattic.com/wordpress/trunk@4455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-08 09:13:11 +00:00
ryan 70b9f6e5ed Wrap cat name in CDATA. props alexkingorg. fixes #3252
git-svn-id: http://svn.automattic.com/wordpress/trunk@4454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-08 06:57:26 +00:00
ryan a5b7a24962 Fix amp handling. Props skeltoac. fixes #3328
git-svn-id: http://svn.automattic.com/wordpress/trunk@4451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-08 01:12:41 +00:00
ryan 1977863614 GROUP BY is hella faster than DISTINCT.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-07 23:43:59 +00:00
markjaquith 5cd38edafe possible solution for #3215
git-svn-id: http://svn.automattic.com/wordpress/trunk@4445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-03 02:42:47 +00:00
ryan db789c6f59 category_before and category_after
git-svn-id: http://svn.automattic.com/wordpress/trunk@4444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-02 22:12:13 +00:00
markjaquith 32815e5c71 Another autosave typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-02 02:47:59 +00:00
ryan 917e73da40 Seconds not milliseconds.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-01 17:19:33 +00:00