Commit Graph

2541 Commits

Author SHA1 Message Date
markjaquith
ec6416ec0b fix links generated by get_category_rss_link(). props gwagenknecht. fixes #4550 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 22:24:28 +00:00
markjaquith
791aec14b2 Set $theme_loc correctly when ABSPATH is "/". Props arabek. fixes #4541
git-svn-id: http://svn.automattic.com/wordpress/trunk@6099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 22:19:26 +00:00
markjaquith
0880ca8693 Set widget classname when passed string, object/method, object-reference/method. fixes #4910
git-svn-id: http://svn.automattic.com/wordpress/trunk@6098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 20:48:21 +00:00
markjaquith
1f3ce09d52 Ignore HOST capitalization differences for canonical redirects. props jbctech. fixes #4773
git-svn-id: http://svn.automattic.com/wordpress/trunk@6097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 20:44:41 +00:00
westi
d1acf020b5 Allow plugins to sanitize there own options easily.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 18:15:29 +00:00
westi
223182463d Ensure the parentlink is trailingslashed when building the url - don't trim / off the front. Fixes #2801 props Libertus
git-svn-id: http://svn.automattic.com/wordpress/trunk@6095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 17:46:13 +00:00
westi
2f44508e9b Consolidate shared code in get_userdata and get_userdatabylogin. Fixes #2134 props johnjosephbachir
git-svn-id: http://svn.automattic.com/wordpress/trunk@6094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 17:15:17 +00:00
westi
cf26b9d049 Make the atom feed updated field actually tell you when the post was updated. Fixes #4816 props lapcat.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 16:26:39 +00:00
ryan
60bec14a4e More phpdoc for taxonomy from darkdragon. see #4742
git-svn-id: http://svn.automattic.com/wordpress/trunk@6092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 02:56:44 +00:00
ryan
48b96208e2 Add echo or return option to wp_list_categories. Props Otto42. fixes #4182
git-svn-id: http://svn.automattic.com/wordpress/trunk@6091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 02:53:27 +00:00
ryan
a1046188b8 Deprecate old links functions. Props rob1n. fixes #3413
git-svn-id: http://svn.automattic.com/wordpress/trunk@6088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 01:01:48 +00:00
ryan
98d52ab1f2 Resurrect count padding.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 00:49:16 +00:00
ryan
c06e70516a Remove duplicate code from wp_insert_attachment(). Update to use sanitize_post. Props Otto42. fixes #4946
git-svn-id: http://svn.automattic.com/wordpress/trunk@6086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 22:27:36 +00:00
markjaquith
4bc7869c84 Always trailingslash the "home" URL. Protect against chained redirects. Thanks wantmoore. fixes #4773
git-svn-id: http://svn.automattic.com/wordpress/trunk@6085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 21:21:40 +00:00
westi
ca4ddf50f8 Allow the wp_mail filter to change the passed data. Fixes #4511 props ryan.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 20:49:28 +00:00
westi
446c704af5 Ensure (next|previous)_post_link always have some content even when the post title is blank. Fixes #1835, props johnbillion
git-svn-id: http://svn.automattic.com/wordpress/trunk@6082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 20:05:52 +00:00
ryan
c8077169aa Add user_nicename key to users table. fixes #4937
git-svn-id: http://svn.automattic.com/wordpress/trunk@6075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 18:13:56 +00:00
ryan
368b18d383 Set tag_id to first tag in multi tag queries. Have single_cat_title() fallback to single_tag_title() if is_tag so that existing category templates will work with tags. fixes #4506
git-svn-id: http://svn.automattic.com/wordpress/trunk@6074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 18:06:52 +00:00
ryan
9fbbf54462 beta3
git-svn-id: http://svn.automattic.com/wordpress/trunk@6073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 01:43:49 +00:00
ryan
d84f590203 References don't work inside foreach in php4. Props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-10 19:37:00 +00:00
markjaquith
ba6e8f4a92 Actually, we always need to URLencode square brackets... or wp_redirect() will strip them out. see #4935. see #4878
git-svn-id: http://svn.automattic.com/wordpress/trunk@6070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-10 15:53:34 +00:00
markjaquith
51299852ef Forgot to use $lsb and $rsb in [6064]. Props mdawaffe. see #4935. see #4878
git-svn-id: http://svn.automattic.com/wordpress/trunk@6069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-10 15:34:13 +00:00
markjaquith
d59743c972 Strip index.php/ before adding it in get_pagenum_link(). Insert index.php/ for the first page when blog is on a page. fixes #4945
git-svn-id: http://svn.automattic.com/wordpress/trunk@6068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-10 15:06:21 +00:00
markjaquith
79c4324e01 Only urlencode previously existing values in add_query_arg() (more backwards compatible). fixes #4935. see #4084. see #4878
git-svn-id: http://svn.automattic.com/wordpress/trunk@6064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-08 14:27:24 +00:00
markjaquith
ead6bfebf7 Try more ways of getting wp-admin URL in wp_die(). props Nazgul. fixes #4006
git-svn-id: http://svn.automattic.com/wordpress/trunk@6057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-07 02:25:54 +00:00
markjaquith
1ba81b4f02 Properly construct widget classname if second param is an array. Props f00f. fixes #4910
git-svn-id: http://svn.automattic.com/wordpress/trunk@6054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 23:27:16 +00:00
ryan
8d33c59576 Case terms to int so we don't try to create new terms with the term ids as the names. fixes #4920
git-svn-id: http://svn.automattic.com/wordpress/trunk@6050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 22:07:23 +00:00
ryan
a428494291 Resurrect hide_empty
git-svn-id: http://svn.automattic.com/wordpress/trunk@6048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 04:34:06 +00:00
ryan
a40345190e Add missing instance var. Props filosofo. see #4806
git-svn-id: http://svn.automattic.com/wordpress/trunk@6046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 23:17:41 +00:00
ryan
827ed61968 Remove redundant declaration ofedInsertContent. Props Viper007Bond. fixes #4902
git-svn-id: http://svn.automattic.com/wordpress/trunk@6045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 23:14:39 +00:00
ryan
b5a2f7431e Update pop3 class to latest from squirrelmail. Props westi. see #4337
git-svn-id: http://svn.automattic.com/wordpress/trunk@6044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 22:55:38 +00:00
ryan
c5d33cbebd Basic tag cloud widget. Props Stargazer. fixes #4130
git-svn-id: http://svn.automattic.com/wordpress/trunk@6040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 21:50:52 +00:00
markjaquith
98a92950a3 Deprecate option_can_override, option_type, option_width, option_height, option_description, option_admin_level from options table. Props Nazgul. fixes #4390
git-svn-id: http://svn.automattic.com/wordpress/trunk@6039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 19:20:53 +00:00
ryan
1760555e8b Don't skip sanitization if 404. Add wp_title display filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 03:11:04 +00:00
westi
d7c37c0c02 Improve desriptions for I18N strings. Fixes #4906 props nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@6033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 20:56:08 +00:00
markjaquith
1e8e248b97 Actually, let's just drop that slash check altogether. Equals sign is the best indicator. fixes #4903 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 05:26:18 +00:00
markjaquith
ab71cc4a4f Require a slash AND the absence of an equals sign to designate the passed $uri as a base (without a query string). fixes #4903 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 05:21:54 +00:00
markjaquith
5913b16065 Better $pagenow determination. fixes #4748
git-svn-id: http://svn.automattic.com/wordpress/trunk@6029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 03:21:04 +00:00
ryan
a4f8a52b4e beta2
git-svn-id: http://svn.automattic.com/wordpress/trunk@6027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 01:01:01 +00:00
ryan
321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
ryan
87c4f3a17f Strip lines that contain only whitespace down to newlines.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:19:20 +00:00
westi
d38d018ce9 Fix admin css link when installing in a directory. Fixes #4877
git-svn-id: http://svn.automattic.com/wordpress/trunk@6024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 20:20:18 +00:00
markjaquith
e468628526 Check for wp-admin case-insensitively in is_admin()
git-svn-id: http://svn.automattic.com/wordpress/trunk@6022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 19:56:09 +00:00
ryan
58c7ce91e3 Tag unions and intersections. fixes #4895
git-svn-id: http://svn.automattic.com/wordpress/trunk@6021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 18:14:05 +00:00
westi
03d6c4d0ba Change queries in get_{next|previous}_post so that plugins can INNER JOIN on other tables with an ID column. Fixes #4822 props Cimmo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 16:46:31 +00:00
ryan
4726644b8b Don't strip @ from url. Fix scheme prefixing. Props pishmishy. fixes #3299
git-svn-id: http://svn.automattic.com/wordpress/trunk@6015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 15:59:12 +00:00
ryan
986715f5b6 tag_id not tag__id. see #4895
git-svn-id: http://svn.automattic.com/wordpress/trunk@6012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 03:26:57 +00:00
ryan
f87baf5b1f tag__in, tag__not_in, and tag_and queries. fixes #4895
git-svn-id: http://svn.automattic.com/wordpress/trunk@6011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 03:24:23 +00:00
markjaquith
d723ff00d8 Escape text titles in AtomParser. Props Sam Ruby. fixes #4892
git-svn-id: http://svn.automattic.com/wordpress/trunk@6010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-02 20:42:00 +00:00
markjaquith
7e45ed193a Eliminate double urlencode()ing in add_query_arg(). Move &-to-& conversion to wp_nonce_url(). fixes #4884
git-svn-id: http://svn.automattic.com/wordpress/trunk@6008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-02 05:49:54 +00:00