Commit Graph

3433 Commits

Author SHA1 Message Date
ryan
c313442072 Cast to array
git-svn-id: http://svn.automattic.com/wordpress/trunk@7081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 06:43:45 +00:00
ryan
b2838e11c7 Fix widgets using old-style multi instance support. Props mdawaffe. fixes #6023
git-svn-id: http://svn.automattic.com/wordpress/trunk@7080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 00:31:46 +00:00
ryan
d0dfa68b6a fix new-fangled multi widgets. Props mdawaffe. see #6022
git-svn-id: http://svn.automattic.com/wordpress/trunk@7077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 23:57:00 +00:00
ryan
363ddd3b4f Fix AJAX comment moderation on edit post view. Props mdawaffe. fixes #4245
git-svn-id: http://svn.automattic.com/wordpress/trunk@7075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 23:36:24 +00:00
ryan
b9d443b574 Introduce get_post_ancestors(). Add current_page_ancestor class to ancestors of the current page. Props AaronCampbell. fixes #5662
git-svn-id: http://svn.automattic.com/wordpress/trunk@7074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 23:28:18 +00:00
ryan
affd57730c Add current_page_item on page_for_posts. Props mdawaffe. fixes #2959
git-svn-id: http://svn.automattic.com/wordpress/trunk@7073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 22:38:02 +00:00
ryan
0b43776d5f For page attachmentes, set both is_attachment and is_page to true so that templates cascade correctly.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 21:30:59 +00:00
ryan
d236d4f3e1 remove debug cruft and set swfupload max file size to match php ini. Props andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 19:36:02 +00:00
westi
9735b962ba A better in_category which supports category names that are all numbers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 18:25:25 +00:00
ryan
5367493b1e gettext fixes from takayukister. fixes #6018
git-svn-id: http://svn.automattic.com/wordpress/trunk@7063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 17:19:58 +00:00
ryan
e1bb43b66b set eol style
git-svn-id: http://svn.automattic.com/wordpress/trunk@7061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 05:37:13 +00:00
ryan
77aa40f291 TinyMCE 3.02 from azaozz. fixes #6012
git-svn-id: http://svn.automattic.com/wordpress/trunk@7060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 05:36:42 +00:00
ryan
354edc9544 Don't load wp-lists on pages that don't need it. Props mdawaffe. fixes #6011
git-svn-id: http://svn.automattic.com/wordpress/trunk@7057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 00:46:27 +00:00
ryan
83df1eb992 Use preg_replace_callback() instead of using the 'e' modifier.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 00:37:40 +00:00
ryan
03b47d4ddc Revert [7054]. No idea how I managed that.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 00:36:33 +00:00
ryan
fb02817dfc Fix users query
git-svn-id: http://svn.automattic.com/wordpress/trunk@7054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 00:25:08 +00:00
ryan
2825626009 Remove listman from script loader
git-svn-id: http://svn.automattic.com/wordpress/trunk@7053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 23:04:44 +00:00
ryan
5505b145af Bump jquery color ver
git-svn-id: http://svn.automattic.com/wordpress/trunk@7052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 22:51:16 +00:00
ryan
f4422c2842 Remove list-manipulation.js. No longer used
git-svn-id: http://svn.automattic.com/wordpress/trunk@7051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 22:48:47 +00:00
ryan
8ebf2db0c6 Ajax tweaks for edit-comments.php from mdawaffe. fixes #6009
git-svn-id: http://svn.automattic.com/wordpress/trunk@7050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 22:45:46 +00:00
ryan
77f215393c fix overuse of default mime icon and re-shuffle mp4/m4a file type matches. Props andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 19:57:00 +00:00
ryan
1eaf857f7b Media upload updates from andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 19:30:10 +00:00
ryan
1b08613a81 Add some defaults for wp_insert_attachment. fixes #6006
git-svn-id: http://svn.automattic.com/wordpress/trunk@7042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 18:51:45 +00:00
ryan
de3ab9a05e image_resize() and friends from tellyworth. fixes #6005
git-svn-id: http://svn.automattic.com/wordpress/trunk@7041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 18:46:03 +00:00
ryan
4446c81177 Return error when requesting invalid feed format. Props pishmishy. fixes #5446
git-svn-id: http://svn.automattic.com/wordpress/trunk@7038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 10:05:05 +00:00
ryan
5f5694ee64 Silence warnings if error_log is disabled. fixes #5771
git-svn-id: http://svn.automattic.com/wordpress/trunk@7037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 09:45:51 +00:00
ryan
16c4b30145 update mime-to-icon matching and get filename from function instead of guid. Props andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 08:54:11 +00:00
ryan
fabda2a2d3 Fix edit comment form tab indices. fixes #5712
git-svn-id: http://svn.automattic.com/wordpress/trunk@7032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 04:53:48 +00:00
westi
fdb26f5bae Support category names in in_category(). Fixes #4558 props robmil.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-25 22:18:41 +00:00
westi
35a2e26b4d Add keyed object output to wpdb::get_results. Fixes #5286 props andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-25 22:00:27 +00:00
ryan
538126aff8 Workaround Safari crasher. Props azaozz. fixes #5945
git-svn-id: http://svn.automattic.com/wordpress/trunk@7025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-25 19:03:35 +00:00
ryan
68606d301e get_pagenum_link filter from Martin2006. fixes #5969
git-svn-id: http://svn.automattic.com/wordpress/trunk@7022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-25 18:40:46 +00:00
ryan
2e38b04136 Error page styling from mt. fixes #5977
git-svn-id: http://svn.automattic.com/wordpress/trunk@7001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-24 04:33:51 +00:00
ryan
b793e1846f Revert changes to canonical that broke redirects. Props fitztrev. fixes #5961
git-svn-id: http://svn.automattic.com/wordpress/trunk@6998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-24 02:09:24 +00:00
westi
8d42a5d342 Fix the display of human time difference when server timezone if different from blog timezone. Fixes #5970 props jhodgdon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-23 22:11:47 +00:00
ryan
93f0c00cb7 Manage comments rework. WIP
git-svn-id: http://svn.automattic.com/wordpress/trunk@6994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-23 08:33:44 +00:00
ryan
699b250926 Small code formatting tweak
git-svn-id: http://svn.automattic.com/wordpress/trunk@6986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 20:48:28 +00:00
ryan
b49ff57e63 Make sure post has future status before publishing from cron. Props hailin. fixes #5801
git-svn-id: http://svn.automattic.com/wordpress/trunk@6985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 19:59:12 +00:00
ryan
038910ae4e Upload path fixes from tellyworth. see #5953
git-svn-id: http://svn.automattic.com/wordpress/trunk@6984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 17:46:03 +00:00
ryan
dce0978cee Notice fixes from nbachiyski. fixes #5961
git-svn-id: http://svn.automattic.com/wordpress/trunk@6983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 17:43:56 +00:00
ryan
54f091eebf Allow overriding the default secret key. Proy. Props nbachiyski. fixes #5960
git-svn-id: http://svn.automattic.com/wordpress/trunk@6982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 17:36:09 +00:00
ryan
c5d19aed9c Media library work from andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@6974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 05:53:47 +00:00
ryan
fa9f3af382 Move blockquote to first toolbar. Props azaozz. fixes #5709
git-svn-id: http://svn.automattic.com/wordpress/trunk@6973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 05:07:03 +00:00
ryan
2724f9479e Restore JIT script localization. Props azaozz. fixes #5921
git-svn-id: http://svn.automattic.com/wordpress/trunk@6971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 04:02:09 +00:00
ryan
e6a1bade1c Make pagename regex ungreedy. Fixes /pagename/2 links
git-svn-id: http://svn.automattic.com/wordpress/trunk@6964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 23:49:05 +00:00
ryan
e545cdadb1 TinyMCE 3.01. Props azaozz. fixes #5944
git-svn-id: http://svn.automattic.com/wordpress/trunk@6959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 21:40:25 +00:00
ryan
1e755afb7b Ver bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@6957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 21:03:43 +00:00
ryan
a739979c12 Revert [6940]. Breaks atompub. see #5717
git-svn-id: http://svn.automattic.com/wordpress/trunk@6956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 20:47:15 +00:00
ryan
ed09992863 Slug edit for pages. Hide advanced slug field if JS enabled. Trigger first autosave after 15 chars. Set autosave interval to 60s. Props filosofo. see #5749
git-svn-id: http://svn.automattic.com/wordpress/trunk@6955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 20:19:34 +00:00
ryan
f5afc1fd4f Show permalink editor on new posts after autosave. Props filosofo. see #5749
git-svn-id: http://svn.automattic.com/wordpress/trunk@6954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 17:08:06 +00:00
ryan
eb3cb51113 Auto add preview link after autosaving a new post or page. Props filosofo. see #5847
git-svn-id: http://svn.automattic.com/wordpress/trunk@6953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 06:19:46 +00:00
ryan
833447d59e Image size options from tellyworth. fixes #5933
git-svn-id: http://svn.automattic.com/wordpress/trunk@6952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 06:00:15 +00:00
ryan
2f7d3a377e Add a default for post_conten_filtered
git-svn-id: http://svn.automattic.com/wordpress/trunk@6951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 00:52:51 +00:00
ryan
726b030412 Allow comment object to be passed to get_avatar() for convenience. see #5775
git-svn-id: http://svn.automattic.com/wordpress/trunk@6946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 20:58:58 +00:00
ryan
3355f0c2af Allow comment object to be passed to get_avatar() for convenience. see #5775
git-svn-id: http://svn.automattic.com/wordpress/trunk@6945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 20:57:21 +00:00
ryan
321845ffcd Skip main posts query if 404. Props misterbisson. fixes #5717
git-svn-id: http://svn.automattic.com/wordpress/trunk@6940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 16:52:40 +00:00
ryan
4bbe72cd41 shortcodes should not require var=val format. Props andy. fixes #5892
git-svn-id: http://svn.automattic.com/wordpress/trunk@6939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 16:47:50 +00:00
ryan
b09e83ddca pre_post_update action from tellyworth. fixes #5815
git-svn-id: http://svn.automattic.com/wordpress/trunk@6938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 16:46:44 +00:00
ryan
e6fae2dc51 Don't show Add Media when editing comments. Props azaozz. fixes #5910
git-svn-id: http://svn.automattic.com/wordpress/trunk@6930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 05:39:04 +00:00
ryan
2533bac2df Lose caching of user DB misses. Wasn't working out that well.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 05:34:51 +00:00
ryan
ecc8de81b9 Revert [6921]. see #5928
git-svn-id: http://svn.automattic.com/wordpress/trunk@6925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 02:55:36 +00:00
ryan
9e349220b5 Update edit comment form. WIP
git-svn-id: http://svn.automattic.com/wordpress/trunk@6923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 02:41:16 +00:00
ryan
e0e9db30d7 Do version check on admin_init. Props DD32. fixes #5928
git-svn-id: http://svn.automattic.com/wordpress/trunk@6921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 00:16:44 +00:00
ryan
7c8c648554 Don't save translated role names to the DB. Instead, translate them on the fly. fixes #3442 #5537
git-svn-id: http://svn.automattic.com/wordpress/trunk@6916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-19 20:28:54 +00:00
ryan
3e9b80d5ef Support positional attributes in shortcodes. Props tellyworth. fixes #5914
git-svn-id: http://svn.automattic.com/wordpress/trunk@6911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-19 06:52:30 +00:00
ryan
366cfe0d03 Media Library design updates from Andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@6910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-19 06:13:20 +00:00
ryan
0a875e8b22 Make user option name sanitization consistent. Props filosofo. fixes #5901
git-svn-id: http://svn.automattic.com/wordpress/trunk@6902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 20:16:02 +00:00
ryan
d92d57bd14 TinyMCE compressor fixes from azaozz. fixes #5900
git-svn-id: http://svn.automattic.com/wordpress/trunk@6900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 19:25:56 +00:00
ryan
1ba0025c60 Add optional post ID arg to the_category and get_the_category_list. Props filosofo. fixes #5050
git-svn-id: http://svn.automattic.com/wordpress/trunk@6899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 17:46:26 +00:00
ryan
bd8069aba7 Typo fix from rnt. fixes #5894
git-svn-id: http://svn.automattic.com/wordpress/trunk@6895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 17:13:21 +00:00
ryan
6bef16a574 TinyMCE config enhancements from azaozz. fixes #5896 #5888
git-svn-id: http://svn.automattic.com/wordpress/trunk@6894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 17:11:12 +00:00
ryan
8efbdbbec1 Fix TinyMCE translation typo. Props rnt. fixes #5769
git-svn-id: http://svn.automattic.com/wordpress/trunk@6893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 17:07:23 +00:00
ryan
02292333f0 Bump js ver
git-svn-id: http://svn.automattic.com/wordpress/trunk@6877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-16 22:05:37 +00:00
ryan
8db820753e Media handling updates from andy. fixes #5874
git-svn-id: http://svn.automattic.com/wordpress/trunk@6876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-16 21:54:47 +00:00
westi
86c55d6d67 More specific moderation emails for {ping|track}backs. Fixes #4986 props Otto42.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-16 17:03:05 +00:00
ryan
4cd65bf8d0 Default args to array. Props fitztrev. fixes #5866
git-svn-id: http://svn.automattic.com/wordpress/trunk@6861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-15 20:42:53 +00:00
ryan
30fa0eb3c7 Walker markup fixes from hailin. fixes #5844
git-svn-id: http://svn.automattic.com/wordpress/trunk@6858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-15 07:34:52 +00:00
ryan
1857fc1627 generic_ping() improvements from fitztrev. fixes #5855
git-svn-id: http://svn.automattic.com/wordpress/trunk@6853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 21:50:43 +00:00
ryan
5ed843d6d8 Support ordering for term relationships. Props andy. fixes #5857
git-svn-id: http://svn.automattic.com/wordpress/trunk@6851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 17:17:57 +00:00
ryan
467387c34f auto-add css class when using align on Image. Props azaozz. fixes #5856
git-svn-id: http://svn.automattic.com/wordpress/trunk@6844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 05:45:40 +00:00
ryan
e3b7a9c202 Add more sort options to wp_get_object_terms(). Props andy. fixes #5245
git-svn-id: http://svn.automattic.com/wordpress/trunk@6843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 05:40:19 +00:00
ryan
c19d47bb75 Revert [6835] as it breaks the depth arg. see#5844
git-svn-id: http://svn.automattic.com/wordpress/trunk@6839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 02:51:12 +00:00
ryan
939cc4624a Walker markup fixes from hailin. fixes #5844
git-svn-id: http://svn.automattic.com/wordpress/trunk@6835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 00:54:52 +00:00
westi
ab4ce8237d '>"
git-svn-id: http://svn.automattic.com/wordpress/trunk@6828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 21:56:56 +00:00
ryan
8bbf359295 Add comment_date_gmt key to comments table. Optimize _wp_get_comment_list() query. fixes #5785
git-svn-id: http://svn.automattic.com/wordpress/trunk@6825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 19:15:30 +00:00
ryan
e5879ea923 Add RAND order option to wp_tag_cloud(). Props fitzrev. fixes #5726
git-svn-id: http://svn.automattic.com/wordpress/trunk@6824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 19:12:46 +00:00
ryan
daf0d9a7e9 Allow is_single(), is_category(), and is_tag() to accept arrays. Props fitzrev. fixes #5593
git-svn-id: http://svn.automattic.com/wordpress/trunk@6823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 19:02:08 +00:00
ryan
3b04c16b5e Add wp_list_bookmarks filter. Props codealsatian. fixes #5532
git-svn-id: http://svn.automattic.com/wordpress/trunk@6822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 18:47:34 +00:00
ryan
84a3a81bb8 Improve metadata for atom comment search feeds. Props ionfish. fixes #5493
git-svn-id: http://svn.automattic.com/wordpress/trunk@6819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 18:29:10 +00:00
ryan
0ac5af1f6e Add a prophylactic specialchars to the object in explain nonce. see #5838
git-svn-id: http://svn.automattic.com/wordpress/trunk@6817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 18:14:38 +00:00
ryan
6199f2dc76 Make Nonce Mismatch Fail Instead of AYS. Props filosofo. fixes #5838 for 2.5
git-svn-id: http://svn.automattic.com/wordpress/trunk@6813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 17:39:40 +00:00
ryan
c516aa6a42 Add gzip_compression() stub in case someone actually uses it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 11:21:09 +00:00
ryan
c21c9af12a Reduce queries by wp_count_posts(). Props josephscott. fixes #5820
git-svn-id: http://svn.automattic.com/wordpress/trunk@6808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 09:30:26 +00:00
ryan
7aa24fb904 Use array keys instead of hard coded list when traversing post fields to sanitize. Props andy. fixes #5836
git-svn-id: http://svn.automattic.com/wordpress/trunk@6803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 06:49:23 +00:00
ryan
f6cfa549fb Fix variable name typo. Props reinkim. fixes #5834
git-svn-id: http://svn.automattic.com/wordpress/trunk@6802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 06:39:45 +00:00
ryan
9900f35dd3 Fix floated left gallery layout breaks. Prop s nbachiyski. fixes #5828
git-svn-id: http://svn.automattic.com/wordpress/trunk@6801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 06:35:21 +00:00
ryan
8bd0691aa3 Manage categories redesign. Add categories search.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-12 09:02:02 +00:00
ryan
1bd097fff0 Manage links redesign. Add link search.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-12 08:01:32 +00:00
ryan
fa53c462a9 tinyMCE compressor update from azaozz. see #5807
git-svn-id: http://svn.automattic.com/wordpress/trunk@6791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 20:19:29 +00:00
ryan
28e1d318bb tinyMCE compressor additions and deletion of unused lang files. Props azaozz. see #5807
git-svn-id: http://svn.automattic.com/wordpress/trunk@6790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 19:22:22 +00:00
ryan
9c7db11219 New gzip compressor for TinyMCE from azaozz. fixes #5807
git-svn-id: http://svn.automattic.com/wordpress/trunk@6789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 17:45:18 +00:00
matt
3b82a74e29 Blow out mem limit, slightly larger thumbnails.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 09:02:44 +00:00
matt
f55e3feab2 Lowercase extensions too, dynamically change when we try to create thumbnails by memory limit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 08:02:01 +00:00
matt
76260edc29 A few places we were missing links to new stylesheet.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 07:53:10 +00:00
matt
d9738d6cfb Allow uploads outside of the WP path and custom URLs for the same.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 06:35:24 +00:00
ryan
1edf014a54 s/2.4/2.5/. Props ffemtcj. fixes #5810
git-svn-id: http://svn.automattic.com/wordpress/trunk@6777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-10 07:59:34 +00:00
ryan
6f108ce6f3 Remove gzip_compression(). Leave it to the server. fixes #4342
git-svn-id: http://svn.automattic.com/wordpress/trunk@6775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-10 07:12:33 +00:00
ryan
0a89479d1c Maintain hidden toolbar state when switching to fullscreen. Props azaozz. fixes #5806
git-svn-id: http://svn.automattic.com/wordpress/trunk@6773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-10 06:27:03 +00:00
ryan
ce4fb5e015 Move editor js to editor.js. fixes #5799
git-svn-id: http://svn.automattic.com/wordpress/trunk@6770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 13:08:28 +00:00
ryan
f58f803b5b Automatically add classes to images for floated images. Props azaozz. fixes #5803
git-svn-id: http://svn.automattic.com/wordpress/trunk@6769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 12:42:15 +00:00
ryan
a96ae481ff htmlspecialchars when loading content into html editor. Props DD32 and andy. fixes #5796
git-svn-id: http://svn.automattic.com/wordpress/trunk@6767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 07:29:36 +00:00
ryan
c25dd9912a gettext for tinymce strings. Props azaozz. see #5769
git-svn-id: http://svn.automattic.com/wordpress/trunk@6765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 06:43:15 +00:00
ryan
9e6593de20 add "select class" to the Image pop-up. Props azaozz. fixes #5803
git-svn-id: http://svn.automattic.com/wordpress/trunk@6764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 05:00:13 +00:00
ryan
bf2f730177 Show full content, including content after the more tag, for feeds. fixes #2582
git-svn-id: http://svn.automattic.com/wordpress/trunk@6763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 00:19:48 +00:00
ryan
bc817d2a2e Postbox save updates and admin js refactoring from nbachiyski. fixes #5799
git-svn-id: http://svn.automattic.com/wordpress/trunk@6761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-08 19:57:50 +00:00
ryan
9989d4c23e Allow rand post ordering. Props Otto42 and Nazgul. fixes #4617
git-svn-id: http://svn.automattic.com/wordpress/trunk@6760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-08 19:50:10 +00:00
ryan
2ebcad280b jQuery 1.2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@6757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-08 07:33:51 +00:00
ryan
4a662f1776 Precompute the hash of the unknown avatar user to save an md5 call. Props Viper007Bond. see #5775
git-svn-id: http://svn.automattic.com/wordpress/trunk@6756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-08 07:09:01 +00:00
ryan
7646d94d88 Pass 'show' argument to bloginfo_rss filters. Props tzafrir and Viper007Bond. fixes #5267
git-svn-id: http://svn.automattic.com/wordpress/trunk@6750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-07 18:01:33 +00:00
ryan
596f6b0583 Gonna serve default avatars from gravatar. see #5775
git-svn-id: http://svn.automattic.com/wordpress/trunk@6749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-07 06:58:38 +00:00
ryan
36a651ef92 get_avatar(). see #5775
git-svn-id: http://svn.automattic.com/wordpress/trunk@6748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-07 06:07:12 +00:00
ryan
2d7252544b Show media upload buttons when RTE is not enabled. Props tellyworth. fixes #5764
git-svn-id: http://svn.automattic.com/wordpress/trunk@6746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-07 04:21:22 +00:00
markjaquith
21d3dd2a76 Make sure the theme_dir is a dir before we attempt to closedir(). fixes #5768
git-svn-id: http://svn.automattic.com/wordpress/trunk@6744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 23:17:13 +00:00
markjaquith
302ac4890e Allow redirect_canonical filter to cancel a redirect (just return FALSE). see #5766
git-svn-id: http://svn.automattic.com/wordpress/trunk@6743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 22:57:15 +00:00
markjaquith
5b22db23d1 Make RSS 2.0 comment feed GUIDs immutable. fixes #5072
git-svn-id: http://svn.automattic.com/wordpress/trunk@6742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 22:33:21 +00:00
ryan
bddedf8c3e Rename is_front() to is_front_page() to avoid conflict with bbPress. see #3682
git-svn-id: http://svn.automattic.com/wordpress/trunk@6740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 21:21:22 +00:00
ryan
7b946b9007 Remove cookie checking from check_ajax_referer(). Check nonces instead. Props mdawaffe. fixes #5782
git-svn-id: http://svn.automattic.com/wordpress/trunk@6739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 21:19:47 +00:00
ryan
6c312db33c Fix fields=names query in get_terms(). Props Sarky-de. fixes #5780
git-svn-id: http://svn.automattic.com/wordpress/trunk@6738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 20:42:03 +00:00
ryan
ab0ea44dc7 Page permalink fixes from josephscott. fixes #5781
git-svn-id: http://svn.automattic.com/wordpress/trunk@6737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 18:11:49 +00:00
ryan
8fecb97b09 Order by and index on comment_date_gmt instead of comment_date to insulate order from offset changes. fixes #5773
git-svn-id: http://svn.automattic.com/wordpress/trunk@6736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 23:29:59 +00:00
ryan
ed5224f393 Enum to varchar. fixes #4778
git-svn-id: http://svn.automattic.com/wordpress/trunk@6732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 21:05:56 +00:00
ryan
b85271e8ed Add wp_count_posts().
git-svn-id: http://svn.automattic.com/wordpress/trunk@6730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 19:08:14 +00:00
ryan
b67bbb9e4e Add key on comment_approved,comment_date to speed up last comment modified queries. fixes #5773
git-svn-id: http://svn.automattic.com/wordpress/trunk@6729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 18:04:17 +00:00
ryan
95781cf290 Fix interface sortables for IE7. Props filosofo. see #5583
git-svn-id: http://svn.automattic.com/wordpress/trunk@6728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 16:32:20 +00:00
ryan
d88983793b Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
ryan
9f643af85d Dashboard fixes from mdawaffe. No longer stomps sidebar. see #5750
git-svn-id: http://svn.automattic.com/wordpress/trunk@6717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-04 20:38:48 +00:00
ryan
25788ba179 Add filters to comments_open() and pings_open(). Props tellyworth. fixes #5761
git-svn-id: http://svn.automattic.com/wordpress/trunk@6716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-04 20:27:45 +00:00
ryan
45ebbd5bb8 Fix edit link form categories a bit. AJAX add still needs work.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 20:31:56 +00:00
ryan
d42b1a8256 Don't hard code post type in edit forms. Props filosofo and DD32. fixes #4991
git-svn-id: http://svn.automattic.com/wordpress/trunk@6712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 19:22:14 +00:00
ryan
8263948a96 Some notice fixes from Nazgul. fixes #3155
git-svn-id: http://svn.automattic.com/wordpress/trunk@6711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 18:42:09 +00:00
ryan
7f4d8b2f27 New dashboard from mdawaffe. see #5750
git-svn-id: http://svn.automattic.com/wordpress/trunk@6705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 07:57:51 +00:00
ryan
43852a57c3 is_front() from markjaquith and Nazgul. fixes #3682
git-svn-id: http://svn.automattic.com/wordpress/trunk@6704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 00:13:34 +00:00
ryan
08a89b8a11 Allow multiple db instances. Props Nazgul. fixes #2722
git-svn-id: http://svn.automattic.com/wordpress/trunk@6701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-31 22:09:17 +00:00
ryan
8945a17651 Add unique 'for' attribute to labels for post password forms. Props Nazgul. fixes #4721
git-svn-id: http://svn.automattic.com/wordpress/trunk@6698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-31 21:47:35 +00:00
ryan
ece19d2bfb Merge user-edit.php and profile.php. Props nbachiyski. fixes #5736
git-svn-id: http://svn.automattic.com/wordpress/trunk@6697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-31 21:44:17 +00:00
ryan
e2d55ab832 Remove old tinymce files. see #5674
git-svn-id: http://svn.automattic.com/wordpress/trunk@6696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-31 20:48:33 +00:00
ryan
1266b9c53f Update edit link pages. Link categories need work.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-31 20:04:54 +00:00
ryan
c1a034bcbe TinyMCE 3.0 Final from azaozz. see #5674
git-svn-id: http://svn.automattic.com/wordpress/trunk@6694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-31 18:10:46 +00:00
ryan
2340b8dda6 Remove spurious dollar sign. fixes #6690
git-svn-id: http://svn.automattic.com/wordpress/trunk@6693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-31 00:58:54 +00:00
ryan
5481803d74 Widget i18n from nbachiyski. see #5583
git-svn-id: http://svn.automattic.com/wordpress/trunk@6692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-30 21:49:56 +00:00
ryan
d88d4f85dd Add depth arg to wp_dropdown_categories(). Props pishmishy. fixes #2461
git-svn-id: http://svn.automattic.com/wordpress/trunk@6690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-30 20:07:52 +00:00
ryan
f21c535f3f Add fullscreen plugin. Props andy. fixes #5735
git-svn-id: http://svn.automattic.com/wordpress/trunk@6689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-30 06:55:47 +00:00
ryan
c52e264fde Don't advance post counter when resetting query. see #5439
git-svn-id: http://svn.automattic.com/wordpress/trunk@6688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 23:58:41 +00:00
ryan
dd7370dbe9 Recent entries widget caching fixes from mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 23:28:58 +00:00
ryan
19de78b638 Add wp_authenticate_user filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@6685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 20:17:11 +00:00
ryan
7f4b870b15 Make sure we have a post when doing post comment feed query. Props ruckus. see #5185
git-svn-id: http://svn.automattic.com/wordpress/trunk@6683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 19:01:39 +00:00
westi
520d17d7f0 Switch from abs(intval()) to absint(). See #4762.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 18:48:38 +00:00
ryan
7d78a53a87 like_escape() from nbachiyski. see #5684
git-svn-id: http://svn.automattic.com/wordpress/trunk@6680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 17:20:27 +00:00
ryan
9d46888a48 Add missing close brace.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-28 23:16:04 +00:00
ryan
d5973814b7 Move postbox to postbox.js. Don't load cat and tag js for pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-28 21:34:42 +00:00
ryan
8f6920d116 Fill edit slug box with current slug. Props johnbillion and nbachiyski. fixes #5704
git-svn-id: http://svn.automattic.com/wordpress/trunk@6674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-28 20:25:39 +00:00
ryan
71c278e89d Remove PHP 4.2 and 4.3 back compat functions. Props DD32. fixes #5415
git-svn-id: http://svn.automattic.com/wordpress/trunk@6672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-28 20:15:20 +00:00
ryan
80643d6ed9 doubleval bytes. Props tellyworth. fixes #5246
git-svn-id: http://svn.automattic.com/wordpress/trunk@6669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-28 04:55:54 +00:00
westi
2ac5c0204f Remove the duplicate code for sanitising IP Addresses we only need to do it once. Fixes #4579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-26 10:18:33 +00:00
ryan
5602414fa7 Fix autosave dependencies
git-svn-id: http://svn.automattic.com/wordpress/trunk@6666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 23:27:33 +00:00
ryan
879f7f4766 First cut at Manage->Tags. Props jhodgdon. see #5684
git-svn-id: http://svn.automattic.com/wordpress/trunk@6660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 19:29:01 +00:00
matt
f529123061 First pass at async upload, multi-upload, and gallery feature. Modified names from patch. Hat tip: tellyworth, skeltoac.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 19:21:11 +00:00
westi
f9ba9a3802 Allow IPv6 addresses as well. Fixes #4579 props pishmishy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 18:50:52 +00:00
ryan
2e8ee3b0e0 Typo fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@6657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 03:19:34 +00:00
ryan
4b812eb11f Unescape user data before sending to wpdb::update() and wpdb::insert(), which expect unescaped data.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 02:21:59 +00:00
ryan
6f7d120d5b Remove lingering bit of get_tags cache
git-svn-id: http://svn.automattic.com/wordpress/trunk@6655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 01:59:06 +00:00
ryan
e5c94063b0 Clear post_meta cache upon change. Props nbachiyski. fixes #5718
git-svn-id: http://svn.automattic.com/wordpress/trunk@6654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 01:55:21 +00:00
ryan
3c0db5ec37 Restore global post when resetting the query. Props ionfish. fixes #5439
git-svn-id: http://svn.automattic.com/wordpress/trunk@6653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 01:41:57 +00:00
ryan
2d656cdb15 Remove busted get_tags cache. get_terms does the caching for us. Props josephscott
git-svn-id: http://svn.automattic.com/wordpress/trunk@6651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 01:19:53 +00:00
ryan
35bd1677a1 check_ajax_referer() should look for *only* the auth_cookie, not others that look like they match. Autosave should know that an ajax response of -1 or 0 is a failure. Props mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@6649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-24 21:19:42 +00:00
ryan
f21535a6b1 Add check_password filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@6648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-24 18:36:45 +00:00
ryan
a99e7c0cee Add wp_login_failed action
git-svn-id: http://svn.automattic.com/wordpress/trunk@6647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-24 18:32:21 +00:00
ryan
e51dd5d7d1 Don't forget to pass the category
git-svn-id: http://svn.automattic.com/wordpress/trunk@6646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-23 23:38:30 +00:00
westi
839ea6c294 Fix the updated times when publishing/editing with APP. See #5680 props rubys.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-23 20:25:08 +00:00
ryan
7eb704b71b Pass remember arg. see #5405
git-svn-id: http://svn.automattic.com/wordpress/trunk@6644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-23 18:20:59 +00:00
ryan
6afab28342 Refactor login. see #5405
git-svn-id: http://svn.automattic.com/wordpress/trunk@6643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-22 19:35:19 +00:00
ryan
f283ceae87 Port wphelp plugin to tinyMCE 3.0. Props azaozz. see #5703
git-svn-id: http://svn.automattic.com/wordpress/trunk@6641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-22 06:23:46 +00:00
ryan
6726698979 get_col() instead of get_results(). Props fitzrev. fixes #5699
git-svn-id: http://svn.automattic.com/wordpress/trunk@6640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-22 05:50:22 +00:00
ryan
c12cc74bae phpdoc for pluggable.php from darkdragon. fixes #5509
git-svn-id: http://svn.automattic.com/wordpress/trunk@6637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-20 06:53:42 +00:00
ryan
4ab500c856 Remove old tinymce files. see #5674
git-svn-id: http://svn.automattic.com/wordpress/trunk@6636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-19 00:01:45 +00:00
matt
5fbca12c9e Edit permalink in place. Fixes #5679. Hat tip: nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-17 16:51:32 +00:00
ryan
95bbfed206 TinyMCE 3.0 RC1. First cut, eexpect regressions. Props azaozz. see #5674
git-svn-id: http://svn.automattic.com/wordpress/trunk@6632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-17 15:44:05 +00:00
ryan
0aee557b68 phpdoc for kses from darkdragon. fixes #5641
git-svn-id: http://svn.automattic.com/wordpress/trunk@6630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-16 19:15:07 +00:00
ryan
f8ab885ab0 Use PLUGINDIR in plugin_basename(). Props hansengel. fixes #5665
git-svn-id: http://svn.automattic.com/wordpress/trunk@6629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-16 19:11:15 +00:00
ryan
c97638a4d9 jQuery 1.2.2 final. Props filosofo. fixes #5492
git-svn-id: http://svn.automattic.com/wordpress/trunk@6618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-15 17:05:07 +00:00
ryan
076634d99b Allow more tags in kses. Props lloydbudd. fixes #5617
git-svn-id: http://svn.automattic.com/wordpress/trunk@6617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-14 23:56:53 +00:00
ryan
b95f8d4459 Return, don't echo, array. Props Otto42. fixes #5155
git-svn-id: http://svn.automattic.com/wordpress/trunk@6616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-14 22:35:43 +00:00
ryan
0866e1e584 Don't double requested url in url_to_postid(). Props filosofo. fixes #5661
git-svn-id: http://svn.automattic.com/wordpress/trunk@6614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-14 21:44:08 +00:00
ryan
61881b5111 Allow parens in urls. Props nbachiyski. fixes #5668
git-svn-id: http://svn.automattic.com/wordpress/trunk@6613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-14 20:38:43 +00:00
ryan
74cad1dac8 Eliminate comment_date_gmt <= now from get_lastcommentmodified() queries. fixes #5650
git-svn-id: http://svn.automattic.com/wordpress/trunk@6610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-14 05:59:39 +00:00
ryan
8c55d60d5b Get named sidebars. Props AaronCampbell. fixes #5615
git-svn-id: http://svn.automattic.com/wordpress/trunk@6609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-14 04:51:29 +00:00
matt
23770cb94e Have the bottom boxes be closed by default. Remove the global padding kill from thickbox CSS.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-14 00:20:52 +00:00
westi
e0856a070f Simplify to_ping query. Fixes #5649 props misterbisson.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-12 17:31:17 +00:00
matt
37fb9152a1 Don't try fancy tab focus if the WYSIWYG isn't active. Hat tip: skeltoac.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-12 01:55:51 +00:00
ryan
106df879c6 phpdoc for pluggable from darkdragon. fixes #5509
git-svn-id: http://svn.automattic.com/wordpress/trunk@6600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-11 20:51:39 +00:00
westi
8c45b3a029 Revert #5007 as it causes more trouble than it solves. Fixes #5273 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-11 18:44:44 +00:00
westi
fcbe872299 Add missing brace. Fixes #5643 props xknown.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-11 18:35:34 +00:00
ryan
bdbdeb1e7c Add depth arg to wp_list_categories(). Props pishmishy. see #2461
git-svn-id: http://svn.automattic.com/wordpress/trunk@6595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 21:51:00 +00:00
westi
ac2d661ee9 Add xmlrpc methods to discover the valid post and page statuses. See #5569 props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 21:46:25 +00:00
westi
484a252c4b Ensure that we preserve GUIDs when importing from RSS. Fixes #5589 props peterjanes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 21:27:08 +00:00
westi
1aaec4ff30 Notice fixing for wp-includes. See #5607 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 20:51:07 +00:00
ryan
db44305ce1 Fixes for new categories interface from mdawaffe. fixes #5618
git-svn-id: http://svn.automattic.com/wordpress/trunk@6591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 20:19:58 +00:00
ryan
1f71b9227d Eliminate duplication in and minify jquery.schedule.js. fixes #5620
git-svn-id: http://svn.automattic.com/wordpress/trunk@6590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 17:35:48 +00:00
ryan
ce884496e1 phpdoc for locale from darkdragon. fixes #5621
git-svn-id: http://svn.automattic.com/wordpress/trunk@6589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 17:28:50 +00:00
matt
16d42d6ee7 New experimental category interface, fixes #5618. Hat tip: mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 09:39:35 +00:00
ryan
f975992f90 JIT load tinymce localization to avoid load order problems. Props mdawaffe. fixes #5605
git-svn-id: http://svn.automattic.com/wordpress/trunk@6587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 20:11:13 +00:00
ryan
479fc2e2b3 phpdoc tuneup from darkdragon. see #5611
git-svn-id: http://svn.automattic.com/wordpress/trunk@6585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 17:48:00 +00:00
ryan
d3e7affa4b Save toggle box open/closed state. Props nbachiyski. fixes #5610
git-svn-id: http://svn.automattic.com/wordpress/trunk@6584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 17:46:13 +00:00
ryan
a4f050e486 Concat secret key with salt. see #5367
git-svn-id: http://svn.automattic.com/wordpress/trunk@6583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 16:37:43 +00:00
matt
d66013fdd9 Replacing FAT with jQuery effects, new styling for alerts. See #5369.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 12:12:35 +00:00
ryan
3388050bf9 New image uploader from tellyworth. see #5609
git-svn-id: http://svn.automattic.com/wordpress/trunk@6579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 08:14:29 +00:00
ryan
fa3fd336c6 Purty editor buttons from andy. Removing some oogly. fixes #5573
git-svn-id: http://svn.automattic.com/wordpress/trunk@6575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 05:21:51 +00:00
ryan
f9fc69dc40 Revert back to fat for now. see #5369
git-svn-id: http://svn.automattic.com/wordpress/trunk@6574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-08 07:22:07 +00:00
ryan
e7350d078e Fade using jquery.color. Props JeremyVisser. fixes #5369
git-svn-id: http://svn.automattic.com/wordpress/trunk@6572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-08 06:39:09 +00:00
ryan
62d4757979 Mass select for users from cpoteet and mdawaffe. fixes #5592
git-svn-id: http://svn.automattic.com/wordpress/trunk@6570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-07 20:38:49 +00:00
ryan
f4e84d8abe Update jquery.form to 2.02. Props filosofo. fixes #5048
git-svn-id: http://svn.automattic.com/wordpress/trunk@6569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-07 17:23:40 +00:00
ryan
fdb577cfd3 Encoding before title. Props RanYanivHartstein. fixes #5519 for 2.5
git-svn-id: http://svn.automattic.com/wordpress/trunk@6568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-06 19:15:33 +00:00
ryan
0a5781da6e Remember last editor chosen. Props mdawaffe. fixes #3978
git-svn-id: http://svn.automattic.com/wordpress/trunk@6567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-06 19:01:32 +00:00
ryan
b5c7c66ad8 phpdoc for registration from darkdragon. fixes #4383
git-svn-id: http://svn.automattic.com/wordpress/trunk@6564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-06 08:21:58 +00:00
ryan
eb74f766c8 phpdoc for l10n. Props darkdragon. fixes #5590
git-svn-id: http://svn.automattic.com/wordpress/trunk@6563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-06 01:28:34 +00:00
ryan
7c9ec289bf Update dimension to 1.2
git-svn-id: http://svn.automattic.com/wordpress/trunk@6562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-05 17:14:21 +00:00
ryan
040769e245 jQuery 1.2.2b2. see #5492
git-svn-id: http://svn.automattic.com/wordpress/trunk@6561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-05 06:18:29 +00:00
ryan
61a5a4cca0 Fix some array warnings. Props mdawaffe. see #5583
git-svn-id: http://svn.automattic.com/wordpress/trunk@6560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-05 05:20:56 +00:00
ryan
4f56c35980 Widget admin redesign from mdawaffe. see #5583
git-svn-id: http://svn.automattic.com/wordpress/trunk@6556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 23:34:33 +00:00
ryan
4374db281e Some file level phpdoc from darkdragon. fixes #5572
git-svn-id: http://svn.automattic.com/wordpress/trunk@6554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 20:05:07 +00:00
ryan
502a542d64 phpdoc for comment.php from darkdragon. fixes #5578
git-svn-id: http://svn.automattic.com/wordpress/trunk@6553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 20:03:42 +00:00
ryan
91586ebff4 Page walk fixes from hailin. fixes #5581
git-svn-id: http://svn.automattic.com/wordpress/trunk@6552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 19:55:17 +00:00
ryan
1ae1811dd0 Unused var cleanup. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 19:36:34 +00:00
ryan
d019a7b965 Don't bust table markup when switching between visual and html. Props mdawaffe. fixes #5577
git-svn-id: http://svn.automattic.com/wordpress/trunk@6547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 08:49:35 +00:00
ryan
e46b5e6bc2 Port autosave to jquery. Props rmccue. see #3824
git-svn-id: http://svn.automattic.com/wordpress/trunk@6546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 08:46:33 +00:00
matt
2073c22bbd Post screen improvements^H^H^H, er, changes. Will file tickets for todos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-03 08:03:29 +00:00
ryan
1d1c3cc6f5 phpdoc for cache.php from darkdragon. fixes #5511
git-svn-id: http://svn.automattic.com/wordpress/trunk@6543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-03 04:35:47 +00:00
matt
ae18e22598 New tag interface, tag auto-suggest while typing. Rough - suggest and parts of JS should probably be refactored. Hat tip: jhodgdon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-03 01:34:11 +00:00
matt
43c44fba24 Importing old version of dimension to compensate for older jQuery.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-02 23:44:08 +00:00
ryan
60220997a6 Fix cache close. see #5570
git-svn-id: http://svn.automattic.com/wordpress/trunk@6540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-02 23:03:25 +00:00
ryan
bc53152043 Remove persistent object cache. fixes #5570
git-svn-id: http://svn.automattic.com/wordpress/trunk@6539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-02 22:13:16 +00:00
ryan
8fa9b9fb76 Add separator location arg to wp_title. Props cpoteet. fixes #4407
git-svn-id: http://svn.automattic.com/wordpress/trunk@6538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-02 20:45:17 +00:00
ryan
0bc86efb8c set_post_type from filosofo. fixes #4844
git-svn-id: http://svn.automattic.com/wordpress/trunk@6537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-02 20:06:00 +00:00
westi
28e6daf192 Beautify. Fixes #5561 props fitztrev.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-02 18:21:19 +00:00
ryan
ee80716944 Properly close tags. Props ionfish. fixes #5568
git-svn-id: http://svn.automattic.com/wordpress/trunk@6535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-02 17:31:00 +00:00
ryan
99b6eff02c wp.getCommentCount from josephscott. fixes #5463
git-svn-id: http://svn.automattic.com/wordpress/trunk@6534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-01 18:40:39 +00:00
ryan
c30b0e1207 Localize calendar caption. Props takayukister. fixes #5562
git-svn-id: http://svn.automattic.com/wordpress/trunk@6533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-01 18:38:32 +00:00
ryan
8b64f70945 Defer comment counting. Props tellyworth. fixes #5557
git-svn-id: http://svn.automattic.com/wordpress/trunk@6532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-01 17:03:52 +00:00
ryan
6aafd77e36 Remove unneeded get_userdata call. Props DD32. see #5367
git-svn-id: http://svn.automattic.com/wordpress/trunk@6531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-31 23:39:02 +00:00
ryan
d13d567b22 Theme tagging from andy. fixes #5545
git-svn-id: http://svn.automattic.com/wordpress/trunk@6530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-31 18:39:43 +00:00
ryan
bed1da2844 Separate cookie generation from cookie set. Introduce wp_generate_auth_cookie(). see #5367
git-svn-id: http://svn.automattic.com/wordpress/trunk@6529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-31 17:50:32 +00:00
westi
bce8c48d72 Deprecate comments_rss and create_user.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 21:47:54 +00:00
westi
c04f475479 Better documentation for prep_atom_text_construct props darkdragon
git-svn-id: http://svn.automattic.com/wordpress/trunk@6516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 21:21:50 +00:00
westi
b53a070422 Better documentation for the_author props darkdragon
git-svn-id: http://svn.automattic.com/wordpress/trunk@6515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 21:19:44 +00:00
westi
d49cece4a3 Mark functions and files as deprecated. Fixes #4361 props docwhat and darkdragon
git-svn-id: http://svn.automattic.com/wordpress/trunk@6514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 21:17:42 +00:00
ryan
0c67d2a1c1 Prototype 1.6.0 and script.aculo.us 1.8.0. fixes #5543
git-svn-id: http://svn.automattic.com/wordpress/trunk@6512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 19:17:21 +00:00
ryan
f635599744 Use is_admin. Props markjaquith. see #5487
git-svn-id: http://svn.automattic.com/wordpress/trunk@6509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 01:04:17 +00:00
ryan
545e8a3e76 \s is not a valid escape sequence. Props xknown. fixes #5539
git-svn-id: http://svn.automattic.com/wordpress/trunk@6501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-27 08:09:31 +00:00
ryan
cfcb483cf7 phpdoc for comment-template.php from darkdragon. fixes #5528
git-svn-id: http://svn.automattic.com/wordpress/trunk@6495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-26 17:18:13 +00:00
ryan
bdf77c2b8d phpdoc for canonical.php from darkdragon. fixes #5526
git-svn-id: http://svn.automattic.com/wordpress/trunk@6494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-25 20:48:47 +00:00
ryan
09f2286a41 Some file level phpdoc from darkdragon. fixes #5527
git-svn-id: http://svn.automattic.com/wordpress/trunk@6493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-25 20:48:01 +00:00
ryan
7541abd7e5 Don't do hierarchical if includes specified. Props Kafkaesqui. fixes #5373 for 2.4
git-svn-id: http://svn.automattic.com/wordpress/trunk@6491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 21:24:03 +00:00
ryan
0da0bf3436 Fetch only post category terms in get_posts(). Props MichaelH. fixes #5317
git-svn-id: http://svn.automattic.com/wordpress/trunk@6490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 21:21:16 +00:00
westi
d1cdea8eb2 Avoid the 64bit dragons. Fixes #3780 props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 15:14:07 +00:00
ryan
63790db707 set_auth_cookie action. see #5367
git-svn-id: http://svn.automattic.com/wordpress/trunk@6486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 08:01:55 +00:00
westi
0a7a447555 Add file level documentation for compat.php. Fixes #5510 props darkdragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 07:18:41 +00:00
westi
efcd1eb5c5 Add file level documentation for template-loader.php. Fixes #5513 props darkdragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 07:09:36 +00:00
westi
30145d1a56 Add documentation for bookmark-template.php. Fixes #5521 props darkdragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 07:04:29 +00:00
westi
b867ab06a0 Add documentation for bookmark.php. Fixes #5523 props darkdragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 07:01:47 +00:00
westi
0671b6e5e1 Update @since information. Fixes #4393 props darkdragon
git-svn-id: http://svn.automattic.com/wordpress/trunk@6479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 06:57:34 +00:00
ryan
42d83376c9 Allow DB salt to be overridden by SECRET_SALT. Add a filter to wp_salt(). see #5367
git-svn-id: http://svn.automattic.com/wordpress/trunk@6478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 06:34:12 +00:00
ryan
03a9269b11 Don't fallback to DB info for secret key. Allow expiration grace period for AJAX requests. see #5367
git-svn-id: http://svn.automattic.com/wordpress/trunk@6471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-23 00:58:06 +00:00
ryan
e8241c6966 Show DB errors if WP_DEBUG and if installing. see #5473
git-svn-id: http://svn.automattic.com/wordpress/trunk@6469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-22 17:45:30 +00:00
ryan
e587cbafcc Throw pages into search queries. Let's see how they handle. see #5149
git-svn-id: http://svn.automattic.com/wordpress/trunk@6467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-22 08:19:10 +00:00
ryan
364e809c38 Don't block SET NAMES query. Props g30rg3x for the find. fixes #5503 for 2.4
git-svn-id: http://svn.automattic.com/wordpress/trunk@6464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-22 06:24:48 +00:00
ryan
10e8e7a53d Forgot this. see #5495
git-svn-id: http://svn.automattic.com/wordpress/trunk@6460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-21 19:54:46 +00:00
ryan
9563ccece0 Return after bailing since bail doesn't always die now. Don't do queries if constructor didn't complete. see #5495
git-svn-id: http://svn.automattic.com/wordpress/trunk@6459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-21 19:30:08 +00:00
ryan
40a7118dd5 Revert accidental bits.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-21 18:50:29 +00:00
ryan
131a6c0923 Page walker fixes from hailin. fixes #5498
git-svn-id: http://svn.automattic.com/wordpress/trunk@6456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-21 18:49:20 +00:00
ryan
3ab33265bc Remove debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@6452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-21 06:12:23 +00:00
ryan
d6e864abc2 Be more selective in what we make clickable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-21 03:14:22 +00:00
ryan
e8dc86950e Custom DB error page. fixes #5500 for 2.4
git-svn-id: http://svn.automattic.com/wordpress/trunk@6447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-21 02:53:57 +00:00
westi
33fffea3f3 Add file level phpdoc to external libraries we use. Fixes #5443 props darkdragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 22:28:54 +00:00
westi
71b2207ea3 Ensure we don't call exif_read_data() on unsupported file types. Fixes #5397 props DD32
git-svn-id: http://svn.automattic.com/wordpress/trunk@6438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 22:18:28 +00:00
westi
1f889417e5 Fix some of the notices visible with WP_DEBUG enabled.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 21:25:12 +00:00
westi
21d9604409 Fix query variable naming errors.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 20:59:53 +00:00
ryan
7f722d1f90 Use __ngettext() for plurals. Props darkdragon. see #4865
git-svn-id: http://svn.automattic.com/wordpress/trunk@6430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 17:05:06 +00:00
ryan
de5340b9f3 Set error if there is a problem connecting to the DB. Props skeltoac and Potter_System. fixes #5495
git-svn-id: http://svn.automattic.com/wordpress/trunk@6426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 02:10:09 +00:00
ryan
4f92b64b2e Update term counts when future posts are published. fixes #4913 #5488
git-svn-id: http://svn.automattic.com/wordpress/trunk@6425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 00:48:49 +00:00
ryan
5cb5750259 Don't create blank terms. Props ionfish and jhodgdon. fixes #5494
git-svn-id: http://svn.automattic.com/wordpress/trunk@6424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 23:25:11 +00:00
ryan
67b50add23 Rename file. see #4470
git-svn-id: http://svn.automattic.com/wordpress/trunk@6422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 22:46:02 +00:00
ryan
1f28d55ab3 Password strength meter from MellerTime. see #4470
git-svn-id: http://svn.automattic.com/wordpress/trunk@6419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 21:53:10 +00:00
ryan
4004a7cffa Fix previous/next links for slugs containing 'page'. Props xknown. fixes #5318
git-svn-id: http://svn.automattic.com/wordpress/trunk@6415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 19:27:14 +00:00
ryan
34780230f9 Fix id, self link and alternate link in Atom comment feeds. Props ionfish. fixes #5435
git-svn-id: http://svn.automattic.com/wordpress/trunk@6414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 18:25:22 +00:00
ryan
22fc69ea24 get_search_feed_link and get_search_comments_feed_link from ionfish. fixes #5442
git-svn-id: http://svn.automattic.com/wordpress/trunk@6413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 18:05:21 +00:00
ryan
f4b80af89a Better is_admin() check from filosofo and pishmishy. fixes #5487
git-svn-id: http://svn.automattic.com/wordpress/trunk@6412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 17:56:16 +00:00
ryan
40300b4632 Add a get_stylesheet_dir to sprintf in get_theme_mod. Props andy. fixes #5398
git-svn-id: http://svn.automattic.com/wordpress/trunk@6410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 17:47:06 +00:00
ryan
fdebf7ba34 Allows 0 titles when sanitizing. Props mdawaffe. fixes #5293
git-svn-id: http://svn.automattic.com/wordpress/trunk@6409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 17:45:50 +00:00
ryan
d958376904 language_attributes() improvements from ionfish. fixes #5393
git-svn-id: http://svn.automattic.com/wordpress/trunk@6408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 17:44:02 +00:00
westi
d7d770ef7c Don't create empty tags. Fixes #5412 props ionfish
git-svn-id: http://svn.automattic.com/wordpress/trunk@6407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 17:34:15 +00:00
ryan
f97604713a Fix tinymce valid elements configuration. Props linusmartensson. fixes #3826
git-svn-id: http://svn.automattic.com/wordpress/trunk@6405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-18 20:46:09 +00:00
ryan
49d8db4cbe redirect fixes from ruckus and tellyworth. fixes #5479
git-svn-id: http://svn.automattic.com/wordpress/trunk@6402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-18 05:28:44 +00:00
ryan
83ccac4372 unique filename fixes from tellyworth. fixes #5482
git-svn-id: http://svn.automattic.com/wordpress/trunk@6401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-18 03:32:43 +00:00
ryan
8a556e5e48 Fix AJAX cookie validation. see #5367
git-svn-id: http://svn.automattic.com/wordpress/trunk@6400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-17 21:12:28 +00:00
ryan
9bca1574ca wp_list_pages() no longer requires get_pages() to do a hierarchical sort. Set hierarchical to false. see #5458
git-svn-id: http://svn.automattic.com/wordpress/trunk@6399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-17 06:53:59 +00:00
ryan
c0d2060f82 Use generic page rewrite rules for compatible permalink strucures. see #3614
git-svn-id: http://svn.automattic.com/wordpress/trunk@6398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-17 06:29:30 +00:00
ryan
1d9a4211dc Accept array of pages for is_page(). Props azaozz. fixes #5430
git-svn-id: http://svn.automattic.com/wordpress/trunk@6397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-17 06:21:43 +00:00
ryan
9572687394 wp_set_password(). see #2394
git-svn-id: http://svn.automattic.com/wordpress/trunk@6396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-17 06:02:45 +00:00
ryan
26df2b24d1 author-template phpdoc from darkdragon. fixes #4393
git-svn-id: http://svn.automattic.com/wordpress/trunk@6395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 23:47:58 +00:00
ryan
0cbe2f0d84 Suppress display of DB error messages by default. Props filosofo. see #5473
git-svn-id: http://svn.automattic.com/wordpress/trunk@6391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 21:38:24 +00:00
ryan
e9c9b1fbf2 Import file attachments. Props tellyworth. fixes #5466
git-svn-id: http://svn.automattic.com/wordpress/trunk@6390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 21:34:48 +00:00
ryan
28f0d5bf06 Fix depth = 1 page traversal. Props hailin. fixes #5469
git-svn-id: http://svn.automattic.com/wordpress/trunk@6388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 20:31:44 +00:00
ryan
29ef8b6f5f New secure cookie protocol. see #5367
git-svn-id: http://svn.automattic.com/wordpress/trunk@6387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 17:41:59 +00:00
ryan
7b16e3616c Pluggable random password generator from pishmishy. fixes #5401
git-svn-id: http://svn.automattic.com/wordpress/trunk@6385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-15 05:31:16 +00:00
ryan
ce1ac877cf Faster page and cat walker. Props hailin. see #5458
git-svn-id: http://svn.automattic.com/wordpress/trunk@6384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-14 21:46:52 +00:00
ryan
8f6268e38b clean page cache when reparenting pages after deletion. Props hailin. fixes #5457
git-svn-id: http://svn.automattic.com/wordpress/trunk@6382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-14 20:56:55 +00:00
ryan
c4020242c2 Fix registration of multiple sidebars. Props watson. fixes #5352
git-svn-id: http://svn.automattic.com/wordpress/trunk@6381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-14 08:06:08 +00:00
ryan
2088cb4a1a Faster page_rows() from hailin. see #5303
git-svn-id: http://svn.automattic.com/wordpress/trunk@6380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-14 06:20:42 +00:00
ryan
c7198d281d post phpdoc from m0n5t3r and darkdragon. see #3982
git-svn-id: http://svn.automattic.com/wordpress/trunk@6379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-14 00:28:34 +00:00
ryan
6a27406096 Taxonomy phpdoc from darkdragon. fixes #4742
git-svn-id: http://svn.automattic.com/wordpress/trunk@6378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-14 00:25:39 +00:00
ryan
f0a47b7127 Query page attachments from page requests so that they can both use the same set of rewrite rules. see #3614
git-svn-id: http://svn.automattic.com/wordpress/trunk@6377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-12 11:45:55 +00:00
ryan
805e41198c Defer term counting during import. Props tellyworth. fixes #5377
git-svn-id: http://svn.automattic.com/wordpress/trunk@6376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-12 05:14:00 +00:00
westi
4c53026f96 Autosave tags as well. Fixes #5359 props sembee
git-svn-id: http://svn.automattic.com/wordpress/trunk@6373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-11 20:30:22 +00:00
matt
fa98e055e8 Revert [6368]. Fixes #5448, fixes #5247 by adding a new filter to hook in specifically to add attributes, rather than filtering the whole thing. Minor formatting cleanup of comments_popup_link.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-10 20:49:46 +00:00
ryan
dd17ae4da8 phpdoc for deprecated funcs. Props darkdragon. fixes #5444
git-svn-id: http://svn.automattic.com/wordpress/trunk@6370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-10 18:52:24 +00:00
ryan
8ef0bd232d Support atom threading. Props rubys. fixes #5434
git-svn-id: http://svn.automattic.com/wordpress/trunk@6369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-10 06:57:58 +00:00
ryan
c56489c18c comments_popup_link filter from joostdevalk. fixes #5247
git-svn-id: http://svn.automattic.com/wordpress/trunk@6368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-10 06:53:58 +00:00
westi
d26bff6a38 Remove triming from string options fixes #4781 props hakre
git-svn-id: http://svn.automattic.com/wordpress/trunk@6367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-09 11:49:25 +00:00
westi
43b212e86d Comment out the code that can't run so as to not confuse people.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-09 11:28:57 +00:00
ryan
83afcae858 New feed_link functions. Deprecate rss_link functions. Make default feed pluggable. Props rubys. see #5328
git-svn-id: http://svn.automattic.com/wordpress/trunk@6365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 19:58:15 +00:00
ryan
028a159440 Remove unused vars. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 19:49:33 +00:00
ryan
050ffefc43 Filter and action optimizations and phpdoc updates from darkdragon. fixes #5338
git-svn-id: http://svn.automattic.com/wordpress/trunk@6361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 05:56:38 +00:00
ryan
20d5aa5095 Remove executable property from files. Props lapcat. fixes #5408
git-svn-id: http://svn.automattic.com/wordpress/trunk@6360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-05 09:30:13 +00:00
ryan
524c32cad5 Refactor next_post_link, previous_post_link. props xknown. fixes #5411
git-svn-id: http://svn.automattic.com/wordpress/trunk@6359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-05 09:25:45 +00:00
ryan
0ad360cc00 Don't return all taxonomies for an object type of 0. Props tellyworth and nbachiyski. fixes #5417
git-svn-id: http://svn.automattic.com/wordpress/trunk@6355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-05 00:31:54 +00:00
ryan
95fe4f48bd Use correct var. Props DD32. fixes #5419
git-svn-id: http://svn.automattic.com/wordpress/trunk@6353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-04 23:59:16 +00:00
ryan
9a9521e01e Avoid unnecesary call to get_userdata in get_permalink function. Props xknown. fixes #5414
git-svn-id: http://svn.automattic.com/wordpress/trunk@6352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-04 00:40:00 +00:00
ryan
7c033fd82c Don't save page and attachemtn uris to page_uris and page_attachment_uris. This is not needed. Add an option to use wildcard page rewrite rules instead of per-page rules. see #3614
git-svn-id: http://svn.automattic.com/wordpress/trunk@6351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-04 00:19:10 +00:00
ryan
07e337adcf Hash passwords with phpass. Add wp_check_pasword() and wp_hash_password() functions. Props pishmishy. see #2394
git-svn-id: http://svn.automattic.com/wordpress/trunk@6350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-02 05:14:11 +00:00
ryan
5c07742cd3 Remove old comment_count_cache variable. It's dead.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-29 05:03:25 +00:00
ryan
43b7cd700f get_user_by_email() and some user caching cleanups. fixes #5392
git-svn-id: http://svn.automattic.com/wordpress/trunk@6346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-27 22:14:53 +00:00
ryan
596dc0ac87 Use 'Log in' instead of 'Login' for verb form. Props doug. see #5296
git-svn-id: http://svn.automattic.com/wordpress/trunk@6343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-26 21:40:00 +00:00
ryan
a76484d2d1 Debug backtrace for queries. Props tellyworth. fixes #5218
git-svn-id: http://svn.automattic.com/wordpress/trunk@6342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-21 00:14:58 +00:00
ryan
bbc8fa3b14 Do two sets of filters on posts query. First set is used by regular plugins, second by caching plugins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-18 19:36:30 +00:00
westi
15f67c97f9 Actually return a url if SSL is not supported! Relates to #5298
git-svn-id: http://svn.automattic.com/wordpress/trunk@6340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-17 11:27:01 +00:00
westi
b296c5f19e Ensure that we offer https access to atom if it is available. Fixes #5298 props rubys.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-17 11:21:34 +00:00
ryan
ab845b0000 Move posts_selection action to after post_limits filter.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-17 00:04:19 +00:00
ryan
b51a0cb0f8 Update page on front settings when deleting the page on front. Props hailin. fixes #5361
git-svn-id: http://svn.automattic.com/wordpress/trunk@6337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-16 17:39:15 +00:00
ryan
e531ad04c4 Add switch_theme(). Cache current theme in options to avoid calling get_themes(). fixes #5346
git-svn-id: http://svn.automattic.com/wordpress/trunk@6334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-13 05:07:44 +00:00
ryan
3ca284f9e3 Eliminate warnings in convert_smilies. Props tellyworth. fixes #5340
git-svn-id: http://svn.automattic.com/wordpress/trunk@6331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-12 19:33:06 +00:00
ryan
df08604882 Remove unused variable. Props epper. fixes #5339
git-svn-id: http://svn.automattic.com/wordpress/trunk@6330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-12 19:31:49 +00:00
ryan
fc31e5395b phpdoc for get_category_feed_link(). see #5173
git-svn-id: http://svn.automattic.com/wordpress/trunk@6328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-09 20:31:24 +00:00
ryan
17b0fbab7a get_category_feed_link() from ionfish. fixes #5173
git-svn-id: http://svn.automattic.com/wordpress/trunk@6327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-09 20:12:04 +00:00
ryan
8689aef969 Make term slug unique when moving to another parent.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-09 18:34:41 +00:00
ryan
0eaad56717 Change 'all' hook calling. Bring filters and actions back into one array for back-compat. see #5231
git-svn-id: http://svn.automattic.com/wordpress/trunk@6324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-08 01:05:43 +00:00
ryan
1ea72d5996 Don't run sanitize_title on IDs in new widgets API to avoid performance overhead. fixes #5326
git-svn-id: http://svn.automattic.com/wordpress/trunk@6323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-08 00:56:54 +00:00
ryan
964c6c72c1 Skip sanitization altogether for raw context. Props Quandary. fixes #5325
git-svn-id: http://svn.automattic.com/wordpress/trunk@6321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-07 06:20:08 +00:00
ryan
1e320a469e has_action and has_filter. see #5231
git-svn-id: http://svn.automattic.com/wordpress/trunk@6320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-07 04:30:11 +00:00
ryan
902cc8e985 Add missing type arg on call to _wp_filter_build_unique_id(). see #5231
git-svn-id: http://svn.automattic.com/wordpress/trunk@6319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-06 21:39:22 +00:00
ryan
0e63de02ca current_fiter() from tellyworth. fixes #5232
git-svn-id: http://svn.automattic.com/wordpress/trunk@6318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-06 21:38:04 +00:00
ryan
07806ed56a Separate action and filter arrays. Get rid of filter merging. fixes #5231
git-svn-id: http://svn.automattic.com/wordpress/trunk@6316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-06 18:31:43 +00:00
ryan
35899c1201 Back out some changes from #5181. Props rubys. fixes #5307
git-svn-id: http://svn.automattic.com/wordpress/trunk@6315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-06 18:23:16 +00:00
ryan
d10f9a825d Improve performance of seems_utf8() and uf8_uri_encode(). fixes #5320
git-svn-id: http://svn.automattic.com/wordpress/trunk@6314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-05 17:13:43 +00:00
ryan
6f761b1ef3 Update awaiting moderation count when comments are moderated through AJAX. Props mdawaffe. fixes #5315
git-svn-id: http://svn.automattic.com/wordpress/trunk@6312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-04 06:23:03 +00:00
ryan
ad563a953f Fix raw context filtering for terms. see #5253
git-svn-id: http://svn.automattic.com/wordpress/trunk@6311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-03 19:06:43 +00:00
ryan
a2e0f3352f Disambiguate columns. Props lawrence123. fixes #5256
git-svn-id: http://svn.automattic.com/wordpress/trunk@6310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-03 19:00:33 +00:00
westi
3d04ae4f29 Refactor of wp-admin/includes/image.php. Fixes #5312, #4151, #4709, #5304 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-03 18:33:19 +00:00
ryan
43bb491419 Cache get_terms queries that return nothing.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-02 04:31:44 +00:00
ryan
52934a6cee Fix comment typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@6306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-02 00:58:15 +00:00
ryan
c148b6ce78 Make sure ID is set for later update() calls.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-02 00:47:04 +00:00
ryan
fbbbfb9a48 Typo fix from DD32. Fixes uploads. fixes #5302
git-svn-id: http://svn.automattic.com/wordpress/trunk@6304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-01 16:20:16 +00:00
ryan
f831731601 JS/AJAX form validation from mdawaffe. fixes #5299
git-svn-id: http://svn.automattic.com/wordpress/trunk@6303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-01 06:23:16 +00:00
ryan
b982559380 Save user registration time. Props mdawaffe. fixes #5300
git-svn-id: http://svn.automattic.com/wordpress/trunk@6302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-01 05:49:23 +00:00
ryan
d9bba52a5f Post timezone to lastpost filters. Props mdawaffe. fixes #5292
git-svn-id: http://svn.automattic.com/wordpress/trunk@6301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-31 16:59:05 +00:00
ryan
d85d86db03 wpdb::set_prefix(). fixes #5287
git-svn-id: http://svn.automattic.com/wordpress/trunk@6300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-31 03:59:18 +00:00
ryan
1d0bf72d2f AJAX for link category add and delete. Props mdawaffe. fixes #5291
git-svn-id: http://svn.automattic.com/wordpress/trunk@6299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-31 03:53:32 +00:00
westi
bccb7897d7 Add documentation for wp_version_check(). Fixes #5233 props darkdragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-30 21:40:30 +00:00
ryan
e236161cf9 wp_get_archives caching. fixes #5275
git-svn-id: http://svn.automattic.com/wordpress/trunk@6296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-30 06:03:11 +00:00
ryan
b906aa0e86 Add is_wp_error check
git-svn-id: http://svn.automattic.com/wordpress/trunk@6295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-28 21:33:03 +00:00
ryan
b4cdc4435d Strip term name and description before preparing for DB.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-26 19:44:57 +00:00
ryan
58d174004e Pass literal strings not vars to compact.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-25 07:15:02 +00:00
ryan
85078df8c7 Update clean_object_term_cache() to clear for each taxonomy
git-svn-id: http://svn.automattic.com/wordpress/trunk@6288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-24 17:07:04 +00:00
ryan
1920dc0390 Post filter fixes from mdawaffe. fixes #5249
git-svn-id: http://svn.automattic.com/wordpress/trunk@6287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-23 23:02:24 +00:00
ryan
9db4d2042e Separate taxonomy relationships into separate cache buckets.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-23 20:33:50 +00:00
ryan
6e7729018e Remove unnecessary GROUP BY when getting max term_group. Props michelwp. fixes #5240
git-svn-id: http://svn.automattic.com/wordpress/trunk@6285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-23 16:43:15 +00:00
ryan
0474421643 Add option for ordering retrieved terms by slug or term_group. Props michelwp. fixes #5245
git-svn-id: http://svn.automattic.com/wordpress/trunk@6284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-23 16:39:03 +00:00
ryan
6566f35303 get_row() not fetch_row(). Props michelwp. fixes #5230
git-svn-id: http://svn.automattic.com/wordpress/trunk@6283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-23 16:36:08 +00:00
ryan
a76f648e22 taxonomy phpdoc updates from darkdragon. see #4742
git-svn-id: http://svn.automattic.com/wordpress/trunk@6282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-21 17:18:24 +00:00
westi
c75ec2b48a Add atom:self link to rss2 feeds per RSS Best Practices Profile. Fixes #5205 props lexhair and rubys.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-20 10:35:44 +00:00
ryan
babd1e1a7f phpdoc for plugin API. Props darkdragon. fixes #5225
git-svn-id: http://svn.automattic.com/wordpress/trunk@6276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-19 17:45:08 +00:00
westi
5fb4d6ab00 Use a for loop where it's more appropriate. Fixes #5234 props darkdragon and DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-19 16:32:56 +00:00
westi
5e0cf58bfb Add @since to the new phpdoc relates #5181 and [6273]
git-svn-id: http://svn.automattic.com/wordpress/trunk@6274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-19 16:27:09 +00:00
westi
4c7bfb6a4f Refactor atom support to share code. Fixes #5181 props rubys
git-svn-id: http://svn.automattic.com/wordpress/trunk@6273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-19 15:42:30 +00:00
ryan
6edc7aed5c Catch WP_Error. Props tellyworth. fixes #5226
git-svn-id: http://svn.automattic.com/wordpress/trunk@6271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-18 15:55:15 +00:00
markjaquith
d395d55a0e Stripslashes tag names to prevent double slashing in wp_insert_term(). fixes #5202
git-svn-id: http://svn.automattic.com/wordpress/trunk@6267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-17 20:41:43 +00:00
westi
9ef11d81bd Set the Sender on emails as well as from. Fixes #5007 for trunk props mattyrob
git-svn-id: http://svn.automattic.com/wordpress/trunk@6265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-17 20:17:01 +00:00
markjaquith
875424adae Explicitly exclude previews from canonicalization. fixes #5203 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-17 20:14:38 +00:00
ryan
38a3758570 Remove refs to old, dead caches.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-17 17:37:21 +00:00
ryan
9c6dc8f1be More taxonomy phpdoc from darkdragon. see #4742
git-svn-id: http://svn.automattic.com/wordpress/trunk@6254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-15 22:49:31 +00:00
ryan
0e0ebbba23 Move all page and post caches to 'posts' cache group.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-15 20:11:30 +00:00
westi
1eb4758157 Fix typo in call to $wpdb->update. Fixes #5206 props zamoose
git-svn-id: http://svn.automattic.com/wordpress/trunk@6251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-15 20:07:29 +00:00
ryan
20f655d83b Kill unused var.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-14 09:38:12 +00:00
ryan
808cd79992 Just cache the is_blog_installed value. If the options table goes away while the value is still cached, oh well. Very edge-case.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-14 07:57:56 +00:00
ryan
363eae9d76 Add some clean cache hooks
git-svn-id: http://svn.automattic.com/wordpress/trunk@6248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-14 04:55:33 +00:00
ryan
bd5d107814 Allow single post ID and comma delimited list of post IDs to be passed to update_postmeta_cache(). Fix default cache to allow storage of empty array. see #5194
git-svn-id: http://svn.automattic.com/wordpress/trunk@6247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-14 01:08:07 +00:00
ryan
24af93e9c0 If checking for term within taxonomy, just do the taxonomy specific query. Saves one query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 19:04:39 +00:00
ryan
befa8f0f11 Eliminate extra query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 18:53:28 +00:00
ryan
16411f9c7b Set global is_blog_installed flag so we don't query the DB more than once per load.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 18:39:28 +00:00
ryan
a8d380c32c Eliminate object_term_cache array. see #5182
git-svn-id: http://svn.automattic.com/wordpress/trunk@6243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 18:23:59 +00:00
markjaquith
4a43a0b353 Some foreach array casting
git-svn-id: http://svn.automattic.com/wordpress/trunk@6242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 05:33:39 +00:00
markjaquith
6f0cbc16a8 prepare(), insert(), update() for wp-includes/ taxonomy.php, rss.php, registration.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@6241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 03:51:11 +00:00
markjaquith
14c3ea37ca Forget about 4th update() param -- only accept named array. Roll out more insert()/update() and various cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 02:36:38 +00:00
markjaquith
f18e02b0f0 Allow wpdb->update() to optionally take a named array of where column/value pairs (which will be ANDed)
git-svn-id: http://svn.automattic.com/wordpress/trunk@6239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 01:44:25 +00:00
markjaquith
1d883e1b9c Remove redundant "db_" from db_insert() and db_update() methods. Now just insert() and update(). see #5178
git-svn-id: http://svn.automattic.com/wordpress/trunk@6238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 00:54:26 +00:00
markjaquith
05e68a8676 More use of db_insert()/db_update(). see #5178
git-svn-id: http://svn.automattic.com/wordpress/trunk@6237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 00:48:52 +00:00
markjaquith
596db96326 Oops, within the class here.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 00:45:34 +00:00
ryan
42fee85546 Fix category assigment during link import. fixes #5107 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-12 21:47:34 +00:00
ryan
62d3a12280 Eliminate , , and . see #5182
git-svn-id: http://svn.automattic.com/wordpress/trunk@6229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-12 21:12:34 +00:00
westi
714742b70e Add is_page_template() function to allow theme developers to detect that they are is a page template. Fixes #3335
git-svn-id: http://svn.automattic.com/wordpress/trunk@6228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-12 20:01:16 +00:00
westi
cd8dcf0046 Translation fix for wp_tag_cloud(). Fixes #5131 props webrocker
git-svn-id: http://svn.automattic.com/wordpress/trunk@6227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-12 19:49:25 +00:00
ryan
c674a475d7 Use inner joins instead of left joins for taxonomy. Inner is faster. fixes #5179
git-svn-id: http://svn.automattic.com/wordpress/trunk@6224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-11 17:43:49 +00:00
markjaquith
a30ed0ded5 Code cleanup and standardization for functions.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@6223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-11 05:46:57 +00:00
markjaquith
c23352bedf Introducing absint() for casting to an absolute integer. see #4762
git-svn-id: http://svn.automattic.com/wordpress/trunk@6222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-10 22:11:18 +00:00
markjaquith
c5f9186919 Introducing db_insert() and db_update(), with immediate usage in wp_insert_post(). fixes #5178
git-svn-id: http://svn.automattic.com/wordpress/trunk@6221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-10 22:01:40 +00:00
markjaquith
dec5db7586 check for a match against a lowercase host in wp_safe_redirect(). props BoltClock. fixes #5114 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-10 19:25:23 +00:00
ryan
40a2a02cb1 Output localized strings before outputting js. Props mdawaffe. fixes #5177 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-10 18:51:12 +00:00
markjaquith
90da0b6561 Revert partial prepare() implementation. Needs to be all or nothing. Props xknown. fixes #5145
git-svn-id: http://svn.automattic.com/wordpress/trunk@6216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 23:16:35 +00:00
ryan
44ca974c27 jquery for list manipulation. Round one, fight. Props mdawaffe. fixes #4805
git-svn-id: http://svn.automattic.com/wordpress/trunk@6214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 22:51:25 +00:00
ryan
f8afc0b75d jquery for list manipulation. Round one, fight. Props mdawaffe. fixes #4805
git-svn-id: http://svn.automattic.com/wordpress/trunk@6213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 22:49:42 +00:00
ryan
a8ede71d87 Force prototype to load before jquery. Props mdawaffe. fixes #5067 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 21:04:26 +00:00
markjaquith
60cde1b789 use type="text/javascript", not lang="javascript". Props dsiemon. fixes #5168
git-svn-id: http://svn.automattic.com/wordpress/trunk@6207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 04:13:36 +00:00
ryan
b8febc8501 Apply filteres when returning empty array from get_pages. Props epper. fixes #4712 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-08 22:25:33 +00:00
westi
8ff0a0659a Move the WLW manifest related files to have proper WordPress naming scheme.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-08 20:21:29 +00:00
westi
395fd9fc29 Define $constaint is all cases in get_attachment_icon() to fix E_NOTICE. Fixed #5159 props richcon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-07 07:35:20 +00:00
westi
f6234acb5d Add documentation of _wp_filter_build_unique_id(). Fixed #5053 props darkdragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-07 07:31:14 +00:00
westi
e026d1dfa2 Move all calls to mysql_ functions to withiWPDB so that t we don't expect any mysql stuff when we are using a custo$wpdb class. Fixes #5127
props ComputerGuru.


