Commit Graph

2524 Commits

Author SHA1 Message Date
Ryan Boren
11ed527c0d 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: https://develop.svn.wordpress.org/trunk@6074 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 18:06:52 +00:00
Ryan Boren
2df3796380 beta3
git-svn-id: https://develop.svn.wordpress.org/trunk@6073 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 01:43:49 +00:00
Ryan Boren
5bd5234f8d References don't work inside foreach in php4. Props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@6071 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-10 19:37:00 +00:00
Mark Jaquith
605d95b344 Actually, we always need to URLencode square brackets... or wp_redirect() will strip them out. see #4935. see #4878
git-svn-id: https://develop.svn.wordpress.org/trunk@6070 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-10 15:53:34 +00:00
Mark Jaquith
f88ae978d1 Forgot to use $lsb and $rsb in [6064]. Props mdawaffe. see #4935. see #4878
git-svn-id: https://develop.svn.wordpress.org/trunk@6069 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-10 15:34:13 +00:00
Mark Jaquith
4292b0af36 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: https://develop.svn.wordpress.org/trunk@6068 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-10 15:06:21 +00:00
Mark Jaquith
ed03cc32dc Only urlencode previously existing values in add_query_arg() (more backwards compatible). fixes #4935. see #4084. see #4878
git-svn-id: https://develop.svn.wordpress.org/trunk@6064 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-08 14:27:24 +00:00
Mark Jaquith
d065fe3cb8 Try more ways of getting wp-admin URL in wp_die(). props Nazgul. fixes #4006
git-svn-id: https://develop.svn.wordpress.org/trunk@6057 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-07 02:25:54 +00:00
Mark Jaquith
bb7b7901b9 Properly construct widget classname if second param is an array. Props f00f. fixes #4910
git-svn-id: https://develop.svn.wordpress.org/trunk@6054 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-06 23:27:16 +00:00
Ryan Boren
836ea54d21 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: https://develop.svn.wordpress.org/trunk@6050 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-06 22:07:23 +00:00
Ryan Boren
459a358e04 Resurrect hide_empty
git-svn-id: https://develop.svn.wordpress.org/trunk@6048 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-06 04:34:06 +00:00
Ryan Boren
397b2c28ba Add missing instance var. Props filosofo. see #4806
git-svn-id: https://develop.svn.wordpress.org/trunk@6046 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 23:17:41 +00:00
Ryan Boren
9efd32a426 Remove redundant declaration ofedInsertContent. Props Viper007Bond. fixes #4902
git-svn-id: https://develop.svn.wordpress.org/trunk@6045 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 23:14:39 +00:00
Ryan Boren
40fe936687 Update pop3 class to latest from squirrelmail. Props westi. see #4337
git-svn-id: https://develop.svn.wordpress.org/trunk@6044 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 22:55:38 +00:00
Ryan Boren
7f8b7c9859 Basic tag cloud widget. Props Stargazer. fixes #4130
git-svn-id: https://develop.svn.wordpress.org/trunk@6040 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 21:50:52 +00:00
Mark Jaquith
88a4c73ec2 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: https://develop.svn.wordpress.org/trunk@6039 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 19:20:53 +00:00
Ryan Boren
85bec38507 Don't skip sanitization if 404. Add wp_title display filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@6035 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 03:11:04 +00:00
Peter Westwood
5593328ba6 Improve desriptions for I18N strings. Fixes #4906 props nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@6033 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-04 20:56:08 +00:00
Mark Jaquith
a2afc64e79 Actually, let's just drop that slash check altogether. Equals sign is the best indicator. fixes #4903 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6031 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-04 05:26:18 +00:00
Mark Jaquith
23bcbfcb05 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: https://develop.svn.wordpress.org/trunk@6030 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-04 05:21:54 +00:00
Mark Jaquith
5a4c102696 Better $pagenow determination. fixes #4748
git-svn-id: https://develop.svn.wordpress.org/trunk@6029 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-04 03:21:04 +00:00
Ryan Boren
5140fb674b beta2
git-svn-id: https://develop.svn.wordpress.org/trunk@6027 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-04 01:01:01 +00:00
Ryan Boren
7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Ryan Boren
e9391140a7 Strip lines that contain only whitespace down to newlines.
git-svn-id: https://develop.svn.wordpress.org/trunk@6025 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:19:20 +00:00
Peter Westwood
9b621d42c6 Fix admin css link when installing in a directory. Fixes #4877
git-svn-id: https://develop.svn.wordpress.org/trunk@6024 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 20:20:18 +00:00
Mark Jaquith
0459826bd3 Check for wp-admin case-insensitively in is_admin()
git-svn-id: https://develop.svn.wordpress.org/trunk@6022 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 19:56:09 +00:00
Ryan Boren
c8e307e72f Tag unions and intersections. fixes #4895
git-svn-id: https://develop.svn.wordpress.org/trunk@6021 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 18:14:05 +00:00
Peter Westwood
a629aa8c5f 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: https://develop.svn.wordpress.org/trunk@6019 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 16:46:31 +00:00
Ryan Boren
0c1e57ff2b Don't strip @ from url. Fix scheme prefixing. Props pishmishy. fixes #3299
git-svn-id: https://develop.svn.wordpress.org/trunk@6015 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 15:59:12 +00:00
Ryan Boren
2d3b05b2a6 tag_id not tag__id. see #4895
git-svn-id: https://develop.svn.wordpress.org/trunk@6012 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 03:26:57 +00:00
Ryan Boren
3e725d7a7d tag__in, tag__not_in, and tag_and queries. fixes #4895
git-svn-id: https://develop.svn.wordpress.org/trunk@6011 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 03:24:23 +00:00
Mark Jaquith
2c6bb0bd0e Escape text titles in AtomParser. Props Sam Ruby. fixes #4892
git-svn-id: https://develop.svn.wordpress.org/trunk@6010 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-02 20:42:00 +00:00
Mark Jaquith
d0d887d09d Eliminate double urlencode()ing in add_query_arg(). Move &-to-& conversion to wp_nonce_url(). fixes #4884
git-svn-id: https://develop.svn.wordpress.org/trunk@6008 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-02 05:49:54 +00:00
Mark Jaquith
71820cb422 Correct variable name in clean_object_term_cache(). props arnee. fixes #4888
git-svn-id: https://develop.svn.wordpress.org/trunk@6007 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-02 05:08:48 +00:00
Mark Jaquith
3308252f00 Turn & to & in add_query_arg(). fixes #4878
git-svn-id: https://develop.svn.wordpress.org/trunk@6005 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-01 22:12:17 +00:00
Peter Westwood
1b53aaa0ed Fix RDF feeds to not contain invalid tag "category". Fixed #4643 props kztk
git-svn-id: https://develop.svn.wordpress.org/trunk@6001 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-01 08:33:08 +00:00
Ryan Boren
963528d3cb get_tag() and get_tag_feed_link()
git-svn-id: https://develop.svn.wordpress.org/trunk@6000 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-01 04:43:27 +00:00
Mark Jaquith
d5e3e96141 Preserve query string arrays in add_query_arg(). fixes #4878 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5999 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-01 03:41:50 +00:00
Ryan Boren
c6cef97007 Add some filtering. Props jhodgdon. see #4516
git-svn-id: https://develop.svn.wordpress.org/trunk@5998 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-31 23:55:56 +00:00
Ryan Boren
7cfadec3fa Don't use unavailable func. Props filosofo. fixes #4881
git-svn-id: https://develop.svn.wordpress.org/trunk@5997 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-31 22:36:16 +00:00
Mark Jaquith
b47f557a49 Kill %tag%-based permalinks. fixes #4875
git-svn-id: https://develop.svn.wordpress.org/trunk@5995 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-30 19:42:34 +00:00
Mark Jaquith
2cbc2f0e87 Roll back [5986], [5988], [5989]. We are in a char class, so no escaping needed. Props mdawaffe. see #4873
git-svn-id: https://develop.svn.wordpress.org/trunk@5993 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-30 18:13:48 +00:00
Mark Jaquith
00f5e9555d Better %0d/%0a sanitization for wp_redirect() from hakre. fixes #4819 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5990 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-30 17:46:09 +00:00
Ryan Boren
effcdff92b Escape special chars in regex. Props eightize and Otto42. fixes #4873
git-svn-id: https://develop.svn.wordpress.org/trunk@5986 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-30 15:42:26 +00:00
Ryan Boren
78c09303ac Make sure term cache is cleared when updating term counts.
git-svn-id: https://develop.svn.wordpress.org/trunk@5983 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-30 00:34:55 +00:00
Ryan Boren
3ff8ad1a47 Trackback fxn cleanup from Otto42. fixes #4800
git-svn-id: https://develop.svn.wordpress.org/trunk@5982 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 23:08:44 +00:00
Ryan Boren
3910be3880 Include tags in feeds. fixes #4537
git-svn-id: https://develop.svn.wordpress.org/trunk@5979 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 21:10:20 +00:00
Mark Jaquith
f6b019c8b6 More cautious canonical-ness. Exclude IIS and POSTs. Better paging handling. Still a work in progress! see #4773
git-svn-id: https://develop.svn.wordpress.org/trunk@5978 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 21:06:51 +00:00
Ryan Boren
7109e26194 delete_post_meta_by_key() from Mark Jaquith. fixes #4178
git-svn-id: https://develop.svn.wordpress.org/trunk@5976 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 19:12:20 +00:00
Ryan Boren
d8381c8973 Remove hardcoded clean_url on comment_author_url since it is handled on the pre_comment_author_url filter. Props wnorris. fixes #4120
git-svn-id: https://develop.svn.wordpress.org/trunk@5975 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 19:04:14 +00:00