Commit Graph

4942 Commits

Author SHA1 Message Date
ryan
a240e226fb Sanitize when querying against category name so that multiple-word subcategories match. props filosofo. fixes #8619
git-svn-id: http://svn.automattic.com/wordpress/trunk@11121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-29 16:25:33 +00:00
azaozz
5a922af756 Don't concatenate scripts when SCRIPT_DEBUG is set, fixes #9675
git-svn-id: http://svn.automattic.com/wordpress/trunk@11119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-29 06:25:49 +00:00
azaozz
6d535ce0c2 Load the menu folded (if set), load the editor earlier
git-svn-id: http://svn.automattic.com/wordpress/trunk@11118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-29 05:43:03 +00:00
ryan
7eaed7cc08 get_term_children phpdoc and var naming improvements. Props simonwheatley. fixes #9667
git-svn-id: http://svn.automattic.com/wordpress/trunk@11115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 19:49:21 +00:00
ryan
f7c30e87eb Pass post ID to the_title filter. Props DD32. see #5746 #9666
git-svn-id: http://svn.automattic.com/wordpress/trunk@11112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 17:40:49 +00:00
ryan
e7f2b40dd7 protected_title_format and private_title_format. Props anderswc. fixes #8918
git-svn-id: http://svn.automattic.com/wordpress/trunk@11111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 17:36:10 +00:00
ryan
2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan
430a8cb2cf Limit get_lastpost* functions to post_type=post. Props Denis-de-Bernardy. fixes #9636
git-svn-id: http://svn.automattic.com/wordpress/trunk@11108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:42:30 +00:00
ryan
c85db8e8d7 Don't show password protected posts in searches for non-logged in users. Props coffee2code. fixes #9559
git-svn-id: http://svn.automattic.com/wordpress/trunk@11106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 00:05:43 +00:00
azaozz
9ef71cac7e Fix Paste from Word button in TinyMCE
git-svn-id: http://svn.automattic.com/wordpress/trunk@11105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 23:19:23 +00:00
ryan
2249c69021 attr(), _a(), _ea(), _xa() for shorthand attribute escaping. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 21:58:04 +00:00
ryan
8cd2e92b69 Clarify add endpoint phpdoc. Props Denis-de-Bernardy. fixes #9476
git-svn-id: http://svn.automattic.com/wordpress/trunk@11102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 21:11:01 +00:00
ryan
036a36a7e8 Add redirect param to wp_loginout(). Props Denis-de-Bernardy. fixes #9241
git-svn-id: http://svn.automattic.com/wordpress/trunk@11101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 20:00:59 +00:00
ryan
f52d1dd2b0 Eliminate preg_replace with /e. Props tbaboon. fixes #8689
git-svn-id: http://svn.automattic.com/wordpress/trunk@11098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 16:17:24 +00:00
ryan
63c40f644d Remove call-time pass-by-ref. Props jbsil. see #9651
git-svn-id: http://svn.automattic.com/wordpress/trunk@11097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 16:09:49 +00:00
azaozz
4e975cf400 Add hooks to WP_Widget, props ceenz, fixes #9651, see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@11095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 10:56:29 +00:00
azaozz
e1dbca4f8a Move Tag Cloud widget to WP_Widget, see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@11094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 09:28:57 +00:00
azaozz
7ee6f89719 Move RSS widget to WP_Widget, see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@11093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 08:46:47 +00:00
ryan
f2f9eafc26 phpdoc udpates and error checks for http. Props DD32. fixes #8620
git-svn-id: http://svn.automattic.com/wordpress/trunk@11091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-26 23:54:59 +00:00
azaozz
15588b4080 Move recent comments widget to WP_Widget, extend is_active_widget() to use $id_base, see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@11090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-26 20:09:08 +00:00
azaozz
84f5771dfa Fix conversion of old widget settings for Recent Posts, see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@11088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-26 05:34:06 +00:00
azaozz
143b92ded9 Move recent posts widget to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@11087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-25 12:43:51 +00:00
azaozz
a4207b955e Fix category__not_in and tag__not_in running empty, props coffee2code, fixes #9645
git-svn-id: http://svn.automattic.com/wordpress/trunk@11086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-25 07:48:17 +00:00
ryan
1d7265b4b2 Revert [10956]. fixes #9643 see #8619
git-svn-id: http://svn.automattic.com/wordpress/trunk@11085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-25 00:01:05 +00:00
ryan
a8513a8a37 Fix 'Only variable references should be returned by reference' notices
git-svn-id: http://svn.automattic.com/wordpress/trunk@11083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-24 23:43:32 +00:00
ryan
7651b29cb9 Silence html_entity_decode warnings. Props Denis-de-Bernardy. fixes #9616
git-svn-id: http://svn.automattic.com/wordpress/trunk@11081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-24 16:57:27 +00:00
azaozz
fc0c1a2e1b TinyMCE 3.2.3 final, includes new Paste plugin with auto-cleanup (better paste from MS Word)
git-svn-id: http://svn.automattic.com/wordpress/trunk@11078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-24 15:26:00 +00:00
azaozz
e1922c01b6 Upgrade widget options only from admin, props ryan, fixes #9629
git-svn-id: http://svn.automattic.com/wordpress/trunk@11074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-24 06:27:06 +00:00
azaozz
4f250c27cf Remove slash from plugin_basename(), props alexrabe, fixes #9561
git-svn-id: http://svn.automattic.com/wordpress/trunk@11072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-23 21:45:38 +00:00
ryan
267f508f2f Add wp_unique_post_slug(). Apply it when getting sample permalinks. Props nbachiyski. fixes #6595
git-svn-id: http://svn.automattic.com/wordpress/trunk@11071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-23 20:21:18 +00:00
azaozz
9c1c3f7eda Add <col> to list of block elements, props CharlieHamu and Denis-de-Bernardy, fixes #9484
git-svn-id: http://svn.automattic.com/wordpress/trunk@11070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-23 08:28:22 +00:00
azaozz
8682f79e6a Make plugin_dir() and plugin_basename() work for mu-plugins directory, props Denis-de-Bernardy, fixes #9561
git-svn-id: http://svn.automattic.com/wordpress/trunk@11069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-23 08:16:06 +00:00
ryan
91a3c4bbf4 Clarify args to wp_update_term(). Props simonwheatley, johnbillion. fixes #9293
git-svn-id: http://svn.automattic.com/wordpress/trunk@11068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-23 08:05:36 +00:00
ryan
90d7c33579 Return empty list if requests bookmark category does not exist. Props Viper007Bond. fixes #7507
git-svn-id: http://svn.automattic.com/wordpress/trunk@11064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-23 05:39:33 +00:00
ryan
4789a46bfe Formatting cleanups. Props Viper007Bond. fixes #8703
git-svn-id: http://svn.automattic.com/wordpress/trunk@11062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 22:56:52 +00:00
ryan
7fd61e13df Always display the default header when previewing a theme. Props Viper007Bond. fixes #9152
git-svn-id: http://svn.automattic.com/wordpress/trunk@11061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 22:32:35 +00:00
ryan
d90ba6085f Add comment-reply-login class. Props mattwalters. fixes #8633
git-svn-id: http://svn.automattic.com/wordpress/trunk@11060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 21:27:07 +00:00
ryan
07cc34e882 Fix wp_nonce_ays() go back link. fixes #7436
git-svn-id: http://svn.automattic.com/wordpress/trunk@11059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 21:08:19 +00:00
azaozz
d467c7522a Queue all default scripts for the head when a custom script lists them as dependencies, fixes #9620
git-svn-id: http://svn.automattic.com/wordpress/trunk@11058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 21:01:36 +00:00
ryan
6db7e7fbc5 Don't notify post author of own comments. Props Denis-de-Bernardy. fixes #8695
git-svn-id: http://svn.automattic.com/wordpress/trunk@11057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 20:55:04 +00:00
ryan
371b5a8f55 Add page-id-x class to body for pages. jamescollins. see #7939
git-svn-id: http://svn.automattic.com/wordpress/trunk@11054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 17:46:51 +00:00
ryan
64091e195f Faster query to see if page has children
git-svn-id: http://svn.automattic.com/wordpress/trunk@11053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 17:45:20 +00:00
azaozz
8d96798043 wordcount.js fix for nbsp passed as #160 char, props Denis-de-Bernardy, fixes #9597
git-svn-id: http://svn.automattic.com/wordpress/trunk@11050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 09:29:43 +00:00
azaozz
a4bfe6e799 Add a complementary get_* function for posts_nav_link(), props filosofo, fixes #9094
git-svn-id: http://svn.automattic.com/wordpress/trunk@11049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 08:44:37 +00:00
azaozz
3321ea5ec8 Don't output <br /> for empty posts, props Denis-de-Bernardy, fixes #6128
git-svn-id: http://svn.automattic.com/wordpress/trunk@11048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 07:37:24 +00:00
azaozz
e534d003a2 Optionally use the class name as id_base, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@11045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 04:01:20 +00:00
ryan
9f82f611da get_terms_orderby, get_terms_fields, and tag_clooud-sort filters. Props jhodgdon, filosofo. fixes #9004
git-svn-id: http://svn.automattic.com/wordpress/trunk@11037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-21 22:13:44 +00:00
ryan
35e6b4c698 Wrap get_user_by() in function_exists check. Props alexrabe. fixes #9617
git-svn-id: http://svn.automattic.com/wordpress/trunk@11033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-21 20:27:22 +00:00
ryan
bd5457487a Fix typing in cat_is_ancestor_of(). Props filosofo. fixes #9614
git-svn-id: http://svn.automattic.com/wordpress/trunk@11031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-21 19:42:28 +00:00
ryan
1af5709771 Handle upgrade of old text widgets. Props Denis-de-Bernardy. fixes #9608
git-svn-id: http://svn.automattic.com/wordpress/trunk@11030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-21 19:40:20 +00:00
ryan
6843183228 Eliminate unecessary preg_replace. Props bernzilla, Denis-de-Bernardy. fixes #5624
git-svn-id: http://svn.automattic.com/wordpress/trunk@11024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 22:15:14 +00:00
ryan
bfe4032208 Allow pipes through clean_url(). Props scohoust. fixes #7145
git-svn-id: http://svn.automattic.com/wordpress/trunk@11023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 22:02:17 +00:00
ryan
e511111837 Fix warning in wp_ob_end_flush_all(). Props richcon. fixes #5109
git-svn-id: http://svn.automattic.com/wordpress/trunk@11020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 20:35:31 +00:00
ryan
b692a1f322 Cast to array to fix warning. Props johnkolbert, Denis-de-Bernardy. fixes #9128
git-svn-id: http://svn.automattic.com/wordpress/trunk@11019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 20:03:20 +00:00
ryan
3d15f1aad4 Add option to run wpautop for text widget. Props Denis-de-Bernardy. fixes #5113
git-svn-id: http://svn.automattic.com/wordpress/trunk@11018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 19:59:46 +00:00
ryan
728943945e Fix PHP error in magpie. Props jsixpack. fixes #9225
git-svn-id: http://svn.automattic.com/wordpress/trunk@11016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 19:37:29 +00:00
ryan
d24d57abd0 Update Jcrop to 0.9.8. Props nbachiyski. fixes #9545
git-svn-id: http://svn.automattic.com/wordpress/trunk@11015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 19:34:27 +00:00
ryan
a61bc0ec8a Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@11013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 18:18:39 +00:00
ryan
67533a8584 Add some CYA clean_url()s
git-svn-id: http://svn.automattic.com/wordpress/trunk@11011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 17:46:46 +00:00
azaozz
0200501698 Add and edit widget when js is disabled, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@11009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 10:58:50 +00:00
ryan
a6dd527f4e Make user_nicenames unique. Props Denis-de-Bernardy. fixes #1626
git-svn-id: http://svn.automattic.com/wordpress/trunk@10997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-18 23:21:20 +00:00
azaozz
86645292ff TinyMCE 3.2.2.3_1087 fixes WebKit bug in Sizzle.js among others
git-svn-id: http://svn.automattic.com/wordpress/trunk@10994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 22:43:57 +00:00
ryan
4956e5d453 Cache user lookups made by nicename. Add get_user_by(). fixes #4170
git-svn-id: http://svn.automattic.com/wordpress/trunk@10992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 21:25:11 +00:00
ryan
bc7bcfbd79 Fix unregister_widget(). see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 20:45:33 +00:00
ryan
5275d71c22 make_clickable() regex fixes. Props piouPiouM. fixes #9390
git-svn-id: http://svn.automattic.com/wordpress/trunk@10989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 16:51:53 +00:00
azaozz
3650836f09 Submit the form when setting items per page option so it's visible straight away
git-svn-id: http://svn.automattic.com/wordpress/trunk@10987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 12:46:53 +00:00
ryan
2724d67ab9 Add comments_atom_head action. Props neoxx, Denis-de-Bernardy. fixes #6186
git-svn-id: http://svn.automattic.com/wordpress/trunk@10984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 07:09:06 +00:00
ryan
2903685c95 Add url filters. Props coffee2code. see #7709
git-svn-id: http://svn.automattic.com/wordpress/trunk@10983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 07:05:41 +00:00
ryan
4754d22576 Use comments_open() and pings_open(). Props coffee2code. fixes #9557
git-svn-id: http://svn.automattic.com/wordpress/trunk@10982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 07:02:55 +00:00
ryan
3804199e9b Add wp_trim_excerpt filter. Props coffee2code. fixes #9558
git-svn-id: http://svn.automattic.com/wordpress/trunk@10981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 06:59:33 +00:00
ryan
b66bda65e4 unregister_widget(). see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 05:54:07 +00:00
markjaquith
c64513ba22 Dots in post slugs should be dashed, not dropped. props Denis-de-Bernardy. fixes #9489
git-svn-id: http://svn.automattic.com/wordpress/trunk@10977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 03:28:55 +00:00
markjaquith
9f5a39d759 Clean up is_blog_installed(), remove redundant or unnecessary code. see #8947
git-svn-id: http://svn.automattic.com/wordpress/trunk@10974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 01:43:53 +00:00
azaozz
14bd87615e Spaced hyphens into spaced dashes, props ionfish, fixes #8161
git-svn-id: http://svn.automattic.com/wordpress/trunk@10973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 01:38:52 +00:00
azaozz
72456bcdbf Don't use get_catname() (deprecated), props filosofo, see #9550
git-svn-id: http://svn.automattic.com/wordpress/trunk@10972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 01:11:31 +00:00
ryan
6c8badc7c7 Fix handling of old timestamps in wp_reschedule_event(). Props natethelen. fixes #9318
git-svn-id: http://svn.automattic.com/wordpress/trunk@10969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 00:23:48 +00:00
ryan
1a0ce2d2b3 Fix headers array processing for wp_mail(). Props gortsleigh. fixes #9284
git-svn-id: http://svn.automattic.com/wordpress/trunk@10967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 00:06:18 +00:00
ryan
2a35127359 Create default taxonomies upon init. Props nbachiyski. fixes #9399
git-svn-id: http://svn.automattic.com/wordpress/trunk@10965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 23:17:49 +00:00
ryan
59ddc91736 Clarify phpdoc for wp_set_object_terms(). Props simonwheatley. fixes #9348
git-svn-id: http://svn.automattic.com/wordpress/trunk@10963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 22:19:01 +00:00
ryan
58aec06ad9 Add comment-body class. Props docwhat. fixes #9301
git-svn-id: http://svn.automattic.com/wordpress/trunk@10961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 22:15:12 +00:00
ryan
178a1fdda0 Add link to password recovery in login error messages. Props Denis-de-Bernardy. fixes #9442
git-svn-id: http://svn.automattic.com/wordpress/trunk@10960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 22:07:25 +00:00
ryan
6ecb1077d7 Deprecae get_catname(). Props filosofo. fixes #9550
git-svn-id: http://svn.automattic.com/wordpress/trunk@10959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 22:03:45 +00:00
ryan
b8566c75cd Optimize install check by checking alloptions cache before doing a separate query. Props joostdevalk. fixes #8947
git-svn-id: http://svn.automattic.com/wordpress/trunk@10958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 22:00:39 +00:00
markjaquith
c69b14d5b6 Sanitize when querying against category name so that multiple-word subcategories match. props filosofo. fixes #8619
git-svn-id: http://svn.automattic.com/wordpress/trunk@10956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 21:47:42 +00:00
markjaquith
8acacd62a0 Return false for corrupted serialized strings. props Denis-de-Bernardy. fixes #9549
git-svn-id: http://svn.automattic.com/wordpress/trunk@10955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 21:03:18 +00:00
ryan
989ddc7360 Fix teaser stripping when no teaser. Props makibo, simonwheatley. fixes #6312
git-svn-id: http://svn.automattic.com/wordpress/trunk@10954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 19:43:01 +00:00
ryan
75bbf754bd Translate defaults. Props nbachiyski. fixes #9548
git-svn-id: http://svn.automattic.com/wordpress/trunk@10953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 18:51:50 +00:00
ryan
191762762a Remove unneeded spaces. Props Denis-de-Bernardy. fixes #108
git-svn-id: http://svn.automattic.com/wordpress/trunk@10952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 18:47:41 +00:00
ryan
0ed6972911 Add page class to get_boddy_class(). Props nathanrice. fixes #9514
git-svn-id: http://svn.automattic.com/wordpress/trunk@10950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 18:22:27 +00:00
ryan
ab49d00bc4 Add page classes to page attachments. Props minusfive. fixes #9472
git-svn-id: http://svn.automattic.com/wordpress/trunk@10947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 17:37:58 +00:00
ryan
bc5d21252e Add echo arg to tag cloud. Props DD32. fixes #5710
git-svn-id: http://svn.automattic.com/wordpress/trunk@10946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 17:32:06 +00:00
ryan
08ae2f5ee2 Add WAI-ARIA landmark roles to default theme. Props peterkz. fixes #9408
git-svn-id: http://svn.automattic.com/wordpress/trunk@10945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 16:42:32 +00:00
azaozz
29f9a48eaa CSS cleanup and fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@10943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 04:41:05 +00:00
azaozz
1e31cc81a0 Disable PHP error reporting in gears-manifest.php, load-scripts.php and load-styles.php since they don't load wp-settings, fix some notices
git-svn-id: http://svn.automattic.com/wordpress/trunk@10939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-15 19:55:41 +00:00
ryan
cbb5499088 Allow m4v. Props hailin. fixes #9541
git-svn-id: http://svn.automattic.com/wordpress/trunk@10938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-15 19:36:09 +00:00
ryan
d2110af1b9 Define wp_clone() before loading the cache.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-15 19:14:43 +00:00
ryan
ba31bedcae Escape title. Props GamerZ. fixes #9540
git-svn-id: http://svn.automattic.com/wordpress/trunk@10936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-15 17:12:31 +00:00
ryan
cb0ad4f8ca Typo fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@10934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-14 22:34:51 +00:00
ryan
fe648c9e20 Updates to wp_login_url() and wp_logout_url(). Use them in more places. Props wnorris. fixes #9536
git-svn-id: http://svn.automattic.com/wordpress/trunk@10931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-14 18:31:49 +00:00
ryan
bd0cef4071 Check if SimplePie class is already defined.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-14 17:02:24 +00:00
azaozz
0a0dde8ddc Fold widget after saving, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@10926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-13 17:08:13 +00:00
azaozz
4be0d4b866 Widgets: open when adding, clean-up AJAX calls, slower animation/less jumping in IE, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@10922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-13 16:20:58 +00:00
ryan
c15b0ba08b robots.txt is not home. Props johnbillion. fixes #9482
git-svn-id: http://svn.automattic.com/wordpress/trunk@10920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-13 16:15:44 +00:00
ryan
3dd79f8587 Run RTL CSS urls through the style_loader_src filter. Props nbachiyski. fixes #9528
git-svn-id: http://svn.automattic.com/wordpress/trunk@10918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-13 16:07:27 +00:00
azaozz
123d7ee968 Widgets page, first run, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@10912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-11 14:37:24 +00:00
ryan
7c460ad4d3 phpdoc updates for wpdb. Props mdawaffe. fixes #9506
git-svn-id: http://svn.automattic.com/wordpress/trunk@10911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-10 21:57:40 +00:00
ryan
658d22d054 Store field types in wpdb object. Props mdawaffe. see #7171
git-svn-id: http://svn.automattic.com/wordpress/trunk@10910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-10 21:56:30 +00:00
ryan
c827471bf0 Backtick table and column names. Props mdawaffe. fixes #9505
git-svn-id: http://svn.automattic.com/wordpress/trunk@10907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-10 21:37:19 +00:00
ryan
6f431038f2 Add option to check if term exists with given parent. Update ajax add-cat check to pass parent when checking if cat exists.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-10 20:58:25 +00:00
ryan
e20fd21b39 Notice fixes. Props DD32. fixes #9502
git-svn-id: http://svn.automattic.com/wordpress/trunk@10904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-10 04:34:44 +00:00
azaozz
9d35395cb5 Tag descriptions, props aaroncampbell, fixes #9381
git-svn-id: http://svn.automattic.com/wordpress/trunk@10903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-09 16:00:40 +00:00
azaozz
1f9f97058e Append "-css" to the IDs for <link rel="stylesheet"> tags in the head, props Denis-de-Bernardy, fixes #9486
git-svn-id: http://svn.automattic.com/wordpress/trunk@10899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-08 22:49:39 +00:00
westi
d2faeef333 Improve cron phpdoc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-08 20:16:59 +00:00
ryan
1b975b73c7 Add date_i18n filter. Props Denis-de-Bernardy. fixes #9396
git-svn-id: http://svn.automattic.com/wordpress/trunk@10897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-08 19:56:58 +00:00
ryan
eb1824b0a5 Allowing displaying links from a specific category in the links widget. Props Denis-de-Bernardy. fixes #9449
git-svn-id: http://svn.automattic.com/wordpress/trunk@10896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-08 19:37:33 +00:00
westi
8ebd22ee98 Correct phpdoc for update_user_option.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-08 18:24:49 +00:00
ryan
778f47aac1 Invoke the_tags filter in the_tags(). Props scribu. fixes #9436
git-svn-id: http://svn.automattic.com/wordpress/trunk@10888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-07 23:54:16 +00:00
westi
0c5293c86e Allow the update period to be filtered in RSS/RDF feeds. Fixes #9133 props hakre.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-07 17:42:17 +00:00
azaozz
af1c4a7836 Fix css for the submit box on the Edit Comment screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@10884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-07 14:55:24 +00:00
azaozz
25c13543f2 Fix confirmation for second bulk delete, fixes #9473
git-svn-id: http://svn.automattic.com/wordpress/trunk@10881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-06 22:21:45 +00:00
ryan
dd1c8932aa Don't trigger loop start in get_body_class(). Props Denis-de-Bernardy. fixes #9457
git-svn-id: http://svn.automattic.com/wordpress/trunk@10877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-06 15:42:12 +00:00
westi
a6ed4323c5 Move byuser to a seperate array entry to ease filtering by plugins. Fixes #9465 for trunk props hakre.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-05 17:38:19 +00:00
westi
8f58c6908e Let a plugin filter the expanded capabilities returned by map_meta_cap. Fixes #9462 props rmccue.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-05 17:23:04 +00:00
azaozz
d849a19db2 Styling and minor improvements for items per page option
git-svn-id: http://svn.automattic.com/wordpress/trunk@10872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-05 08:25:10 +00:00
ryan
77919b9259 Correct spelling. Props jbsil. see #4011
git-svn-id: http://svn.automattic.com/wordpress/trunk@10870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-04 17:55:48 +00:00
azaozz
7160187ec2 Improved no-js styles
git-svn-id: http://svn.automattic.com/wordpress/trunk@10869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-04 17:07:31 +00:00
azaozz
68e836af48 Set the taxonomy/term when using a custom ?tax_slug=term_slug query, props DD32, fixes #9453
git-svn-id: http://svn.automattic.com/wordpress/trunk@10866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-04 10:48:22 +00:00
azaozz
8c7f6cb6ee Fix flash upload button, right sidebar on write pages in IE6
git-svn-id: http://svn.automattic.com/wordpress/trunk@10865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-04 10:21:43 +00:00
ryan
93c512ded4 Proxy support. Props DD32. see #4011
git-svn-id: http://svn.automattic.com/wordpress/trunk@10864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-03 18:23:13 +00:00
ryan
d859e9dd3b Make jCrop compatible with noConflict. Props nbachiyski. fixes #9375
git-svn-id: http://svn.automattic.com/wordpress/trunk@10863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-03 18:18:47 +00:00
ryan
ef9237e7b0 Add pre_transient filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@10862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-03 16:19:25 +00:00
azaozz
c31fdfbca7 Put back jQuery.noConflict(), props Ryan
git-svn-id: http://svn.automattic.com/wordpress/trunk@10861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-03 02:36:14 +00:00
ryan
7d37926ebc Move deleted_post back. Props Denis-de-Bernardy . see #9422
git-svn-id: http://svn.automattic.com/wordpress/trunk@10858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-01 16:10:14 +00:00
markjaquith
e1feb9dc86 PHP Notice fix for non-normative nonce action strings. props Viper007Bond. see #9393
git-svn-id: http://svn.automattic.com/wordpress/trunk@10857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-01 05:52:05 +00:00
ryan
d428b237b6 Remove spurious character. Props hakre. fixes #9428
git-svn-id: http://svn.automattic.com/wordpress/trunk@10853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-31 22:01:51 +00:00
ryan
abec350e44 Enforce consistent ID types to allow for foreign keys to be defined between tables. Props Denis-de-Bernardy. see #9422
git-svn-id: http://svn.automattic.com/wordpress/trunk@10852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-31 21:57:51 +00:00
ryan
f84839d5af Fix delete statements to ensure data integrity when innodb and foreign keys are used. Props Denis-de-Bernardy. see #9422
git-svn-id: http://svn.automattic.com/wordpress/trunk@10851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-31 19:16:53 +00:00
azaozz
e5e2f13181 Fix highlighting of the whole page while dragging a sortable in WebKit, ajax tag cloud for non-admin users
git-svn-id: http://svn.automattic.com/wordpress/trunk@10849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-28 08:21:43 +00:00
ryan
e24a341f0b Bind to submit event. Bump script loader.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-27 22:58:53 +00:00
ryan
f8926b2ad9 Use Jcrop for cropping. see #9375
git-svn-id: http://svn.automattic.com/wordpress/trunk@10846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-27 16:45:55 +00:00
azaozz
8011e6016b TinyMCE 3.2.2.3, has several bugfixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@10845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-27 12:57:25 +00:00
azaozz
d2f10cfa07 Make uploader selection "sticky"
git-svn-id: http://svn.automattic.com/wordpress/trunk@10844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-27 08:36:51 +00:00
ryan
693fd1774e Make random_seed a transient
git-svn-id: http://svn.automattic.com/wordpress/trunk@10838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-25 20:03:57 +00:00
azaozz
05783317a4 Add toggle all button to the Gallery tab in the uploader
git-svn-id: http://svn.automattic.com/wordpress/trunk@10837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-25 17:20:03 +00:00
ryan
a3d28151b2 Show template files in subdirs. Props DD32. fixes #4131
git-svn-id: http://svn.automattic.com/wordpress/trunk@10835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-25 16:51:08 +00:00
azaozz
61ff5addca jQuery 1.3.2 and UI 1.7.1, may still have some regressions, add screen columns setting to the write/edit post/page screen options, fixes #8867
git-svn-id: http://svn.automattic.com/wordpress/trunk@10834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-25 14:29:22 +00:00
ryan
8f7bbfc5fa Validation fixes. Props Viper007Bond. fixes #9387
git-svn-id: http://svn.automattic.com/wordpress/trunk@10832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-24 15:27:17 +00:00
westi
ada56c9310 Set a short timeout for the SSL discovery support so that we don't block requests until the attempt timesout. Fixes #9380 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-23 22:05:04 +00:00
azaozz
7510ca2238 Fix notice in wp-includes/theme.php, props filosofo, fixes #9336
git-svn-id: http://svn.automattic.com/wordpress/trunk@10825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-20 00:52:42 +00:00
azaozz
c25364742c Less confusing regex, props filosofo, fixes #9244
git-svn-id: http://svn.automattic.com/wordpress/trunk@10824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-20 00:30:32 +00:00
azaozz
fb0c5fbe97 More theme install styling, see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-20 00:14:57 +00:00
ryan
782b99b451 Move WP_Widget to the top
git-svn-id: http://svn.automattic.com/wordpress/trunk@10822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-19 22:10:18 +00:00
azaozz
f5d2d4fc95 Fix alignment and blockquote when multiple paragraphs are selected in TinyMCE, fixes #9361
git-svn-id: http://svn.automattic.com/wordpress/trunk@10817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-19 08:52:45 +00:00
westi
d6df5b55c9 Add relational links to next/prev/parent posts. See #8703 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 21:56:03 +00:00
westi
5258242b98 Allow a plugin to filter the classes applied in wp_list_pages. Fixes #9304 props willnorris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 21:43:51 +00:00
westi
789522a21a Allow wp_delete_term users to force all objects to have a new term applied. Allow for category merging use-case. Fixes #9355.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 21:06:49 +00:00
ryan
6de4ae1ad8 Add some phpdoc to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 07:20:58 +00:00
ryan
e8b6fe7347 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:43:45 +00:00
ryan
cd5949d0c2 Move categories widget to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 01:50:20 +00:00
ryan
1eab8fccb2 Introduce singleton widget factory
git-svn-id: http://svn.automattic.com/wordpress/trunk@10808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 23:44:36 +00:00
ryan
1183bfa70b Echo submit field from base class so widgets don't have to do it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 21:20:19 +00:00
ryan
8e26610a07 Pass the unprocessed title to the sanitize_title filter. Props chineseleper. fixes #8981 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 17:42:54 +00:00
ryan
4f130b5e47 Check if error. Props simonwheatley. fixes #9345
git-svn-id: http://svn.automattic.com/wordpress/trunk@10803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 16:42:21 +00:00
ryan
21e5ac6f83 Move text widget to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 15:39:36 +00:00
ryan
226ef505b3 Move submit check into WP_Widget
git-svn-id: http://svn.automattic.com/wordpress/trunk@10801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 02:58:15 +00:00
ryan
98ecb6c9f5 Move calendar widget to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 02:41:28 +00:00
ryan
10c5eefc71 Move calendar widget to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 02:33:08 +00:00
ryan
733e7592c6 Separate widget form and update callbacks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 00:59:42 +00:00
ryan
29b11ce0ae Move meta widget to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-16 22:45:16 +00:00
ryan
25db941bb8 Move meta widget to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-16 22:44:30 +00:00
ryan
48000c9225 Separate default widgets from widgets API. Always load API. fixes #9349
git-svn-id: http://svn.automattic.com/wordpress/trunk@10795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-16 22:02:40 +00:00
ryan
64e36ff286 Move archives widget to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-16 21:44:36 +00:00
azaozz
9f9fcdfa9d Add sort order for the gallery in the uploader
git-svn-id: http://svn.automattic.com/wordpress/trunk@10793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-16 13:05:09 +00:00
azaozz
c054f27b6e TinyMCE 3.2.2
git-svn-id: http://svn.automattic.com/wordpress/trunk@10791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-15 16:55:49 +00:00
azaozz
922fe713df Fix php warning in widgets.php, props zeronex, fixes #9330
git-svn-id: http://svn.automattic.com/wordpress/trunk@10789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-15 11:18:09 +00:00
azaozz
5da7e83817 Theme install style tweaks, see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-15 11:04:34 +00:00
ryan
d80df1030c Prune. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-14 17:25:59 +00:00
ryan
77518dd6ca Convert pages to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-14 17:24:11 +00:00
ryan
06f219dc4f Convert search to WP_Widget. Handle upgrade of widgets without settings. Make form and update override optional. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-14 16:34:08 +00:00
azaozz
9b591073a1 Fix regex in sanitize_email(), props sambauers, see #9316
git-svn-id: http://svn.automattic.com/wordpress/trunk@10783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-14 01:35:47 +00:00
ryan
5a1c07d42f s/WP_Widgets/WP_Widget/ and move class to widgets.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@10782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 23:18:57 +00:00
azaozz
adf37601bb WP_Widgets: make save_settings() and get_settings() separate methods, convert defined single widgets settings to multi-widget format, small fixes for the Links widget, see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 22:27:38 +00:00
ryan
6af5462708 Remove category ordering. Props filosofo. fixes #9228
git-svn-id: http://svn.automattic.com/wordpress/trunk@10779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 22:01:33 +00:00
ryan
cba3b3d41c get_comment_link filter. Props Viper007Bond. fixes #9327
git-svn-id: http://svn.automattic.com/wordpress/trunk@10778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 21:58:18 +00:00
azaozz
2330e2029e Fix regex function in sanitize_email(), see #9316
git-svn-id: http://svn.automattic.com/wordpress/trunk@10777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 19:04:39 +00:00
ryan
b1222311f7 gettext comments. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 03:53:39 +00:00
ryan
8b11ce3acb Add core_version_check_locale filter. Props nbachiyski. see #8729
git-svn-id: http://svn.automattic.com/wordpress/trunk@10772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-11 23:37:33 +00:00
ryan
7ceebc2a27 Improved is_email() and sanitize_email(). Props sambauers. fixes #9316 #4616
git-svn-id: http://svn.automattic.com/wordpress/trunk@10769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-11 15:26:34 +00:00
ryan
04a572f4a7 Set autoload in populate options query
git-svn-id: http://svn.automattic.com/wordpress/trunk@10768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-11 01:07:12 +00:00
ryan
d10b538652 gettext contexts. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 23:02:29 +00:00
markjaquith
df58ca2a41 Introducing plugin_dir_path(__FILE__) and plugin_dir_url(__FILE__) ... simple API functions for determining the directory path/url of the current plugin file
git-svn-id: http://svn.automattic.com/wordpress/trunk@10765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 19:50:55 +00:00
azaozz
8247b5df4f Add WP_Widget class, first run - only the Links widget is using it at the moment, see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 19:42:22 +00:00
ryan
45e76b1b55 Reparent children when deleting a comment. Props vladimir_kolesnikov. fixes #9003
git-svn-id: http://svn.automattic.com/wordpress/trunk@10762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 19:02:27 +00:00
ryan
c1e2c5a074 Remove leading newlines. Props filosofo. fixes #9096
git-svn-id: http://svn.automattic.com/wordpress/trunk@10758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 18:25:04 +00:00
ryan
a4963d5ff4 Show DST info. Map old offest to Etc zones. Props Otto42. see #3962
git-svn-id: http://svn.automattic.com/wordpress/trunk@10757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 16:14:50 +00:00
ryan
4510a068d4 Filter continents in the first loop. see #3962
git-svn-id: http://svn.automattic.com/wordpress/trunk@10756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 15:26:52 +00:00
ryan
61b14efeba Exclude deprecated timezones. see #3962
git-svn-id: http://svn.automattic.com/wordpress/trunk@10755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 15:24:12 +00:00
ryan
d8c9781995 Timezone support. Props Otto42. see #3962
git-svn-id: http://svn.automattic.com/wordpress/trunk@10753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 00:50:00 +00:00
ryan
fa16c202bc rename simplepie.inc to class-simplepie.php. fixes #9295
git-svn-id: http://svn.automattic.com/wordpress/trunk@10747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-09 00:25:48 +00:00
azaozz
6afab9b294 Remember scrollTop in Quicktags, props gmpfree, fixes #9161
git-svn-id: http://svn.automattic.com/wordpress/trunk@10745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-08 06:10:28 +00:00
azaozz
565dba7c8f Add alt text and filter to wp_get_attachment_image(), props Sam_a, fixes #8732
git-svn-id: http://svn.automattic.com/wordpress/trunk@10744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-08 05:42:17 +00:00
azaozz
6198cca609 Better error handling and display in the RSS widget, props DD32, fixes #8495
git-svn-id: http://svn.automattic.com/wordpress/trunk@10742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-08 05:01:26 +00:00
azaozz
2416f426d9 feed_links_extra() DRY, props scribu, fixes #9291
git-svn-id: http://svn.automattic.com/wordpress/trunk@10741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-07 21:34:01 +00:00
azaozz
957fa2e686 Updated List of HTTP status codes, props Askapache, fixes #9297
git-svn-id: http://svn.automattic.com/wordpress/trunk@10740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-07 21:05:54 +00:00
azaozz
a2fccc011b Add RSS Error handling functionality to RSS Widget displays, props DD32, fixes #9273
git-svn-id: http://svn.automattic.com/wordpress/trunk@10739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-07 19:44:28 +00:00
ryan
a077c70d52 Notice fix. Props ionfish. fixes #9292
git-svn-id: http://svn.automattic.com/wordpress/trunk@10735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 17:09:37 +00:00
ryan
3c803da070 Add index on taxonomy. see #7415
git-svn-id: http://svn.automattic.com/wordpress/trunk@10733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 08:26:45 +00:00
ryan
db7e77a251 Order by comment_date_gmt
git-svn-id: http://svn.automattic.com/wordpress/trunk@10732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 08:16:35 +00:00
ryan
c1886783d1 Use wpdb::insert() and update(). see #6836
git-svn-id: http://svn.automattic.com/wordpress/trunk@10731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 05:06:15 +00:00
ryan
d43bd8177c Use wpdb::insert() and update(). Props DD32. see #6836
git-svn-id: http://svn.automattic.com/wordpress/trunk@10730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 04:27:51 +00:00
azaozz
6405b50953 Force-wrap comments in Recent Comments on the dashboard, expand width when no avatar, fixes #9283
git-svn-id: http://svn.automattic.com/wordpress/trunk@10729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 03:20:38 +00:00
ryan
cb712c991d Only list field types that are not strings. see #7171
git-svn-id: http://svn.automattic.com/wordpress/trunk@10726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 01:06:00 +00:00
ryan
d6ee6062a6 Add some default field types. see #7171
git-svn-id: http://svn.automattic.com/wordpress/trunk@10725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 00:50:19 +00:00
ryan
551c0c8af9 Add typecasting to wpdb::insert() and update(). Props filosofo. fixes #7171
git-svn-id: http://svn.automattic.com/wordpress/trunk@10724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 23:47:02 +00:00
ryan
34d455832d Allow passing sustitution args to prepare() as an array. Makes building queries for prepare easier.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 22:15:17 +00:00
ryan
2b430c9751 Links widget options. Props DD32. see #9196
git-svn-id: http://svn.automattic.com/wordpress/trunk@10712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 23:49:21 +00:00
ryan
423b468ebf Check for empty meta keys. Props Denis-de-Bernardy, markedwards. fixes #7953
git-svn-id: http://svn.automattic.com/wordpress/trunk@10711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 22:59:16 +00:00
ryan
0b1292e1d2 Fix calendar widget when there are no posts. Optimize query. Props Denis-de-Bernardy. fixes #6442
git-svn-id: http://svn.automattic.com/wordpress/trunk@10708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 22:28:45 +00:00
ryan
ead9ed7938 Add compat for mb_substr rather than mb_strcut. fixes #9055
git-svn-id: http://svn.automattic.com/wordpress/trunk@10707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 22:05:49 +00:00
ryan
27a7f46249 Allow comments_popup_link() for is_single and is_page. Props AaronCampbell, sivel. fixes #4832
git-svn-id: http://svn.automattic.com/wordpress/trunk@10704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 20:26:56 +00:00
ryan
bf0796d4f8 Deprecate get_category_children(). Props filosofo. fixes #9007
git-svn-id: http://svn.automattic.com/wordpress/trunk@10703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 19:53:17 +00:00
ryan
a867852888 Use mb_substr instead of mb_strcut in wp_html_excerpt. Props demetris. fixes #9055
git-svn-id: http://svn.automattic.com/wordpress/trunk@10702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 19:41:18 +00:00
ryan
d7b53ad4f8 Add RSS Error handling functionality to RSS Widget displays. Props DD32. fixes #9273
git-svn-id: http://svn.automattic.com/wordpress/trunk@10697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 19:24:48 +00:00
westi
303d892aa8 Syncronise the queries used for attachment slug uniqueness checking. Fixes #4396 props futurix and Nazgul.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 08:03:02 +00:00
westi
add8403cec First pass of HTTP Proxy support. See #4011 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 07:28:39 +00:00
ryan
cf07babee1 Add auth_cookie_expiration filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@10691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-03 22:51:55 +00:00
ryan
a33afa3546 Pass blog charset to html_entity_decode(). Props adferguson. fixes #7563
git-svn-id: http://svn.automattic.com/wordpress/trunk@10688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-03 18:37:25 +00:00
ryan
8fb1093aad Use WordPress HTTP class for SimplePie requests. Props DD32. fixes #9247
git-svn-id: http://svn.automattic.com/wordpress/trunk@10687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-03 17:41:01 +00:00
ryan
5d3a29dacd Add auth_redirect action
git-svn-id: http://svn.automattic.com/wordpress/trunk@10685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-02 23:42:28 +00:00
ryan
d4a2f81323 Fix wp_authenticate_user hook
git-svn-id: http://svn.automattic.com/wordpress/trunk@10683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-02 22:25:55 +00:00
westi
43ba2effcd Allow a plugin to change the jpeg image quality. Fixes #9245 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-02 21:55:40 +00:00
ryan
3e3cb817f1 Add some error feedback to ajax comment moderation. see #9261
git-svn-id: http://svn.automattic.com/wordpress/trunk@10681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-02 21:48:37 +00:00
azaozz
00b6ce601c Fix typo, props sambauers
git-svn-id: http://svn.automattic.com/wordpress/trunk@10678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-02 00:28:52 +00:00
ryan
ebe8aa4804 Escape hyphen in regex. Props chrisbliss18. fixes #8548 #9244
git-svn-id: http://svn.automattic.com/wordpress/trunk@10676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-01 19:57:37 +00:00
westi
51dc94d250 Make the exit call explicit so that it works. Fixes #9248.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-28 09:30:46 +00:00
ryan
0a90b7aaf9 phpdoc for fetch_feed(). Props rmmcue. see #9198
git-svn-id: http://svn.automattic.com/wordpress/trunk@10671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-28 01:50:47 +00:00
westi
4e787135ea Don't pass defaulted argument to checked(). Fixes #9032 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 22:15:14 +00:00
ryan
0e3ffd1095 Display more theme info. see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 21:22:49 +00:00
ryan
a02d6e4179 Use SimplePie for widget and dashboard feeds. First cut. see #9198
git-svn-id: http://svn.automattic.com/wordpress/trunk@10666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 19:32:50 +00:00
ryan
b8d8a346d5 Fix inverted login in get_transient().
git-svn-id: http://svn.automattic.com/wordpress/trunk@10665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 19:21:41 +00:00
westi
b35b81f298 Add (get_)the_modified_author template tags. Fixes #9154 props tomontoast.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 17:54:47 +00:00
westi
420b597cfe Put search string into <title> of search results page. Fixes #9103 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 17:46:13 +00:00
westi
56436d1ffc Fix regression in shortcode behaviour. Fixes #9238 props tellyworth.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 17:01:59 +00:00
ryan
35afb3b9c7 Hide theme details. See #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-26 07:54:33 +00:00
ryan
5719faff71 Revert get_calendar() changes from [10602]. Broke calendar links. see #8351
git-svn-id: http://svn.automattic.com/wordpress/trunk@10646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-25 17:09:29 +00:00
ryan
4eb0ba92e3 wp_list_authors fixes. Props hailin. fixes #9229
git-svn-id: http://svn.automattic.com/wordpress/trunk@10644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-25 01:13:32 +00:00
westi
5a22f22cdc Refactor the ssl blacklisting support info the individual test functions. Fixes #9078 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-24 19:37:02 +00:00
azaozz
05135541be Allow the dashboard widgets to be arranged in up to four columns. The number of columns can be selected from the Screen Options tab.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-24 02:37:22 +00:00
westi
0c17950d3e Better Notice fixing and place a protective cast in the cookie handler. Fixes #9068 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-23 21:55:49 +00:00
ryan
3f22da5123 Don't trigger wp_login_failed action for empty usernames or passwords.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-23 17:33:02 +00:00