git-svn-id: http://svn.automattic.com/wordpress/trunk@6199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-06 08:40:54 +00:00
westi
61f8b8f569 Move database class loading to a shared function to ensure all of WordPress is wp-content/wp-db.php aware. Fixes #5128 props ComputerGuru.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-06 08:18:33 +00:00
westi
e9cfb43133 Centralise generator generation, move theme generator generation to wp-head hook. Fixes #5085, #4803. props docwhat, Viper007Bond.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-06 06:55:24 +00:00
ryan
60fdc763b6 WLW manifest from josephscott. fixes #5023 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-05 17:29:34 +00:00
ryan
7f61116c5b Add some spacing. fixes #5137 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-05 16:27:48 +00:00
ryan
fe60a3ab06 New taxonomy intersection queries from xknown. fixes #5137
git-svn-id: http://svn.automattic.com/wordpress/trunk@6186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-04 18:10:03 +00:00
ryan
3211ab1d54 Add page sanitization. Props xknown. fixes #5135 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-03 16:27:07 +00:00
ryan
5300ef20cf Add sanitize_url. Don't convert ampersands in URLs when saving to DB. fixes #4411 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-03 16:16:55 +00:00
markjaquith
21c25b5566 prepare() for wp-includes/ link-template.php, post.php, general-template.php, pluggable.php, functions.php. see #4553
git-svn-id: http://svn.automattic.com/wordpress/trunk@6180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-02 18:45:47 +00:00
westi
0b23746c72 We're working on bleeding edge 2.4 stuff now
git-svn-id: http://svn.automattic.com/wordpress/trunk@6177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-29 10:56:53 +00:00
markjaquith
47955b3fae prepare() for wp-includes/ bookmark.php, canonical.php, comment.php, comment-template.php. see #4553
git-svn-id: http://svn.automattic.com/wordpress/trunk@6173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-27 07:34:15 +00:00
ryan
649cff7dc2 Fix typo in category widget class name. Props joostdevalk. fixes #5079 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-26 16:12:28 +00:00
matt
15372a22b6 bumpity
git-svn-id: http://svn.automattic.com/wordpress/trunk@6164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-25 00:34:43 +00:00
ryan
a48973211c Fix typo. fixes #5061
git-svn-id: http://svn.automattic.com/wordpress/trunk@6161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-24 01:48:36 +00:00
ryan
8d349aa85c Add some filtering. Props jhodgdon. fixes #3595
git-svn-id: http://svn.automattic.com/wordpress/trunk@6160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-23 19:25:15 +00:00