Commit Graph

2732 Commits

Author SHA1 Message Date
Ryan Boren
a6fba8edcf Add echo or return option to wp_list_categories. Props Otto42. fixes #4182
git-svn-id: https://develop.svn.wordpress.org/trunk@6091 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 02:53:27 +00:00
Ryan Boren
dabc12fd93 Deprecate old links functions. Props rob1n. fixes #3413
git-svn-id: https://develop.svn.wordpress.org/trunk@6088 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 01:01:48 +00:00
Ryan Boren
f29d32da27 Resurrect count padding.
git-svn-id: https://develop.svn.wordpress.org/trunk@6087 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 00:49:16 +00:00
Ryan Boren
64bbc52982 Remove duplicate code from wp_insert_attachment(). Update to use sanitize_post. Props Otto42. fixes #4946
git-svn-id: https://develop.svn.wordpress.org/trunk@6086 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 22:27:36 +00:00
Mark Jaquith
7eea02c12c Always trailingslash the "home" URL. Protect against chained redirects. Thanks wantmoore. fixes #4773
git-svn-id: https://develop.svn.wordpress.org/trunk@6085 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 21:21:40 +00:00
Peter Westwood
e0a59804ee Allow the wp_mail filter to change the passed data. Fixes #4511 props ryan.
git-svn-id: https://develop.svn.wordpress.org/trunk@6084 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 20:49:28 +00:00
Peter Westwood
c3b56d7710 Ensure (next|previous)_post_link always have some content even when the post title is blank. Fixes #1835, props johnbillion
git-svn-id: https://develop.svn.wordpress.org/trunk@6082 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 20:05:52 +00:00
Ryan Boren
951354b6bc Add user_nicename key to users table. fixes #4937
git-svn-id: https://develop.svn.wordpress.org/trunk@6075 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 18:13:56 +00:00
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
Mark Jaquith
31d9b33458 Fix paging and preview links for canonical stuff. see #4773. fixes #4862
git-svn-id: https://develop.svn.wordpress.org/trunk@5974 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 18:10:11 +00:00
Ryan Boren
0210464be1 Limit recent entries query to published posts. fixes #4786
git-svn-id: https://develop.svn.wordpress.org/trunk@5973 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 18:02:19 +00:00
Ryan Boren
6fc09cfd3b Take port into consideration when spawning cron. Props bchecketts. fixes #4782
git-svn-id: https://develop.svn.wordpress.org/trunk@5972 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 17:57:06 +00:00
Peter Westwood
84b76f6832 Remove dead code. Fixed #4791 props filosofo
git-svn-id: https://develop.svn.wordpress.org/trunk@5970 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 17:36:46 +00:00
Peter Westwood
c0e6a44fdf Add utf8->ascii mappings for icelandic letters. Fixes #4739 props einare
git-svn-id: https://develop.svn.wordpress.org/trunk@5969 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 17:34:15 +00:00
Peter Westwood
5ad60fe10f Fix xhtml output for RSS widget when feed contains no items. Fixed #4671 props brettz95 and Nazgul
git-svn-id: https://develop.svn.wordpress.org/trunk@5968 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 17:28:07 +00:00
Ryan Boren
e38abfba84 Make css cache busting and rtl inclusion uniform across admin. Props mdawaffe. fixes #4830
git-svn-id: https://develop.svn.wordpress.org/trunk@5965 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-28 23:23:38 +00:00
Peter Westwood
f763c751d8 Ensure we flush the recent entries widget cache after a post has been deleted. Fixes #4825 props donncha
git-svn-id: https://develop.svn.wordpress.org/trunk@5960 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-28 20:12:43 +00:00
Peter Westwood
3b74215727 Pass through the function argument so rules can actually be added to the top of the stack, props santos
git-svn-id: https://develop.svn.wordpress.org/trunk@5959 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-28 19:55:11 +00:00
Ryan Boren
37704dc738 explicitly check next() against FALSE in do_action_ref_array(). Props Denis-de-Bernardy, Otto42, Nazgul, santosj, DD32. fixes #4625 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5958 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-28 19:06:56 +00:00
Ryan Boren
ba8c7d12ba Don't return permalink for non-existent post. Props Viper007Bond. fixes #4834
git-svn-id: https://develop.svn.wordpress.org/trunk@5956 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-28 18:58:54 +00:00
Ryan Boren
13ad64bad7 beta1
git-svn-id: https://develop.svn.wordpress.org/trunk@5954 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-28 00:18:36 +00:00
Ryan Boren
48120ed74b Add clean_url filter. see #4570
git-svn-id: https://develop.svn.wordpress.org/trunk@5952 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-27 23:31:09 +00:00
Ryan Boren
db0b4d72c6 Bring in atomlib 0.4 and update wp-app to use it. Props eliast and placey. fixes #4191
git-svn-id: https://develop.svn.wordpress.org/trunk@5951 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-27 19:52:58 +00:00
Ryan Boren
f3e9670cfd Revert get_col behavior. Props mdawaffe. fixes #4826
git-svn-id: https://develop.svn.wordpress.org/trunk@5950 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-27 19:44:53 +00:00
Matt Mullenweg
7d95821088 Make the entire comment flood check pluggable as it can cause load problems on large sites.
git-svn-id: https://develop.svn.wordpress.org/trunk@5947 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-27 06:34:18 +00:00
Ryan Boren
06515b9839 Display tag name, not slug, in title. Props ionfish. fixes #4812
git-svn-id: https://develop.svn.wordpress.org/trunk@5945 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-26 17:18:00 +00:00
Ryan Boren
9b4a30290f Add missing global and remove unused var. Props JeremyVisser. fixes #4818
git-svn-id: https://develop.svn.wordpress.org/trunk@5944 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-26 17:12:31 +00:00
Ryan Boren
d0c245d950 Update to jquery 1.1.4. Props mdawaffe. fixes #4810
git-svn-id: https://develop.svn.wordpress.org/trunk@5939 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-24 21:46:03 +00:00
Ryan Boren
a1b51966d7 Don't pass cat as ref. Fix some term sanitization. fixes #4702
git-svn-id: https://develop.svn.wordpress.org/trunk@5938 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-24 18:41:01 +00:00
Ryan Boren
aa0ab82ecd Update WP importer to use taxonomy and query cat based on slug. see #4613
git-svn-id: https://develop.svn.wordpress.org/trunk@5937 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-24 14:44:26 +00:00
Ryan Boren
73d5479b43 Fix how wp_filter array is keyed. Props santosj/darkdragon. fixes #3875 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5936 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-24 14:18:08 +00:00
Peter Westwood
1532e450bb Enable plugins to override the cockney replace array, fixes #4804 props andihit
git-svn-id: https://develop.svn.wordpress.org/trunk@5930 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-23 21:02:31 +00:00
Peter Westwood
897531ee27 Allow upload of all Open Office document types props nbachiyski fixes #4615
git-svn-id: https://develop.svn.wordpress.org/trunk@5929 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-23 18:28:14 +00:00
Ryan Boren
ca4e75cb57 Don't allow private query vars in url_to_postid
git-svn-id: https://develop.svn.wordpress.org/trunk@5925 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-23 16:09:37 +00:00
Peter Westwood
de6855386a Fix plugin basename for Windows servers. Fixes #3002 props Ozh
git-svn-id: https://develop.svn.wordpress.org/trunk@5924 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-23 16:07:21 +00:00
Mark Jaquith
ca9bea927b No canonical-ness for wp-admin. see #4773
git-svn-id: https://develop.svn.wordpress.org/trunk@5921 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-23 03:40:51 +00:00
Ryan Boren
dac74f6c47 Add cat-item-id and page-item-id classes. Props Otto42. fixes #4703
git-svn-id: https://develop.svn.wordpress.org/trunk@5920 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 22:59:45 +00:00
Ryan Boren
84df0a2453 Fix get_post_comments_feed_link() to work with pages. fixes #4637
git-svn-id: https://develop.svn.wordpress.org/trunk@5919 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 22:42:57 +00:00
Ryan Boren
e77ed87b6c Add get_lastpostdate and 'get_lastpostdatemodified filters. Props rob1n. fixes #4801
git-svn-id: https://develop.svn.wordpress.org/trunk@5918 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 22:30:06 +00:00
Ryan Boren
51592ad7f2 Add class to tag cloud links. Props filosofo. fixes #4798
git-svn-id: https://develop.svn.wordpress.org/trunk@5917 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 22:28:00 +00:00
Ryan Boren
87234faca2 posts_results and posts_selection hooks. fixes #4799
git-svn-id: https://develop.svn.wordpress.org/trunk@5916 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 18:03:26 +00:00
Ryan Boren
c10c02374b Sanitize a few options
git-svn-id: https://develop.svn.wordpress.org/trunk@5914 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 17:57:36 +00:00
Ryan Boren
ece120b57f Some tag api additions from andy.
git-svn-id: https://develop.svn.wordpress.org/trunk@5912 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-21 18:39:45 +00:00
Ryan Boren
fd11034748 commentsrss2_head action from joostdevalk. fixes #4694
git-svn-id: https://develop.svn.wordpress.org/trunk@5911 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-21 18:32:39 +00:00
Ryan Boren
6f03cac3d9 Deprecate permalink_single_rss(). Add the_permalink_rss() with accompanying filter. Props joostdevalk and Otto42. fixes #4654
git-svn-id: https://develop.svn.wordpress.org/trunk@5910 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-21 18:27:45 +00:00
Ryan Boren
a79d48ea1c wp_reset_query() from mdawaffe. fixes #4741
git-svn-id: https://develop.svn.wordpress.org/trunk@5907 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-20 22:55:43 +00:00
Ryan Boren
d8adefe0b2 bookmark sanitizer funcs and default filter cleanup. see #4546
git-svn-id: https://develop.svn.wordpress.org/trunk@5906 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-20 22:50:04 +00:00
Matt Mullenweg
76384e93f0 Don't run if installing, fixes $4772
git-svn-id: https://develop.svn.wordpress.org/trunk@5900 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-19 04:27:04 +00:00
Ryan Boren
df22fd9a58 Add back compat to get_the_category. Props nbachiyski. fixes #4771
git-svn-id: https://develop.svn.wordpress.org/trunk@5899 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-18 17:21:51 +00:00
Ryan Boren
23efaffd94 Revert accidental commit.
git-svn-id: https://develop.svn.wordpress.org/trunk@5897 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-17 21:23:39 +00:00
Ryan Boren
b2d8f1bd12 First cut of taxonomy API phpdoc from darkdragon. see #4742
git-svn-id: https://develop.svn.wordpress.org/trunk@5896 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-17 21:22:37 +00:00
Matt Mullenweg
69a3980bc7 Switch to init action. Hat tip: westi. See #1476
git-svn-id: https://develop.svn.wordpress.org/trunk@5894 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-17 13:28:45 +00:00
Matt Mullenweg
f6c6582ff3 First pass at upgrade notification for core, see #1476. Also includes some minor footer styling changes.
git-svn-id: https://develop.svn.wordpress.org/trunk@5892 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-17 10:33:52 +00:00
Mark Jaquith
11da2ac829 Oops... forgot the svn add. Thanks mdawaffe. see #4554
git-svn-id: https://develop.svn.wordpress.org/trunk@5891 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-17 03:45:59 +00:00
Ryan Boren
b6f4407016 Don't update comments feed last-modified header for unapproved comments. Props James Ballantine and Nazgul. fixes #4618 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5885 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-16 19:26:01 +00:00
Ryan Boren
641e19c977 Use dc:creator instead of author for rss2 comment feeds. Props lexhair, Otto42. fixes #4704 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5881 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-16 18:34:57 +00:00
Ryan Boren
ff86e9f0c2 Advanced Toolbar shortcut hint fix from leonid. fixes #4707
git-svn-id: https://develop.svn.wordpress.org/trunk@5880 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-16 18:17:54 +00:00
Ryan Boren
820d43f538 Set instead of add since the cache value has multiple keys that can change. Props josephscott. fixes #4743
git-svn-id: https://develop.svn.wordpress.org/trunk@5879 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-16 18:12:12 +00:00
Ryan Boren
62f1de6322 Pass args as array instead of query string.
git-svn-id: https://develop.svn.wordpress.org/trunk@5876 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-16 18:00:47 +00:00
Ryan Boren
669d471fed Category union and intersection query vars. fixes #4750
git-svn-id: https://develop.svn.wordpress.org/trunk@5873 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-15 22:08:51 +00:00
Ryan Boren
3fabbf07a6 Typo fix
git-svn-id: https://develop.svn.wordpress.org/trunk@5872 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-15 21:54:02 +00:00
Ryan Boren
1e61bd9879 get_the_tag_list from andy. fixes #4733
git-svn-id: https://develop.svn.wordpress.org/trunk@5871 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-14 03:44:49 +00:00
Ryan Boren
1b36113b6a Space before slash to properly close br tag. Props tmountjr. fixes #4717
git-svn-id: https://develop.svn.wordpress.org/trunk@5870 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-14 03:12:24 +00:00
Ryan Boren
3927faeee5 wp_update_comment_count hook from mdawaffe. fixes #4740
git-svn-id: https://develop.svn.wordpress.org/trunk@5869 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-14 03:08:44 +00:00
Ryan Boren
44afc295c3 Update in_category() to use object term cache API. Props technosailor. fixes #4442
git-svn-id: https://develop.svn.wordpress.org/trunk@5868 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-14 03:01:26 +00:00
Ryan Boren
3e5d2230d2 Use opendir instead of dir. Props nbachiyski. fixes #4450
git-svn-id: https://develop.svn.wordpress.org/trunk@5867 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-14 02:58:33 +00:00
Ryan Boren
9d8324b07b wp_update_term_count fixes from cavemonkey50. fixes #4500
git-svn-id: https://develop.svn.wordpress.org/trunk@5866 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-14 02:54:02 +00:00
Ryan Boren
ebf9ab90b6 sanitize the value, not the field. Props cavemonkey50. fixes #4651
git-svn-id: https://develop.svn.wordpress.org/trunk@5865 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-14 02:46:06 +00:00
Matt Mullenweg
3b8b2a649a A more elegant way of doing get_col.
git-svn-id: https://develop.svn.wordpress.org/trunk@5861 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-10 19:30:24 +00:00
Mark Jaquith
91a88550f1 Prevent get_col() from returning an array of NULLs. see #4725
git-svn-id: https://develop.svn.wordpress.org/trunk@5860 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-10 18:08:04 +00:00
Mark Jaquith
c441bc3d96 globalize wp_version so Magpie can use it. props Nazgul, hakre. fixes #3996
git-svn-id: https://develop.svn.wordpress.org/trunk@5859 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-10 08:07:53 +00:00
Matt Mullenweg
5dfab7711f If you don't have anything nice to say, don't say anything at all. (And certainly don't return the results of a previous query to an empty query.)
git-svn-id: https://develop.svn.wordpress.org/trunk@5858 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-10 01:33:56 +00:00
Mark Jaquith
8cdb0045f1 explicitly check next() against FALSE when iterating through filters. Props Denis-de-Bernardy, Otto42, Nazgul, santosj (go team effort!). fixes #4625 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5857 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-08 17:41:46 +00:00
Mark Jaquith
c974ff5406 Avoid running get_posts filter twice. Props DD32. fixes #4712
git-svn-id: https://develop.svn.wordpress.org/trunk@5855 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-08 04:24:44 +00:00
Mark Jaquith
d2cc17e629 Clear old future post cron entry before creating the authoritative one. Props Barry. fixes #4710
git-svn-id: https://develop.svn.wordpress.org/trunk@5853 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-08 04:08:06 +00:00
Mark Jaquith
d4e644f226 Fix class-smtp.php typo. Props Nazgul, tension7. fixes #4700
git-svn-id: https://develop.svn.wordpress.org/trunk@5852 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-05 18:13:24 +00:00
Mark Jaquith
0885f81d08 Allow for hour/minute/second values in the QS that evaluate as false (like 0). Props Otto42 and agharbeia. fixes #4499
git-svn-id: https://develop.svn.wordpress.org/trunk@5848 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-04 16:30:27 +00:00
Matt Mullenweg
2ca236c045 If no user ID for whatever reason, bail early.
git-svn-id: https://develop.svn.wordpress.org/trunk@5847 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-04 03:58:42 +00:00
Mark Jaquith
e86bf7e19f function_exists() wrapper around fetch_rss() to allow for plugin replacement. Props Otto42. see #4547
git-svn-id: https://develop.svn.wordpress.org/trunk@5845 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-03 01:39:36 +00:00
Mark Jaquith
c82cd99e96 Allow pre_option_ filters to return values that evaluate as false. fixes #4695
git-svn-id: https://develop.svn.wordpress.org/trunk@5842 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-02 22:51:42 +00:00
Mark Jaquith
c4889d1f21 add_option()/update_option() should pass the option name to get_option() pre-escaped. fixes #4690 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5829 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-01 19:14:10 +00:00
Mark Jaquith
ac7bd8d13a Use "home," not "siteurl" for widget dropdown category URLs. Props Pastinakel. fixes #4683 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5823 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-30 16:23:04 +00:00
Mark Jaquith
593eca6f21 ABSPATH already has a trailing slash. Props Nazgul. fixes #4607
git-svn-id: https://develop.svn.wordpress.org/trunk@5820 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-27 21:28:01 +00:00
Ryan Boren
e83be1d2ca In your cats, making them back compat.
git-svn-id: https://develop.svn.wordpress.org/trunk@5818 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-25 03:04:46 +00:00
Ryan Boren
706c581757 Don't forget to filter post_category
git-svn-id: https://develop.svn.wordpress.org/trunk@5817 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-24 22:29:41 +00:00
Ryan Boren
3982fc6ae8 fix FF bug in write screen: post status change on reload. Props mdawaffe. fixes #4664
git-svn-id: https://develop.svn.wordpress.org/trunk@5816 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-24 21:40:58 +00:00
Peter Westwood
45226eae66 Only enable gzip compression if it is not enabled in php.ini. Fixes #4426
git-svn-id: https://develop.svn.wordpress.org/trunk@5810 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-18 21:12:22 +00:00
Ryan Boren
dd51d69fb3 Revert jcalendar date picker experiment. Save it for another day. fixes #4641
git-svn-id: https://develop.svn.wordpress.org/trunk@5808 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-17 19:26:03 +00:00
Ryan Boren
810ebfe299 AND get_terms() field queries
git-svn-id: https://develop.svn.wordpress.org/trunk@5807 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-17 02:02:52 +00:00
Ryan Boren
fbf238ca99 Eliminate post_pingback stuff since we always use default_pingback_flag. fixes pingback problems caused by [5797] for #4620
git-svn-id: https://develop.svn.wordpress.org/trunk@5806 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-16 23:11:51 +00:00
Ryan Boren
1c5c2aee5c Make balanceTags() option independent. Props mdawaffe. fixes #4626
git-svn-id: https://develop.svn.wordpress.org/trunk@5805 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-16 19:23:41 +00:00
Ryan Boren
bd72aa8e00 jquery data selector for post timestamps. Props tellyworth. fixes #4641
git-svn-id: https://develop.svn.wordpress.org/trunk@5804 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-16 19:22:27 +00:00
Ryan Boren
4c70bb896e Show upload file size in upload browser. Props tellyworth. fixes #4561
git-svn-id: https://develop.svn.wordpress.org/trunk@5801 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-15 17:52:50 +00:00
Ryan Boren
c315fbacdb Fix variable name. Props bgracewood. fixes #4621
git-svn-id: https://develop.svn.wordpress.org/trunk@5797 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-12 16:00:51 +00:00
Ryan Boren
9fe6a868ca Post filter rework. see #4546
git-svn-id: https://develop.svn.wordpress.org/trunk@5796 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-11 19:57:43 +00:00
Ryan Boren
f1dfa6dec0 Don't load all includes by default. We have our own script loader. fixes #4512
git-svn-id: https://develop.svn.wordpress.org/trunk@5794 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-09 21:22:38 +00:00
Ryan Boren
9d34d5cdef Bump scriptaculous ver in script loader. fixes #4512
git-svn-id: https://develop.svn.wordpress.org/trunk@5793 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-09 20:20:34 +00:00
Ryan Boren
e99c75ddf5 Update to scriptaculous 1.7.1_beta3. Props Nazgul. fixes #4512
git-svn-id: https://develop.svn.wordpress.org/trunk@5792 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-09 20:14:28 +00:00
Mark Jaquith
bd75df9d1e Undo pre-doublequoting in prepare(). Props JeremyVisser. see #4553
git-svn-id: https://develop.svn.wordpress.org/trunk@5791 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-09 17:55:32 +00:00
Ryan Boren
29053671df Update jquery to 1.1.3.1. Fixes http://bugs.kde.org/show_bug.cgi?id=147661
git-svn-id: https://develop.svn.wordpress.org/trunk@5790 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-08 21:10:14 +00:00
Mark Jaquith
3e87a2b88d Properly unset notoptions cache in add_option() so that get_option() and update_option() work on the same load. fixes #4429 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5788 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-07 04:06:29 +00:00
Mark Jaquith
13d390e40f Pass extra args to pre_kses hook. Props mdawaffe. see #4409
git-svn-id: https://develop.svn.wordpress.org/trunk@5787 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-06 22:47:24 +00:00
Ryan Boren
8817ee2c8e Resurrect noquery
git-svn-id: https://develop.svn.wordpress.org/trunk@5784 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-06 20:45:46 +00:00
Mark Jaquith
258e179448 Entitize lone less-than characters. Props mdawaffe. fixes #4409
git-svn-id: https://develop.svn.wordpress.org/trunk@5783 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-06 12:53:15 +00:00
Ryan Boren
538cbd0046 Don't richedit for comments. Props Joseph Scott. fixes #4587 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5780 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-05 20:11:32 +00:00
Mark Jaquith
0ccba3e8bb Automatically quote strings in $wpdb->prepare(). Use vsprintf(). see #4553
git-svn-id: https://develop.svn.wordpress.org/trunk@5779 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-05 17:32:46 +00:00
Mark Jaquith
b0b9c7946b Introducing "prepare", a WPDB method for sprintf()-prepared SQL statements. see #4553. Implementation details to follow.
git-svn-id: https://develop.svn.wordpress.org/trunk@5778 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-04 16:18:57 +00:00
Mark Jaquith
408ad189aa Make it possible for a plugin to replace the feed-parsing engine. see: #4547
git-svn-id: https://develop.svn.wordpress.org/trunk@5776 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-03 18:10:20 +00:00
Matt Mullenweg
0f41997422 Upgrade to jQuery 1.1.3, fixes #4576
git-svn-id: https://develop.svn.wordpress.org/trunk@5775 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-02 23:57:52 +00:00
Ryan Boren
35f2f13526 Delete term relationship only for the given object.
git-svn-id: https://develop.svn.wordpress.org/trunk@5774 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-02 15:47:27 +00:00
Mark Jaquith
de83c2db51 Mark pingback as already pinged when the target site says it already got the pingback. props mdawaffe. fixes #4289
git-svn-id: https://develop.svn.wordpress.org/trunk@5772 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-27 23:28:36 +00:00
Ryan Boren
aa85dfe187 Allow rules to be added to the top of the rule stack.
git-svn-id: https://develop.svn.wordpress.org/trunk@5769 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-27 21:39:50 +00:00
Mark Jaquith
bf00906f7a Fix typo in get_the_author_url(). props pgdx. fixes #4542
git-svn-id: https://develop.svn.wordpress.org/trunk@5767 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-27 00:51:04 +00:00
Mark Jaquith
94563d9f33 Correctly grab Content-Type from old-school headers, skip blank headers. fixes #4296
git-svn-id: https://develop.svn.wordpress.org/trunk@5764 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-26 20:18:56 +00:00
Mark Jaquith
b614486625 Don't add MIME-Version header twice (PHPMailer already adds it). see #4296
git-svn-id: https://develop.svn.wordpress.org/trunk@5763 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-26 19:11:23 +00:00
Mark Jaquith
e51152beb3 compare mail headers case-insensitively and actually use the Content-Type specified. Props Nazgul. see: #4296
git-svn-id: https://develop.svn.wordpress.org/trunk@5762 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-26 18:28:56 +00:00
Mark Jaquith
d0bb265782 strpos() is "haystack,needle", not "needle,haystack" Props pishmishy. fixes #4520
git-svn-id: https://develop.svn.wordpress.org/trunk@5761 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-26 18:06:17 +00:00
Ryan Boren
66ec9bee20 Add name_like query to get_terms(). Use it in suggestCategories.
git-svn-id: https://develop.svn.wordpress.org/trunk@5756 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-25 21:28:19 +00:00
Ryan Boren
b692c7395f s/cat_name/name/ see #4537
git-svn-id: https://develop.svn.wordpress.org/trunk@5755 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-25 20:06:02 +00:00
Ryan Boren
8133ebad65 s/cat_name/name/ see #4537
git-svn-id: https://develop.svn.wordpress.org/trunk@5754 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-25 19:51:26 +00:00
Ryan Boren
72be6cb001 Move the_title filter to get_the_title. Props jhodgdon. fixes #4477
git-svn-id: https://develop.svn.wordpress.org/trunk@5752 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-25 17:48:35 +00:00
Mark Jaquith
f3de8f4aab Don't init widgets if the blog isn't installed yet. fixes #4504
git-svn-id: https://develop.svn.wordpress.org/trunk@5747 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-23 05:32:16 +00:00
Mark Jaquith
f6f946df9a Upgrade to Prototype 1.5.1.1 (bugfix release). Props Nazgul. fixes #4502
git-svn-id: https://develop.svn.wordpress.org/trunk@5743 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-21 22:01:21 +00:00
Ryan Boren
f63d130503 Term count fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@5741 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-21 15:46:49 +00:00
Ryan Boren
fdb786ba7f Don't create '0' categories. fixes #4413
git-svn-id: https://develop.svn.wordpress.org/trunk@5739 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-20 22:06:29 +00:00
Ryan Boren
d907ae8841 js_escape improvements from Alexander Concha. Catches &#39 &#039 ' ' ' ' &#x000027 etc.
git-svn-id: https://develop.svn.wordpress.org/trunk@5734 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-19 22:46:55 +00:00
rob1n
ad84c8381a Change references of get_object_terms() to wp_get_object_terms(). fixes #4490
git-svn-id: https://develop.svn.wordpress.org/trunk@5728 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-19 18:03:12 +00:00
rob1n
a1f451b72a Fix up wp_list_authors() SQL. fixes #4485
git-svn-id: https://develop.svn.wordpress.org/trunk@5727 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-19 17:57:53 +00:00
Ryan Boren
7df77b79b9 Add some taxonomy validation. Rearrange funcs.
git-svn-id: https://develop.svn.wordpress.org/trunk@5726 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-19 00:33:44 +00:00
Ryan Boren
5bac944f80 Upgrade code for multiple category widgets. Props Andy. see #4285
git-svn-id: https://develop.svn.wordpress.org/trunk@5717 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-16 02:03:25 +00:00
Ryan Boren
6177fec7fa Don't use permalinks for pending posts. see #4446
git-svn-id: https://develop.svn.wordpress.org/trunk@5716 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-15 22:11:01 +00:00
rob1n
55845bb061 Show the name, not the slug. fixes #4473
git-svn-id: https://develop.svn.wordpress.org/trunk@5715 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-15 18:26:43 +00:00
Ryan Boren
6b7bc3b1b6 wp_parse_str() from mdawaffe. see #4467
git-svn-id: https://develop.svn.wordpress.org/trunk@5709 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 22:46:59 +00:00
Ryan Boren
09da00f7fe Use EXTR_SKIP when extracting. see #4468
git-svn-id: https://develop.svn.wordpress.org/trunk@5708 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 22:45:40 +00:00
Mark Jaquith
0f0788d24d Introducing post_status="pending". see #4446 and put any initial bug reports on that ticket
git-svn-id: https://develop.svn.wordpress.org/trunk@5707 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 16:24:28 +00:00
Mark Jaquith
2a6e8a08be use FALSE to designate lack of user-supplied URL in *_query_arg() funcs. fixes #4465 for 2.3 (trunk)
git-svn-id: https://develop.svn.wordpress.org/trunk@5705 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 05:12:22 +00:00
Mark Jaquith
e542bbdde1 only strip question marks from the RIGHT side of the query string. fixes #4464 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5704 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 04:44:06 +00:00
rob1n
eb1518f95e Use display_name instead. Props Pal Gronas Drange. fixes #4459
git-svn-id: https://develop.svn.wordpress.org/trunk@5701 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:30:26 +00:00
Ryan Boren
b046d67f41 Trim empty lines. Nothing but newline.
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
Ryan Boren
0f4225621d Don't output author uri tag if uri is empty.
git-svn-id: https://develop.svn.wordpress.org/trunk@5699 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-13 18:03:17 +00:00
rob1n
60794fc8e2 wp_rss() updates. fixes #3834
git-svn-id: https://develop.svn.wordpress.org/trunk@5698 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-13 17:23:38 +00:00
Mark Jaquith
37b3dc98fe correct CSS link for install. Props Viper007Bond. fixes #4443
git-svn-id: https://develop.svn.wordpress.org/trunk@5694 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-13 06:33:17 +00:00
Matt Mullenweg
526eac00b8 Update in_category to use the new object_term_cache, it wasn't so much with the working before.
git-svn-id: https://develop.svn.wordpress.org/trunk@5693 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-13 00:16:33 +00:00
rob1n
019eff6399 Don't include HTML in gettext call. Props nbachiyski and Nazgul. fixes #4437
git-svn-id: https://develop.svn.wordpress.org/trunk@5688 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-12 21:48:55 +00:00
Mark Jaquith
ce7fd94edf Force $autoload to be either "yes" or "no". see #4440. props Nazgul
git-svn-id: https://develop.svn.wordpress.org/trunk@5686 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-12 20:57:58 +00:00
Mark Jaquith
78c8d3f3f6 Make sure post titles longer than 200 chars get unique slugs. fixes #4433. props AaronCampbell.
git-svn-id: https://develop.svn.wordpress.org/trunk@5685 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-12 20:49:40 +00:00
Ryan Boren
d993430968 Add a prophylactic sanitize_user()
git-svn-id: https://develop.svn.wordpress.org/trunk@5683 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-12 18:11:06 +00:00
Ryan Boren
edeae9cc8e escapeshellarg the sender
git-svn-id: https://develop.svn.wordpress.org/trunk@5682 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-11 23:19:33 +00:00
rob1n
f7d1916e11 Maintain "Page order" for consistency. fixes #4431
git-svn-id: https://develop.svn.wordpress.org/trunk@5677 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-11 21:11:40 +00:00
rob1n
96dac9ed94 Revert multiple category stuff. see #4285
git-svn-id: https://develop.svn.wordpress.org/trunk@5675 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-09 00:59:14 +00:00
rob1n
1367219198 Some more multiple category widget stuff. see #4285
git-svn-id: https://develop.svn.wordpress.org/trunk@5673 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-08 22:50:37 +00:00
rob1n
4726ebca94 Add support for multiple instances of the category widget. see #4285
git-svn-id: https://develop.svn.wordpress.org/trunk@5669 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-08 14:49:30 +00:00
Ryan Boren
163f22deb5 Comment caching. Reduce queries on edit-comments.php page. Add non-persistent cache groups. Hat tip to hovenko. fixes #4387
git-svn-id: https://develop.svn.wordpress.org/trunk@5666 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-08 00:20:22 +00:00
Ryan Boren
e1ef29586c Use get_term_children() and get_term_field(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5660 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-06 16:13:12 +00:00
Ryan Boren
09c96b4292 Fix category renaming. fixes #4415 see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5658 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-06 16:10:52 +00:00
Ryan Boren
400c2064ad Term sanitization. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5652 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-05 00:57:23 +00:00
Ryan Boren
ce17f71ccb Fix link category dropdown and filter. Add some back compat to get_categories. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5642 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-03 17:28:27 +00:00
rob1n
12c2ef6be0 Content-Type, not Content-type, as headers are case sensitive. Props foolswisdom and Nazgul. fixes #3545
git-svn-id: https://develop.svn.wordpress.org/trunk@5640 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 05:21:18 +00:00
rob1n
8998b56e76 wp_mail() rewrite that handles HTML mail. fixes #4296
git-svn-id: https://develop.svn.wordpress.org/trunk@5639 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 03:18:24 +00:00
rob1n
8dc0ba5036 phpDoc effort for wp-includes/author-template.php. fixes #4393
git-svn-id: https://develop.svn.wordpress.org/trunk@5638 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 03:04:01 +00:00
Ryan Boren
67013eb065 Separate AJAX cat adder into post and link flavors. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5637 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 02:53:09 +00:00
rob1n
42a1f116d5 Move JavaScript to js subfolder, and CSS to css subfolder. see #4334
git-svn-id: https://develop.svn.wordpress.org/trunk@5631 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 00:37:51 +00:00
rob1n
e2513b5643 Keep greedy regex's in control. fixes #4165
git-svn-id: https://develop.svn.wordpress.org/trunk@5630 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 00:02:06 +00:00
rob1n
e6d32e8761 Move uploads JS to jQuery. Props filosofo. see #3824
git-svn-id: https://develop.svn.wordpress.org/trunk@5629 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 23:52:27 +00:00
rob1n
21ad1a92f8 phpDoc for wp-includes/registration.php. fixes #4383
git-svn-id: https://develop.svn.wordpress.org/trunk@5627 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 23:13:41 +00:00
rob1n
a79b7c6772 Fix a strpos typo. fixes #4390
git-svn-id: https://develop.svn.wordpress.org/trunk@5626 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 23:10:03 +00:00
rob1n
747a7a14f4 Fix wp_title single post title filters. Props jhodgdon. fixes #3755
git-svn-id: https://develop.svn.wordpress.org/trunk@5625 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 22:54:46 +00:00
Mark Jaquith
9a4c736b19 Allow wp_list_authors() to optionally return. fixes #4323. see #3567.
git-svn-id: https://develop.svn.wordpress.org/trunk@5624 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 05:43:24 +00:00
rob1n
d6bf26da3c Fix nestable HTML, including <blockquote>'s. Props anonymousbugger (!) and Nazgul. fixes #1170
git-svn-id: https://develop.svn.wordpress.org/trunk@5623 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 02:33:03 +00:00
Ryan Boren
9aae8013a8 query by parent, not child_of, in get_nested_categories(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5622 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 02:24:07 +00:00
Mark Jaquith
2731fd5a54 get_bloginfo("comments_atom_url") now works properly. fixes #4382 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5619 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 22:44:21 +00:00
Mark Jaquith
3cc7b4cbe3 correct "type" in Atom comments feed alternate links. fixes #4381 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5617 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 22:13:06 +00:00
Ryan Boren
0b91f4aaca Abstract object term cache a bit more. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5616 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 21:38:33 +00:00
rob1n
46745ee278 Don't translate "you haven't installed" text yet, because text domain isn't installed. Props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@5615 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 12:29:46 +00:00
rob1n
c92fe17918 Bring tinyspell.php into sync. Props Nazgul. fixes #4368
git-svn-id: https://develop.svn.wordpress.org/trunk@5614 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 12:22:06 +00:00
rob1n
a1bedd8f11 Fix variable typo. Props schulte. fixes #4374
git-svn-id: https://develop.svn.wordpress.org/trunk@5613 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:51:03 +00:00
Ryan Boren
b4d7d80744 If a term has no children, return an empty array for child_of queries. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5612 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:44:18 +00:00
rob1n
5d7ce647d2 Some more get_pagenum_link() fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@5611 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:36:40 +00:00
rob1n
3b60a5107b Fix get_pagenum_link() for query strings. fixes #3930
git-svn-id: https://develop.svn.wordpress.org/trunk@5610 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:29:44 +00:00
rob1n
f0cd9cb22a Fix some typos in query.php. Props schulte. fixes #4373
git-svn-id: https://develop.svn.wordpress.org/trunk@5609 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:19:38 +00:00
rob1n
8233bb1c4f Add option to exclude pages to pages widget. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5605 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 01:57:10 +00:00
rob1n
7e281b4507 Prototype fix to keep Safari < 2 from blowing up. fixes #4363
git-svn-id: https://develop.svn.wordpress.org/trunk@5604 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 01:38:11 +00:00
rob1n
91d0e796ef Check that tinyMCE is defined. Props johnbillion. fixes #4257
git-svn-id: https://develop.svn.wordpress.org/trunk@5602 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 00:24:31 +00:00
rob1n
4fec7327ed Upgrade TinyMCE spell checker to 1.0.5. fixes #4368
git-svn-id: https://develop.svn.wordpress.org/trunk@5601 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 00:21:55 +00:00
Ryan Boren
55e37c4843 Fix slug queries. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5599 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-30 21:50:57 +00:00
Ryan Boren
5a8598cd15 Some term caching. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5598 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-30 03:36:59 +00:00
Ryan Boren
18c1cade87 Category hierarchy fixes. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5597 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-30 01:39:47 +00:00
Ryan Boren
1bb6925679 Add ignore_empty option to wp_count_terms(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5596 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-30 01:05:44 +00:00
Ryan Boren
7480586494 Add missing taxonomy argument. Props nbachiyski. fixes #4362 see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5595 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 23:06:46 +00:00
Ryan Boren
479ecdf5f8 Fix listing of categories with parents. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5594 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 21:50:00 +00:00
Ryan Boren
cfa5ecfd4b get_term_children() and category query fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@5593 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 21:27:49 +00:00
Ryan Boren
e0bf0ffa02 Use taxonomy instead of post2cat. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5592 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 16:52:31 +00:00
Mark Jaquith
1a08c04371 switch to term_id and name for category sorting. see #4189. sort by term_id for category permalinks, by name for get_the_category(). fixes #4335 for trunk. Props Erik Barzeski for the find.
git-svn-id: https://develop.svn.wordpress.org/trunk@5590 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 04:54:45 +00:00
Ryan Boren
442ef7253a Post and page management filter additions from mdawaffe. see #3945
git-svn-id: https://develop.svn.wordpress.org/trunk@5587 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 04:28:10 +00:00
Ryan Boren
c4bb18caa6 Use API instead of SELECT. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5586 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 04:26:36 +00:00
Ryan Boren
ac1db497fc get_objects_in_term()
git-svn-id: https://develop.svn.wordpress.org/trunk@5585 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 04:25:09 +00:00
Mark Jaquith
d7ed90532a declare $user_ID global in load_template(). fixes #4354.
git-svn-id: https://develop.svn.wordpress.org/trunk@5581 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 21:32:35 +00:00
rob1n
6b9af86a5c Add a is_user_logged_in() check.
git-svn-id: https://develop.svn.wordpress.org/trunk@5579 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 20:39:24 +00:00
rob1n
b906e9dd95 Update TinyMCE to 2.1.1.1 (look at all those 1's...). fixes #4262
git-svn-id: https://develop.svn.wordpress.org/trunk@5577 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 19:30:05 +00:00
Ryan Boren
13dade0e8d Fix category permalinks. Update cat_ID to term_id. fixes #4349 see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5576 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 18:47:08 +00:00
Ryan Boren
c9b37847ce Better draft, private, and future post/page management from mdawaffe. fixes #3945
git-svn-id: https://develop.svn.wordpress.org/trunk@5575 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 18:34:06 +00:00