Commit Graph

2783 Commits

Author SHA1 Message Date
Ryan Boren
09e793a837 Fix term count padding.
git-svn-id: https://develop.svn.wordpress.org/trunk@6159 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-23 00:35:59 +00:00
Ryan Boren
c93bdc05d1 Term with slug that conflicts with existing term with different parent gets a new term entry with a unique slug. see #5034
git-svn-id: https://develop.svn.wordpress.org/trunk@6157 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 18:01:08 +00:00
Ryan Boren
4e45315a83 Don't reset parent when updating attachment. Props filosofo and michelwp. fixes #5010
git-svn-id: https://develop.svn.wordpress.org/trunk@6155 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 16:30:40 +00:00
Mark Jaquith
1c934d962c Add tag_base to list of untrailingslashed options, and standardize the unslashing. Prevents /mytags//tagname/
git-svn-id: https://develop.svn.wordpress.org/trunk@6153 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 06:11:48 +00:00
Mark Jaquith
381dc189dd Fix PATH_INFO first page paging link. fixes #5039
git-svn-id: https://develop.svn.wordpress.org/trunk@6152 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 06:07:03 +00:00
Mark Jaquith
ccad303433 Core and plugin update checking: make sure fsockopen() is available and check file resources with is_resource() -- both to prevent feof() infinite loops. Props xknown. fixes #5037
git-svn-id: https://develop.svn.wordpress.org/trunk@6151 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 00:08:50 +00:00
Ryan Boren
856779888e Revert [5969]. It can break permalinks. see #4739
git-svn-id: https://develop.svn.wordpress.org/trunk@6150 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-21 19:36:12 +00:00
Ryan Boren
5aecb8912f Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: https://develop.svn.wordpress.org/trunk@6148 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-21 15:51:00 +00:00
Mark Jaquith
a6b8fe6c3a Pass the attempted redirect host as a second parameter in the allowed_redirect_hosts filter. props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@6145 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-20 21:53:42 +00:00
Ryan Boren
4d35d6b824 Always remove index.php from request before contructing page links. fixes #5000
git-svn-id: https://develop.svn.wordpress.org/trunk@6144 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-20 20:56:22 +00:00
Mark Jaquith
2aa1dc4038 Remove trailing /index.php fixing from canonical.php ... Thanks chaoticmortalcom. fixes #5017
git-svn-id: https://develop.svn.wordpress.org/trunk@6143 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-20 20:25:43 +00:00
Ryan Boren
759c182911 Bail if post is empty. Props mdawaffe. fixes #5019
git-svn-id: https://develop.svn.wordpress.org/trunk@6142 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-20 18:25:14 +00:00
Ryan Boren
59a07b76a9 Don't specialchars markup in term description. fixes #5021
git-svn-id: https://develop.svn.wordpress.org/trunk@6141 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-20 18:23:33 +00:00
Ryan Boren
6406e9bbeb Extra protection in check_ajax_referer from mdawaffe. fixes #4939
git-svn-id: https://develop.svn.wordpress.org/trunk@6138 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 19:32:34 +00:00
Ryan Boren
6e8eb02d73 Fix includes for setup-config so that wp_die is defined. Props DD32. fixes #4997
git-svn-id: https://develop.svn.wordpress.org/trunk@6137 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 04:27:56 +00:00
Mark Jaquith
38a6848169 Put a filter in wp_safe_redirect() so people can whitelist other domains. see #4606
git-svn-id: https://develop.svn.wordpress.org/trunk@6136 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 04:14:53 +00:00
Ryan Boren
7738085d0f RC1
git-svn-id: https://develop.svn.wordpress.org/trunk@6135 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 04:14:27 +00:00
Mark Jaquith
9b5fd1b17c More robust wp_safe_redirect(). Introducing wp_sanitize_redirect() for use in wp_redirect() and wp_safe_redirect(). fixes #4606
git-svn-id: https://develop.svn.wordpress.org/trunk@6134 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 03:47:37 +00:00
Ryan Boren
776b930d7f Script loader cleanup from mdawaffe. fixes #5003
git-svn-id: https://develop.svn.wordpress.org/trunk@6133 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 00:51:21 +00:00
Ryan Boren
ec05e6cfd7 the_title_attribute(). Props Nazgul. fixes #4731
git-svn-id: https://develop.svn.wordpress.org/trunk@6132 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 22:50:59 +00:00
Mark Jaquith
421356b6b8 Introducing wp_safe_redirect(). fixes #4606 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6131 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 22:23:16 +00:00
Ryan Boren
7941b7160a Revert rename of more-link class. Props foolswisdom. fixes #4999
git-svn-id: https://develop.svn.wordpress.org/trunk@6128 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:44:35 +00:00
Ryan Boren
7977cdd349 Drop old tables. Props Nazgul. fixes #4995
git-svn-id: https://develop.svn.wordpress.org/trunk@6126 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:37:21 +00:00
Ryan Boren
5917c5458c Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: https://develop.svn.wordpress.org/trunk@6125 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:32:22 +00:00
Mark Jaquith
37d5915b8e Use maybe_unserialize() in get_usermeta(). Props filosofo. fixes #4993
git-svn-id: https://develop.svn.wordpress.org/trunk@6124 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-17 19:19:55 +00:00
Ryan Boren
aed5679ace Don't lose tags when saving a post with attachments. Props filosofo. fixes #4532
git-svn-id: https://develop.svn.wordpress.org/trunk@6121 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-16 02:36:23 +00:00
Matt Mullenweg
092bbfb049 Sometimes the $page global is set but it's just an integer, like 1, not an object which we should try to address and put in the cache. The page would work but we'd do spurious wp_cache_add
git-svn-id: https://develop.svn.wordpress.org/trunk@6120 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-15 21:52:37 +00:00
Matt Mullenweg
c1eda9c8c6 Because we're modifying an existing cache variable we need to do a _set, not an _add, like we do other places we stick multiple cache values in a single var and key.
git-svn-id: https://develop.svn.wordpress.org/trunk@6119 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-15 21:50:53 +00:00
Peter Westwood
0675c6fc51 Set svn:eol-style on a few files.
git-svn-id: https://develop.svn.wordpress.org/trunk@6118 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-15 17:35:32 +00:00
Matt Mullenweg
9a1ce32a53 Incorrect cache group was causing terms never to get cached.
git-svn-id: https://develop.svn.wordpress.org/trunk@6117 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-15 16:48:29 +00:00
Mark Jaquith
f372b1dd05 Canonical fixes: Allow Pages to have /page/x/. Always trailing slash home when it is not paged. Strip extra trailing slashes off of /page/x///
git-svn-id: https://develop.svn.wordpress.org/trunk@6115 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-14 19:41:23 +00:00
Ryan Boren
3db6ccefb0 Deprecate fakeit arg. Props Nazgul. fixes #4439
git-svn-id: https://develop.svn.wordpress.org/trunk@6114 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 21:27:26 +00:00
Mark Jaquith
6f76f4865d Handle ports for canonical redirects. Props driverkt and westi. fixes #4970
git-svn-id: https://develop.svn.wordpress.org/trunk@6112 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 19:24:05 +00:00
Mark Jaquith
2b72a424fc Just some indent fixes in canonical.php
git-svn-id: https://develop.svn.wordpress.org/trunk@6111 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 19:12:53 +00:00
Mark Jaquith
5d12c48818 Use wp_die() for WPDB bails. Send 500 response and no-cache headers so wp_die()s are not cached. props DD32. fixes #3471
git-svn-id: https://develop.svn.wordpress.org/trunk@6110 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 06:23:23 +00:00
Ryan Boren
2e0f3b30e8 s/onChange/onchange/. Props grubgirl, Nazgul. fixes #4630
git-svn-id: https://develop.svn.wordpress.org/trunk@6109 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 05:33:54 +00:00
Mark Jaquith
ff71837a58 De-rabbit-hole compat.php
git-svn-id: https://develop.svn.wordpress.org/trunk@6108 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 05:24:31 +00:00
Mark Jaquith
15be7fdab8 Check for apply_filters() in status_header() so that it can be called early on in load process
git-svn-id: https://develop.svn.wordpress.org/trunk@6107 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 05:00:46 +00:00
Ryan Boren
05d9662d3e no follow callback
git-svn-id: https://develop.svn.wordpress.org/trunk@6105 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 04:51:33 +00:00
Mark Jaquith
d2b1b4ec3b Move $wp_header_to_desc array to get_status_header_desc() so that it can be called before vars.php is loaded.
git-svn-id: https://develop.svn.wordpress.org/trunk@6104 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 04:48:41 +00:00
Mark Jaquith
f5821a6ff7 Plugins are not loaded at this point, so the wp_header_to_desc_array filter is useless
git-svn-id: https://develop.svn.wordpress.org/trunk@6103 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 04:13:32 +00:00
Ryan Boren
e0b73aa55a Don't strip slashes from pre. Props DelGurth and mdawaffe. fixes #2059
git-svn-id: https://develop.svn.wordpress.org/trunk@6102 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 04:11:21 +00:00
Mark Jaquith
74cddbcf72 fix links generated by get_category_rss_link(). props gwagenknecht. fixes #4550 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6100 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 22:24:28 +00:00
Mark Jaquith
23eba5ca0a Set $theme_loc correctly when ABSPATH is "/". Props arabek. fixes #4541
git-svn-id: https://develop.svn.wordpress.org/trunk@6099 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 22:19:26 +00:00
Mark Jaquith
41f61e4056 Set widget classname when passed string, object/method, object-reference/method. fixes #4910
git-svn-id: https://develop.svn.wordpress.org/trunk@6098 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 20:48:21 +00:00
Mark Jaquith
88c31f17b1 Ignore HOST capitalization differences for canonical redirects. props jbctech. fixes #4773
git-svn-id: https://develop.svn.wordpress.org/trunk@6097 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 20:44:41 +00:00
Peter Westwood
2c1f68efe3 Allow plugins to sanitize there own options easily.
git-svn-id: https://develop.svn.wordpress.org/trunk@6096 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 18:15:29 +00:00
Peter Westwood
41bd579f15 Ensure the parentlink is trailingslashed when building the url - don't trim / off the front. Fixes #2801 props Libertus
git-svn-id: https://develop.svn.wordpress.org/trunk@6095 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 17:46:13 +00:00
Peter Westwood
6eaa87a9a9 Consolidate shared code in get_userdata and get_userdatabylogin. Fixes #2134 props johnjosephbachir
git-svn-id: https://develop.svn.wordpress.org/trunk@6094 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 17:15:17 +00:00
Peter Westwood
df7d8eaacd Make the atom feed updated field actually tell you when the post was updated. Fixes #4816 props lapcat.
git-svn-id: https://develop.svn.wordpress.org/trunk@6093 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 16:26:39 +00:00
Ryan Boren
514fb8f764 More phpdoc for taxonomy from darkdragon. see #4742
git-svn-id: https://develop.svn.wordpress.org/trunk@6092 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 02:56:44 +00:00
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