Commit Graph

3160 Commits

Author SHA1 Message Date
markjaquith c5f9186919 Introducing db_insert() and db_update(), with immediate usage in wp_insert_post(). fixes #5178
git-svn-id: http://svn.automattic.com/wordpress/trunk@6221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-10 22:01:40 +00:00
markjaquith dec5db7586 check for a match against a lowercase host in wp_safe_redirect(). props BoltClock. fixes #5114 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-10 19:25:23 +00:00
ryan 40a2a02cb1 Output localized strings before outputting js. Props mdawaffe. fixes #5177 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-10 18:51:12 +00:00
markjaquith 90da0b6561 Revert partial prepare() implementation. Needs to be all or nothing. Props xknown. fixes #5145
git-svn-id: http://svn.automattic.com/wordpress/trunk@6216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 23:16:35 +00:00
ryan 44ca974c27 jquery for list manipulation. Round one, fight. Props mdawaffe. fixes #4805
git-svn-id: http://svn.automattic.com/wordpress/trunk@6214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 22:51:25 +00:00
ryan f8afc0b75d jquery for list manipulation. Round one, fight. Props mdawaffe. fixes #4805
git-svn-id: http://svn.automattic.com/wordpress/trunk@6213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 22:49:42 +00:00
ryan a8ede71d87 Force prototype to load before jquery. Props mdawaffe. fixes #5067 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 21:04:26 +00:00
markjaquith 60cde1b789 use type="text/javascript", not lang="javascript". Props dsiemon. fixes #5168
git-svn-id: http://svn.automattic.com/wordpress/trunk@6207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 04:13:36 +00:00
ryan b8febc8501 Apply filteres when returning empty array from get_pages. Props epper. fixes #4712 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-08 22:25:33 +00:00
westi 8ff0a0659a Move the WLW manifest related files to have proper WordPress naming scheme.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-08 20:21:29 +00:00
westi 395fd9fc29 Define $constaint is all cases in get_attachment_icon() to fix E_NOTICE. Fixed #5159 props richcon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-07 07:35:20 +00:00
westi f6234acb5d Add documentation of _wp_filter_build_unique_id(). Fixed #5053 props darkdragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-07 07:31:14 +00:00
westi e026d1dfa2 Move all calls to mysql_ functions to withiWPDB so that t we don't expect any mysql stuff when we are using a custo$wpdb class. Fixes #5127
props ComputerGuru.


git-svn-id: http://svn.automattic.com/wordpress/trunk@6199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-06 08:40:54 +00:00
westi 61f8b8f569 Move database class loading to a shared function to ensure all of WordPress is wp-content/wp-db.php aware. Fixes #5128 props ComputerGuru.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-06 08:18:33 +00:00
westi e9cfb43133 Centralise generator generation, move theme generator generation to wp-head hook. Fixes #5085, #4803. props docwhat, Viper007Bond.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-06 06:55:24 +00:00
ryan 60fdc763b6 WLW manifest from josephscott. fixes #5023 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-05 17:29:34 +00:00
ryan 7f61116c5b Add some spacing. fixes #5137 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-05 16:27:48 +00:00
ryan fe60a3ab06 New taxonomy intersection queries from xknown. fixes #5137
git-svn-id: http://svn.automattic.com/wordpress/trunk@6186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-04 18:10:03 +00:00
ryan 3211ab1d54 Add page sanitization. Props xknown. fixes #5135 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-03 16:27:07 +00:00
ryan 5300ef20cf Add sanitize_url. Don't convert ampersands in URLs when saving to DB. fixes #4411 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-03 16:16:55 +00:00
markjaquith 21c25b5566 prepare() for wp-includes/ link-template.php, post.php, general-template.php, pluggable.php, functions.php. see #4553
git-svn-id: http://svn.automattic.com/wordpress/trunk@6180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-02 18:45:47 +00:00
westi 0b23746c72 We're working on bleeding edge 2.4 stuff now
git-svn-id: http://svn.automattic.com/wordpress/trunk@6177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-29 10:56:53 +00:00
markjaquith 47955b3fae prepare() for wp-includes/ bookmark.php, canonical.php, comment.php, comment-template.php. see #4553
git-svn-id: http://svn.automattic.com/wordpress/trunk@6173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-27 07:34:15 +00:00
ryan 649cff7dc2 Fix typo in category widget class name. Props joostdevalk. fixes #5079 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-26 16:12:28 +00:00
matt 15372a22b6 bumpity
git-svn-id: http://svn.automattic.com/wordpress/trunk@6164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-25 00:34:43 +00:00
ryan a48973211c Fix typo. fixes #5061
git-svn-id: http://svn.automattic.com/wordpress/trunk@6161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-24 01:48:36 +00:00
ryan 8d349aa85c Add some filtering. Props jhodgdon. fixes #3595
git-svn-id: http://svn.automattic.com/wordpress/trunk@6160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-23 19:25:15 +00:00
ryan e76e370638 Fix term count padding.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-23 00:35:59 +00:00
ryan 683db28b4c 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: http://svn.automattic.com/wordpress/trunk@6157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 18:01:08 +00:00
ryan 72e74add8d Don't reset parent when updating attachment. Props filosofo and michelwp. fixes #5010
git-svn-id: http://svn.automattic.com/wordpress/trunk@6155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 16:30:40 +00:00
markjaquith 0fb4233fdf Add tag_base to list of untrailingslashed options, and standardize the unslashing. Prevents /mytags//tagname/
git-svn-id: http://svn.automattic.com/wordpress/trunk@6153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 06:11:48 +00:00
markjaquith c005340430 Fix PATH_INFO first page paging link. fixes #5039
git-svn-id: http://svn.automattic.com/wordpress/trunk@6152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 06:07:03 +00:00
markjaquith d3d447d6e9 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: http://svn.automattic.com/wordpress/trunk@6151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 00:08:50 +00:00
ryan 48813443db Revert [5969]. It can break permalinks. see #4739
git-svn-id: http://svn.automattic.com/wordpress/trunk@6150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-21 19:36:12 +00:00
ryan 81482db30b Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: http://svn.automattic.com/wordpress/trunk@6148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-21 15:51:00 +00:00
markjaquith 5177c0e5c7 Pass the attempted redirect host as a second parameter in the allowed_redirect_hosts filter. props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-20 21:53:42 +00:00
ryan 40b7e58b82 Always remove index.php from request before contructing page links. fixes #5000
git-svn-id: http://svn.automattic.com/wordpress/trunk@6144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-20 20:56:22 +00:00
markjaquith 3be5215e08 Remove trailing /index.php fixing from canonical.php ... Thanks chaoticmortalcom. fixes #5017
git-svn-id: http://svn.automattic.com/wordpress/trunk@6143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-20 20:25:43 +00:00
ryan 4a03a94051 Bail if post is empty. Props mdawaffe. fixes #5019
git-svn-id: http://svn.automattic.com/wordpress/trunk@6142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-20 18:25:14 +00:00
ryan 3542e01f19 Don't specialchars markup in term description. fixes #5021
git-svn-id: http://svn.automattic.com/wordpress/trunk@6141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-20 18:23:33 +00:00
ryan 9eb6351d24 Extra protection in check_ajax_referer from mdawaffe. fixes #4939
git-svn-id: http://svn.automattic.com/wordpress/trunk@6138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-19 19:32:34 +00:00
ryan 3ac0df5170 Fix includes for setup-config so that wp_die is defined. Props DD32. fixes #4997
git-svn-id: http://svn.automattic.com/wordpress/trunk@6137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-19 04:27:56 +00:00
markjaquith f25f33c4ba Put a filter in wp_safe_redirect() so people can whitelist other domains. see #4606
git-svn-id: http://svn.automattic.com/wordpress/trunk@6136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-19 04:14:53 +00:00
ryan 192cb2dda5 RC1
git-svn-id: http://svn.automattic.com/wordpress/trunk@6135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-19 04:14:27 +00:00
markjaquith 3c89a5c5d7 More robust wp_safe_redirect(). Introducing wp_sanitize_redirect() for use in wp_redirect() and wp_safe_redirect(). fixes #4606
git-svn-id: http://svn.automattic.com/wordpress/trunk@6134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-19 03:47:37 +00:00
ryan deb7701a85 Script loader cleanup from mdawaffe. fixes #5003
git-svn-id: http://svn.automattic.com/wordpress/trunk@6133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-19 00:51:21 +00:00
ryan 1fa2f6df66 the_title_attribute(). Props Nazgul. fixes #4731
git-svn-id: http://svn.automattic.com/wordpress/trunk@6132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 22:50:59 +00:00
markjaquith dbd3d07274 Introducing wp_safe_redirect(). fixes #4606 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 22:23:16 +00:00
ryan 1d146b6153 Revert rename of more-link class. Props foolswisdom. fixes #4999
git-svn-id: http://svn.automattic.com/wordpress/trunk@6128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 16:44:35 +00:00
ryan c352f29893 Drop old tables. Props Nazgul. fixes #4995
git-svn-id: http://svn.automattic.com/wordpress/trunk@6126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 16:37:21 +00:00
ryan 9bfccd6286 Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: http://svn.automattic.com/wordpress/trunk@6125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 16:32:22 +00:00
markjaquith f30cd7acec Use maybe_unserialize() in get_usermeta(). Props filosofo. fixes #4993
git-svn-id: http://svn.automattic.com/wordpress/trunk@6124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-17 19:19:55 +00:00
ryan 76fee1da02 Don't lose tags when saving a post with attachments. Props filosofo. fixes #4532
git-svn-id: http://svn.automattic.com/wordpress/trunk@6121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-16 02:36:23 +00:00
matt 1e127b413c 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: http://svn.automattic.com/wordpress/trunk@6120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-15 21:52:37 +00:00
matt 4216f95b64 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: http://svn.automattic.com/wordpress/trunk@6119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-15 21:50:53 +00:00
westi e08024d86e Set svn:eol-style on a few files.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-15 17:35:32 +00:00
matt 8bfcfae2f8 Incorrect cache group was causing terms never to get cached.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-15 16:48:29 +00:00
markjaquith 8a6802ef00 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: http://svn.automattic.com/wordpress/trunk@6115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-14 19:41:23 +00:00
ryan ec182d74a6 Deprecate fakeit arg. Props Nazgul. fixes #4439
git-svn-id: http://svn.automattic.com/wordpress/trunk@6114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 21:27:26 +00:00
markjaquith 3d3846ee8a Handle ports for canonical redirects. Props driverkt and westi. fixes #4970
git-svn-id: http://svn.automattic.com/wordpress/trunk@6112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 19:24:05 +00:00
markjaquith 9ea001d704 Just some indent fixes in canonical.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@6111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 19:12:53 +00:00
markjaquith b36471d4cf 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: http://svn.automattic.com/wordpress/trunk@6110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 06:23:23 +00:00
ryan 9e61170004 s/onChange/onchange/. Props grubgirl, Nazgul. fixes #4630
git-svn-id: http://svn.automattic.com/wordpress/trunk@6109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 05:33:54 +00:00
markjaquith 3fc1d4f08d De-rabbit-hole compat.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@6108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 05:24:31 +00:00
markjaquith 76d0f29698 Check for apply_filters() in status_header() so that it can be called early on in load process
git-svn-id: http://svn.automattic.com/wordpress/trunk@6107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 05:00:46 +00:00
ryan 103e793478 no follow callback
git-svn-id: http://svn.automattic.com/wordpress/trunk@6105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 04:51:33 +00:00
markjaquith 95908afb48 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: http://svn.automattic.com/wordpress/trunk@6104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 04:48:41 +00:00
markjaquith 1cae6a8691 Plugins are not loaded at this point, so the wp_header_to_desc_array filter is useless
git-svn-id: http://svn.automattic.com/wordpress/trunk@6103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 04:13:32 +00:00
ryan 7bbd23f3c6 Don't strip slashes from pre. Props DelGurth and mdawaffe. fixes #2059
git-svn-id: http://svn.automattic.com/wordpress/trunk@6102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 04:11:21 +00:00
markjaquith ec6416ec0b fix links generated by get_category_rss_link(). props gwagenknecht. fixes #4550 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 22:24:28 +00:00
markjaquith 791aec14b2 Set $theme_loc correctly when ABSPATH is "/". Props arabek. fixes #4541
git-svn-id: http://svn.automattic.com/wordpress/trunk@6099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 22:19:26 +00:00
markjaquith 0880ca8693 Set widget classname when passed string, object/method, object-reference/method. fixes #4910
git-svn-id: http://svn.automattic.com/wordpress/trunk@6098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 20:48:21 +00:00
markjaquith 1f3ce09d52 Ignore HOST capitalization differences for canonical redirects. props jbctech. fixes #4773
git-svn-id: http://svn.automattic.com/wordpress/trunk@6097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 20:44:41 +00:00
westi d1acf020b5 Allow plugins to sanitize there own options easily.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 18:15:29 +00:00
westi 223182463d Ensure the parentlink is trailingslashed when building the url - don't trim / off the front. Fixes #2801 props Libertus
git-svn-id: http://svn.automattic.com/wordpress/trunk@6095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 17:46:13 +00:00
westi 2f44508e9b Consolidate shared code in get_userdata and get_userdatabylogin. Fixes #2134 props johnjosephbachir
git-svn-id: http://svn.automattic.com/wordpress/trunk@6094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 17:15:17 +00:00
westi cf26b9d049 Make the atom feed updated field actually tell you when the post was updated. Fixes #4816 props lapcat.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 16:26:39 +00:00
ryan 60bec14a4e More phpdoc for taxonomy from darkdragon. see #4742
git-svn-id: http://svn.automattic.com/wordpress/trunk@6092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 02:56:44 +00:00
ryan 48b96208e2 Add echo or return option to wp_list_categories. Props Otto42. fixes #4182
git-svn-id: http://svn.automattic.com/wordpress/trunk@6091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 02:53:27 +00:00
ryan a1046188b8 Deprecate old links functions. Props rob1n. fixes #3413
git-svn-id: http://svn.automattic.com/wordpress/trunk@6088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 01:01:48 +00:00
ryan 98d52ab1f2 Resurrect count padding.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 00:49:16 +00:00
ryan c06e70516a Remove duplicate code from wp_insert_attachment(). Update to use sanitize_post. Props Otto42. fixes #4946
git-svn-id: http://svn.automattic.com/wordpress/trunk@6086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 22:27:36 +00:00
markjaquith 4bc7869c84 Always trailingslash the "home" URL. Protect against chained redirects. Thanks wantmoore. fixes #4773
git-svn-id: http://svn.automattic.com/wordpress/trunk@6085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 21:21:40 +00:00
westi ca4ddf50f8 Allow the wp_mail filter to change the passed data. Fixes #4511 props ryan.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 20:49:28 +00:00
westi 446c704af5 Ensure (next|previous)_post_link always have some content even when the post title is blank. Fixes #1835, props johnbillion
git-svn-id: http://svn.automattic.com/wordpress/trunk@6082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 20:05:52 +00:00
ryan c8077169aa Add user_nicename key to users table. fixes #4937
git-svn-id: http://svn.automattic.com/wordpress/trunk@6075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 18:13:56 +00:00
ryan 368b18d383 Set tag_id to first tag in multi tag queries. Have single_cat_title() fallback to single_tag_title() if is_tag so that existing category templates will work with tags. fixes #4506
git-svn-id: http://svn.automattic.com/wordpress/trunk@6074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 18:06:52 +00:00
ryan 9fbbf54462 beta3
git-svn-id: http://svn.automattic.com/wordpress/trunk@6073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 01:43:49 +00:00
ryan d84f590203 References don't work inside foreach in php4. Props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-10 19:37:00 +00:00
markjaquith ba6e8f4a92 Actually, we always need to URLencode square brackets... or wp_redirect() will strip them out. see #4935. see #4878
git-svn-id: http://svn.automattic.com/wordpress/trunk@6070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-10 15:53:34 +00:00
markjaquith 51299852ef Forgot to use $lsb and $rsb in [6064]. Props mdawaffe. see #4935. see #4878
git-svn-id: http://svn.automattic.com/wordpress/trunk@6069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-10 15:34:13 +00:00
markjaquith d59743c972 Strip index.php/ before adding it in get_pagenum_link(). Insert index.php/ for the first page when blog is on a page. fixes #4945
git-svn-id: http://svn.automattic.com/wordpress/trunk@6068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-10 15:06:21 +00:00
markjaquith 79c4324e01 Only urlencode previously existing values in add_query_arg() (more backwards compatible). fixes #4935. see #4084. see #4878
git-svn-id: http://svn.automattic.com/wordpress/trunk@6064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-08 14:27:24 +00:00
markjaquith ead6bfebf7 Try more ways of getting wp-admin URL in wp_die(). props Nazgul. fixes #4006
git-svn-id: http://svn.automattic.com/wordpress/trunk@6057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-07 02:25:54 +00:00
markjaquith 1ba81b4f02 Properly construct widget classname if second param is an array. Props f00f. fixes #4910
git-svn-id: http://svn.automattic.com/wordpress/trunk@6054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 23:27:16 +00:00
ryan 8d33c59576 Case terms to int so we don't try to create new terms with the term ids as the names. fixes #4920
git-svn-id: http://svn.automattic.com/wordpress/trunk@6050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 22:07:23 +00:00
ryan a428494291 Resurrect hide_empty
git-svn-id: http://svn.automattic.com/wordpress/trunk@6048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 04:34:06 +00:00
ryan a40345190e Add missing instance var. Props filosofo. see #4806
git-svn-id: http://svn.automattic.com/wordpress/trunk@6046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 23:17:41 +00:00
ryan 827ed61968 Remove redundant declaration ofedInsertContent. Props Viper007Bond. fixes #4902
git-svn-id: http://svn.automattic.com/wordpress/trunk@6045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 23:14:39 +00:00
ryan b5a2f7431e Update pop3 class to latest from squirrelmail. Props westi. see #4337
git-svn-id: http://svn.automattic.com/wordpress/trunk@6044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 22:55:38 +00:00
ryan c5d33cbebd Basic tag cloud widget. Props Stargazer. fixes #4130
git-svn-id: http://svn.automattic.com/wordpress/trunk@6040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 21:50:52 +00:00
markjaquith 98a92950a3 Deprecate option_can_override, option_type, option_width, option_height, option_description, option_admin_level from options table. Props Nazgul. fixes #4390
git-svn-id: http://svn.automattic.com/wordpress/trunk@6039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 19:20:53 +00:00
ryan 1760555e8b Don't skip sanitization if 404. Add wp_title display filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 03:11:04 +00:00
westi d7c37c0c02 Improve desriptions for I18N strings. Fixes #4906 props nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@6033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 20:56:08 +00:00
markjaquith 1e8e248b97 Actually, let's just drop that slash check altogether. Equals sign is the best indicator. fixes #4903 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 05:26:18 +00:00
markjaquith ab71cc4a4f Require a slash AND the absence of an equals sign to designate the passed $uri as a base (without a query string). fixes #4903 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 05:21:54 +00:00
markjaquith 5913b16065 Better $pagenow determination. fixes #4748
git-svn-id: http://svn.automattic.com/wordpress/trunk@6029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 03:21:04 +00:00
ryan a4f8a52b4e beta2
git-svn-id: http://svn.automattic.com/wordpress/trunk@6027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 01:01:01 +00:00
ryan 321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
ryan 87c4f3a17f Strip lines that contain only whitespace down to newlines.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:19:20 +00:00
westi d38d018ce9 Fix admin css link when installing in a directory. Fixes #4877
git-svn-id: http://svn.automattic.com/wordpress/trunk@6024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 20:20:18 +00:00
markjaquith e468628526 Check for wp-admin case-insensitively in is_admin()
git-svn-id: http://svn.automattic.com/wordpress/trunk@6022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 19:56:09 +00:00
ryan 58c7ce91e3 Tag unions and intersections. fixes #4895
git-svn-id: http://svn.automattic.com/wordpress/trunk@6021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 18:14:05 +00:00
westi 03d6c4d0ba Change queries in get_{next|previous}_post so that plugins can INNER JOIN on other tables with an ID column. Fixes #4822 props Cimmo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 16:46:31 +00:00
ryan 4726644b8b Don't strip @ from url. Fix scheme prefixing. Props pishmishy. fixes #3299
git-svn-id: http://svn.automattic.com/wordpress/trunk@6015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 15:59:12 +00:00
ryan 986715f5b6 tag_id not tag__id. see #4895
git-svn-id: http://svn.automattic.com/wordpress/trunk@6012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 03:26:57 +00:00
ryan f87baf5b1f tag__in, tag__not_in, and tag_and queries. fixes #4895
git-svn-id: http://svn.automattic.com/wordpress/trunk@6011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 03:24:23 +00:00
markjaquith d723ff00d8 Escape text titles in AtomParser. Props Sam Ruby. fixes #4892
git-svn-id: http://svn.automattic.com/wordpress/trunk@6010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-02 20:42:00 +00:00
markjaquith 7e45ed193a Eliminate double urlencode()ing in add_query_arg(). Move &-to-& conversion to wp_nonce_url(). fixes #4884
git-svn-id: http://svn.automattic.com/wordpress/trunk@6008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-02 05:49:54 +00:00
markjaquith e26363a568 Correct variable name in clean_object_term_cache(). props arnee. fixes #4888
git-svn-id: http://svn.automattic.com/wordpress/trunk@6007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-02 05:08:48 +00:00
markjaquith d60384b385 Turn & to & in add_query_arg(). fixes #4878
git-svn-id: http://svn.automattic.com/wordpress/trunk@6005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-01 22:12:17 +00:00
westi 7612bc20b1 Fix RDF feeds to not contain invalid tag "category". Fixed #4643 props kztk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-01 08:33:08 +00:00
ryan a43e37b8a1 get_tag() and get_tag_feed_link()
git-svn-id: http://svn.automattic.com/wordpress/trunk@6000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-01 04:43:27 +00:00
markjaquith 0906863d2c Preserve query string arrays in add_query_arg(). fixes #4878 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-01 03:41:50 +00:00
ryan 93840b1632 Add some filtering. Props jhodgdon. see #4516
git-svn-id: http://svn.automattic.com/wordpress/trunk@5998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-31 23:55:56 +00:00
ryan 277e5aa914 Don't use unavailable func. Props filosofo. fixes #4881
git-svn-id: http://svn.automattic.com/wordpress/trunk@5997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-31 22:36:16 +00:00
markjaquith a2cac0cf09 Kill %tag%-based permalinks. fixes #4875
git-svn-id: http://svn.automattic.com/wordpress/trunk@5995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-30 19:42:34 +00:00
markjaquith bacbca924f Roll back [5986], [5988], [5989]. We are in a char class, so no escaping needed. Props mdawaffe. see #4873
git-svn-id: http://svn.automattic.com/wordpress/trunk@5993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-30 18:13:48 +00:00
markjaquith f0b39c1b5c Better %0d/%0a sanitization for wp_redirect() from hakre. fixes #4819 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-30 17:46:09 +00:00
ryan 5a997f588b Escape special chars in regex. Props eightize and Otto42. fixes #4873
git-svn-id: http://svn.automattic.com/wordpress/trunk@5986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-30 15:42:26 +00:00
ryan 56dd1d2033 Make sure term cache is cleared when updating term counts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-30 00:34:55 +00:00
ryan b92227412a Trackback fxn cleanup from Otto42. fixes #4800
git-svn-id: http://svn.automattic.com/wordpress/trunk@5982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 23:08:44 +00:00
ryan 395ee1acad Include tags in feeds. fixes #4537
git-svn-id: http://svn.automattic.com/wordpress/trunk@5979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 21:10:20 +00:00
markjaquith 816f89fb03 More cautious canonical-ness. Exclude IIS and POSTs. Better paging handling. Still a work in progress! see #4773
git-svn-id: http://svn.automattic.com/wordpress/trunk@5978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 21:06:51 +00:00
ryan d330ec7e34 delete_post_meta_by_key() from Mark Jaquith. fixes #4178
git-svn-id: http://svn.automattic.com/wordpress/trunk@5976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 19:12:20 +00:00
ryan 0f6dfb8b1f 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: http://svn.automattic.com/wordpress/trunk@5975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 19:04:14 +00:00
markjaquith 9e48d38752 Fix paging and preview links for canonical stuff. see #4773. fixes #4862
git-svn-id: http://svn.automattic.com/wordpress/trunk@5974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 18:10:11 +00:00
ryan ef5caabe37 Limit recent entries query to published posts. fixes #4786
git-svn-id: http://svn.automattic.com/wordpress/trunk@5973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 18:02:19 +00:00
ryan 6a0629e717 Take port into consideration when spawning cron. Props bchecketts. fixes #4782
git-svn-id: http://svn.automattic.com/wordpress/trunk@5972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 17:57:06 +00:00
westi 51bde8f657 Remove dead code. Fixed #4791 props filosofo
git-svn-id: http://svn.automattic.com/wordpress/trunk@5970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 17:36:46 +00:00
westi 5691b03700 Add utf8->ascii mappings for icelandic letters. Fixes #4739 props einare
git-svn-id: http://svn.automattic.com/wordpress/trunk@5969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 17:34:15 +00:00
westi 36ec45d7ff Fix xhtml output for RSS widget when feed contains no items. Fixed #4671 props brettz95 and Nazgul
git-svn-id: http://svn.automattic.com/wordpress/trunk@5968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 17:28:07 +00:00
ryan 014915caea Make css cache busting and rtl inclusion uniform across admin. Props mdawaffe. fixes #4830
git-svn-id: http://svn.automattic.com/wordpress/trunk@5965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-28 23:23:38 +00:00
westi 67d21286a8 Ensure we flush the recent entries widget cache after a post has been deleted. Fixes #4825 props donncha
git-svn-id: http://svn.automattic.com/wordpress/trunk@5960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-28 20:12:43 +00:00
westi 9b742b7959 Pass through the function argument so rules can actually be added to the top of the stack, props santos
git-svn-id: http://svn.automattic.com/wordpress/trunk@5959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-28 19:55:11 +00:00
ryan 3fe16de587 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: http://svn.automattic.com/wordpress/trunk@5958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-28 19:06:56 +00:00
ryan 666bfd2d91 Don't return permalink for non-existent post. Props Viper007Bond. fixes #4834
git-svn-id: http://svn.automattic.com/wordpress/trunk@5956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-28 18:58:54 +00:00
ryan 501833e41e beta1
git-svn-id: http://svn.automattic.com/wordpress/trunk@5954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-28 00:18:36 +00:00
ryan 788512c881 Add clean_url filter. see #4570
git-svn-id: http://svn.automattic.com/wordpress/trunk@5952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-27 23:31:09 +00:00
ryan f8d09ad828 Bring in atomlib 0.4 and update wp-app to use it. Props eliast and placey. fixes #4191
git-svn-id: http://svn.automattic.com/wordpress/trunk@5951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-27 19:52:58 +00:00
ryan 7aa077d6a0 Revert get_col behavior. Props mdawaffe. fixes #4826
git-svn-id: http://svn.automattic.com/wordpress/trunk@5950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-27 19:44:53 +00:00
matt d9793c3e8d Make the entire comment flood check pluggable as it can cause load problems on large sites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-27 06:34:18 +00:00
ryan e80177b92b Display tag name, not slug, in title. Props ionfish. fixes #4812
git-svn-id: http://svn.automattic.com/wordpress/trunk@5945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-26 17:18:00 +00:00
ryan 86932908e3 Add missing global and remove unused var. Props JeremyVisser. fixes #4818
git-svn-id: http://svn.automattic.com/wordpress/trunk@5944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-26 17:12:31 +00:00
ryan 4340c63de1 Update to jquery 1.1.4. Props mdawaffe. fixes #4810
git-svn-id: http://svn.automattic.com/wordpress/trunk@5939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-24 21:46:03 +00:00
ryan 51b6d6f6ea Don't pass cat as ref. Fix some term sanitization. fixes #4702
git-svn-id: http://svn.automattic.com/wordpress/trunk@5938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-24 18:41:01 +00:00
ryan ccdf20ef62 Update WP importer to use taxonomy and query cat based on slug. see #4613
git-svn-id: http://svn.automattic.com/wordpress/trunk@5937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-24 14:44:26 +00:00
ryan c8723a4f3f Fix how wp_filter array is keyed. Props santosj/darkdragon. fixes #3875 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-24 14:18:08 +00:00
westi fcd0a36f09 Enable plugins to override the cockney replace array, fixes #4804 props andihit
git-svn-id: http://svn.automattic.com/wordpress/trunk@5930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-23 21:02:31 +00:00
westi 31992bac0d Allow upload of all Open Office document types props nbachiyski fixes #4615
git-svn-id: http://svn.automattic.com/wordpress/trunk@5929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-23 18:28:14 +00:00
ryan ac46bc16c7 Don't allow private query vars in url_to_postid
git-svn-id: http://svn.automattic.com/wordpress/trunk@5925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-23 16:09:37 +00:00
westi 07ff444b6f Fix plugin basename for Windows servers. Fixes #3002 props Ozh
git-svn-id: http://svn.automattic.com/wordpress/trunk@5924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-23 16:07:21 +00:00
markjaquith 68501fd51b No canonical-ness for wp-admin. see #4773
git-svn-id: http://svn.automattic.com/wordpress/trunk@5921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-23 03:40:51 +00:00
ryan 276b690c7e Add cat-item-id and page-item-id classes. Props Otto42. fixes #4703
git-svn-id: http://svn.automattic.com/wordpress/trunk@5920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-22 22:59:45 +00:00
ryan f65528ed41 Fix get_post_comments_feed_link() to work with pages. fixes #4637
git-svn-id: http://svn.automattic.com/wordpress/trunk@5919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-22 22:42:57 +00:00
ryan 200f0b020f Add get_lastpostdate and 'get_lastpostdatemodified filters. Props rob1n. fixes #4801
git-svn-id: http://svn.automattic.com/wordpress/trunk@5918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-22 22:30:06 +00:00
ryan 02df4f722c Add class to tag cloud links. Props filosofo. fixes #4798
git-svn-id: http://svn.automattic.com/wordpress/trunk@5917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-22 22:28:00 +00:00
ryan cbad9a2993 posts_results and posts_selection hooks. fixes #4799
git-svn-id: http://svn.automattic.com/wordpress/trunk@5916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-22 18:03:26 +00:00
ryan 1a2aa3fcc3 Sanitize a few options
git-svn-id: http://svn.automattic.com/wordpress/trunk@5914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-22 17:57:36 +00:00
ryan 851ce58496 Some tag api additions from andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-21 18:39:45 +00:00
ryan 763f8b8821 commentsrss2_head action from joostdevalk. fixes #4694
git-svn-id: http://svn.automattic.com/wordpress/trunk@5911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-21 18:32:39 +00:00
ryan 9b395107f4 Deprecate permalink_single_rss(). Add the_permalink_rss() with accompanying filter. Props joostdevalk and Otto42. fixes #4654
git-svn-id: http://svn.automattic.com/wordpress/trunk@5910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-21 18:27:45 +00:00
ryan 567bc9d3f1 wp_reset_query() from mdawaffe. fixes #4741
git-svn-id: http://svn.automattic.com/wordpress/trunk@5907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-20 22:55:43 +00:00
ryan ba0f401390 bookmark sanitizer funcs and default filter cleanup. see #4546
git-svn-id: http://svn.automattic.com/wordpress/trunk@5906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-20 22:50:04 +00:00
matt 04558f4424 Don't run if installing, fixes $4772
git-svn-id: http://svn.automattic.com/wordpress/trunk@5900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-19 04:27:04 +00:00
ryan b4cd7ba224 Add back compat to get_the_category. Props nbachiyski. fixes #4771
git-svn-id: http://svn.automattic.com/wordpress/trunk@5899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-18 17:21:51 +00:00
ryan 8d75bcef27 Revert accidental commit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 21:23:39 +00:00
ryan 0458d919c0 First cut of taxonomy API phpdoc from darkdragon. see #4742
git-svn-id: http://svn.automattic.com/wordpress/trunk@5896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 21:22:37 +00:00
matt 096bece621 Switch to init action. Hat tip: westi. See #1476
git-svn-id: http://svn.automattic.com/wordpress/trunk@5894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 13:28:45 +00:00
matt 7c2dbb9cb1 First pass at upgrade notification for core, see #1476. Also includes some minor footer styling changes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 10:33:52 +00:00
markjaquith 410a3c5762 Oops... forgot the svn add. Thanks mdawaffe. see #4554
git-svn-id: http://svn.automattic.com/wordpress/trunk@5891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 03:45:59 +00:00
ryan 948284b296 Don't update comments feed last-modified header for unapproved comments. Props James Ballantine and Nazgul. fixes #4618 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-16 19:26:01 +00:00
ryan 19f1e721bb Use dc:creator instead of author for rss2 comment feeds. Props lexhair, Otto42. fixes #4704 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-16 18:34:57 +00:00
ryan 4ae69ee6a8 Advanced Toolbar shortcut hint fix from leonid. fixes #4707
git-svn-id: http://svn.automattic.com/wordpress/trunk@5880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-16 18:17:54 +00:00
ryan aa1b4e8968 Set instead of add since the cache value has multiple keys that can change. Props josephscott. fixes #4743
git-svn-id: http://svn.automattic.com/wordpress/trunk@5879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-16 18:12:12 +00:00
ryan f478ddaa36 Pass args as array instead of query string.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-16 18:00:47 +00:00
ryan ff20fd6c17 Category union and intersection query vars. fixes #4750
git-svn-id: http://svn.automattic.com/wordpress/trunk@5873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-15 22:08:51 +00:00
ryan 8b205f4e87 Typo fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@5872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-15 21:54:02 +00:00
ryan 951a41ad1e get_the_tag_list from andy. fixes #4733
git-svn-id: http://svn.automattic.com/wordpress/trunk@5871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 03:44:49 +00:00
ryan 13b23aa20a Space before slash to properly close br tag. Props tmountjr. fixes #4717
git-svn-id: http://svn.automattic.com/wordpress/trunk@5870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 03:12:24 +00:00
ryan ddc05f60ea wp_update_comment_count hook from mdawaffe. fixes #4740
git-svn-id: http://svn.automattic.com/wordpress/trunk@5869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 03:08:44 +00:00
ryan 2ae70d7c72 Update in_category() to use object term cache API. Props technosailor. fixes #4442
git-svn-id: http://svn.automattic.com/wordpress/trunk@5868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 03:01:26 +00:00
ryan dc1c54a35c Use opendir instead of dir. Props nbachiyski. fixes #4450
git-svn-id: http://svn.automattic.com/wordpress/trunk@5867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 02:58:33 +00:00
ryan 638d5e6e39 wp_update_term_count fixes from cavemonkey50. fixes #4500
git-svn-id: http://svn.automattic.com/wordpress/trunk@5866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 02:54:02 +00:00
ryan 7c1ce10fae sanitize the value, not the field. Props cavemonkey50. fixes #4651
git-svn-id: http://svn.automattic.com/wordpress/trunk@5865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 02:46:06 +00:00
matt c13a667443 A more elegant way of doing get_col.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-10 19:30:24 +00:00
markjaquith 5b82b1c426 Prevent get_col() from returning an array of NULLs. see #4725
git-svn-id: http://svn.automattic.com/wordpress/trunk@5860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-10 18:08:04 +00:00
markjaquith 676ea2ea3c globalize wp_version so Magpie can use it. props Nazgul, hakre. fixes #3996
git-svn-id: http://svn.automattic.com/wordpress/trunk@5859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-10 08:07:53 +00:00
matt 0311e61389 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: http://svn.automattic.com/wordpress/trunk@5858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-10 01:33:56 +00:00
markjaquith b64ce2d0f0 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: http://svn.automattic.com/wordpress/trunk@5857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-08 17:41:46 +00:00
markjaquith 2af150e496 Avoid running get_posts filter twice. Props DD32. fixes #4712
git-svn-id: http://svn.automattic.com/wordpress/trunk@5855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-08 04:24:44 +00:00
markjaquith 5c83a39e33 Clear old future post cron entry before creating the authoritative one. Props Barry. fixes #4710
git-svn-id: http://svn.automattic.com/wordpress/trunk@5853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-08 04:08:06 +00:00
markjaquith 44df30f2d6 Fix class-smtp.php typo. Props Nazgul, tension7. fixes #4700
git-svn-id: http://svn.automattic.com/wordpress/trunk@5852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-05 18:13:24 +00:00
markjaquith fa0dc110d9 Allow for hour/minute/second values in the QS that evaluate as false (like 0). Props Otto42 and agharbeia. fixes #4499
git-svn-id: http://svn.automattic.com/wordpress/trunk@5848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-04 16:30:27 +00:00
matt 763b0b689e If no user ID for whatever reason, bail early.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-04 03:58:42 +00:00
markjaquith 9e21fb42fc function_exists() wrapper around fetch_rss() to allow for plugin replacement. Props Otto42. see #4547
git-svn-id: http://svn.automattic.com/wordpress/trunk@5845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-03 01:39:36 +00:00
markjaquith 3ba71111de Allow pre_option_ filters to return values that evaluate as false. fixes #4695
git-svn-id: http://svn.automattic.com/wordpress/trunk@5842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-02 22:51:42 +00:00
markjaquith ad81604c8c add_option()/update_option() should pass the option name to get_option() pre-escaped. fixes #4690 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-01 19:14:10 +00:00
markjaquith e06883dfcc Use "home," not "siteurl" for widget dropdown category URLs. Props Pastinakel. fixes #4683 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-30 16:23:04 +00:00
markjaquith 764f50bd3d ABSPATH already has a trailing slash. Props Nazgul. fixes #4607
git-svn-id: http://svn.automattic.com/wordpress/trunk@5820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-27 21:28:01 +00:00
ryan f2223e6dc5 In your cats, making them back compat.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-25 03:04:46 +00:00
ryan 401f581879 Don't forget to filter post_category
git-svn-id: http://svn.automattic.com/wordpress/trunk@5817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-24 22:29:41 +00:00
ryan b01cbf1b76 fix FF bug in write screen: post status change on reload. Props mdawaffe. fixes #4664
git-svn-id: http://svn.automattic.com/wordpress/trunk@5816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-24 21:40:58 +00:00
westi 75a3af7d17 Only enable gzip compression if it is not enabled in php.ini. Fixes #4426
git-svn-id: http://svn.automattic.com/wordpress/trunk@5810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-18 21:12:22 +00:00
ryan e7d71efdd9 Revert jcalendar date picker experiment. Save it for another day. fixes #4641
git-svn-id: http://svn.automattic.com/wordpress/trunk@5808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-17 19:26:03 +00:00
ryan 7217266ca3 AND get_terms() field queries
git-svn-id: http://svn.automattic.com/wordpress/trunk@5807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-17 02:02:52 +00:00
ryan 460ddd3a1d Eliminate post_pingback stuff since we always use default_pingback_flag. fixes pingback problems caused by [5797] for #4620
git-svn-id: http://svn.automattic.com/wordpress/trunk@5806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-16 23:11:51 +00:00
ryan db54c8c57d Make balanceTags() option independent. Props mdawaffe. fixes #4626
git-svn-id: http://svn.automattic.com/wordpress/trunk@5805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-16 19:23:41 +00:00
ryan 714f8edd6c jquery data selector for post timestamps. Props tellyworth. fixes #4641
git-svn-id: http://svn.automattic.com/wordpress/trunk@5804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-16 19:22:27 +00:00
ryan d8d651221c Show upload file size in upload browser. Props tellyworth. fixes #4561
git-svn-id: http://svn.automattic.com/wordpress/trunk@5801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-15 17:52:50 +00:00
ryan c140ccb72d Fix variable name. Props bgracewood. fixes #4621
git-svn-id: http://svn.automattic.com/wordpress/trunk@5797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-12 16:00:51 +00:00
ryan ebf520f0d7 Post filter rework. see #4546
git-svn-id: http://svn.automattic.com/wordpress/trunk@5796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-11 19:57:43 +00:00
ryan b4557ec25b Don't load all includes by default. We have our own script loader. fixes #4512
git-svn-id: http://svn.automattic.com/wordpress/trunk@5794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-09 21:22:38 +00:00
ryan 6eb4acd7fd Bump scriptaculous ver in script loader. fixes #4512
git-svn-id: http://svn.automattic.com/wordpress/trunk@5793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-09 20:20:34 +00:00
ryan e47dfd7529 Update to scriptaculous 1.7.1_beta3. Props Nazgul. fixes #4512
git-svn-id: http://svn.automattic.com/wordpress/trunk@5792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-09 20:14:28 +00:00
markjaquith 76ed1bdad8 Undo pre-doublequoting in prepare(). Props JeremyVisser. see #4553
git-svn-id: http://svn.automattic.com/wordpress/trunk@5791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-09 17:55:32 +00:00
ryan 97daaa0d03 Update jquery to 1.1.3.1. Fixes http://bugs.kde.org/show_bug.cgi?id=147661
git-svn-id: http://svn.automattic.com/wordpress/trunk@5790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-08 21:10:14 +00:00
markjaquith 9b0c0d56db 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: http://svn.automattic.com/wordpress/trunk@5788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-07 04:06:29 +00:00
markjaquith b721942f26 Pass extra args to pre_kses hook. Props mdawaffe. see #4409
git-svn-id: http://svn.automattic.com/wordpress/trunk@5787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-06 22:47:24 +00:00
ryan fd4c86f9a4 Resurrect noquery
git-svn-id: http://svn.automattic.com/wordpress/trunk@5784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-06 20:45:46 +00:00
markjaquith 2304077c2b Entitize lone less-than characters. Props mdawaffe. fixes #4409
git-svn-id: http://svn.automattic.com/wordpress/trunk@5783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-06 12:53:15 +00:00
ryan 0d05f746cf Don't richedit for comments. Props Joseph Scott. fixes #4587 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-05 20:11:32 +00:00
markjaquith 45db1a512a Automatically quote strings in $wpdb->prepare(). Use vsprintf(). see #4553
git-svn-id: http://svn.automattic.com/wordpress/trunk@5779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-05 17:32:46 +00:00
markjaquith fbdfcce157 Introducing "prepare", a WPDB method for sprintf()-prepared SQL statements. see #4553. Implementation details to follow.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-04 16:18:57 +00:00
markjaquith 6e0ef646b7 Make it possible for a plugin to replace the feed-parsing engine. see: #4547
git-svn-id: http://svn.automattic.com/wordpress/trunk@5776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-03 18:10:20 +00:00
matt d31029a026 Upgrade to jQuery 1.1.3, fixes #4576
git-svn-id: http://svn.automattic.com/wordpress/trunk@5775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-02 23:57:52 +00:00
ryan 46110c7774 Delete term relationship only for the given object.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-02 15:47:27 +00:00
markjaquith a2f7332558 Mark pingback as already pinged when the target site says it already got the pingback. props mdawaffe. fixes #4289
git-svn-id: http://svn.automattic.com/wordpress/trunk@5772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-27 23:28:36 +00:00
ryan c1adb3c7ad Allow rules to be added to the top of the rule stack.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-27 21:39:50 +00:00
markjaquith 0e2d9ff004 Fix typo in get_the_author_url(). props pgdx. fixes #4542
git-svn-id: http://svn.automattic.com/wordpress/trunk@5767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-27 00:51:04 +00:00
markjaquith 64ef1ed841 Correctly grab Content-Type from old-school headers, skip blank headers. fixes #4296
git-svn-id: http://svn.automattic.com/wordpress/trunk@5764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-26 20:18:56 +00:00
markjaquith 9a91481a2b Don't add MIME-Version header twice (PHPMailer already adds it). see #4296
git-svn-id: http://svn.automattic.com/wordpress/trunk@5763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-26 19:11:23 +00:00
markjaquith d9d5fde1e7 compare mail headers case-insensitively and actually use the Content-Type specified. Props Nazgul. see: #4296
git-svn-id: http://svn.automattic.com/wordpress/trunk@5762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-26 18:28:56 +00:00
markjaquith 829ace3e68 strpos() is "haystack,needle", not "needle,haystack" Props pishmishy. fixes #4520
git-svn-id: http://svn.automattic.com/wordpress/trunk@5761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-26 18:06:17 +00:00
ryan 267997a4fd Add name_like query to get_terms(). Use it in suggestCategories.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-25 21:28:19 +00:00
ryan 0e7483cc5a s/cat_name/name/ see #4537
git-svn-id: http://svn.automattic.com/wordpress/trunk@5755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-25 20:06:02 +00:00
ryan a5e56dc9db s/cat_name/name/ see #4537
git-svn-id: http://svn.automattic.com/wordpress/trunk@5754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-25 19:51:26 +00:00
ryan ed549303d7 Move the_title filter to get_the_title. Props jhodgdon. fixes #4477
git-svn-id: http://svn.automattic.com/wordpress/trunk@5752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-25 17:48:35 +00:00
markjaquith ad9271f86f Don't init widgets if the blog isn't installed yet. fixes #4504
git-svn-id: http://svn.automattic.com/wordpress/trunk@5747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-23 05:32:16 +00:00
markjaquith eefdd4cef7 Upgrade to Prototype 1.5.1.1 (bugfix release). Props Nazgul. fixes #4502
git-svn-id: http://svn.automattic.com/wordpress/trunk@5743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-21 22:01:21 +00:00
ryan 74bc9bb8a6 Term count fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@5741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-21 15:46:49 +00:00
ryan 21e8f43f8c Don't create '0' categories. fixes #4413
git-svn-id: http://svn.automattic.com/wordpress/trunk@5739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-20 22:06:29 +00:00
ryan 9d84bef608 js_escape improvements from Alexander Concha. Catches &#39 &#039 ' ' ' ' &#x000027 etc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-19 22:46:55 +00:00
rob1n 7b09e504e7 Change references of get_object_terms() to wp_get_object_terms(). fixes #4490
git-svn-id: http://svn.automattic.com/wordpress/trunk@5728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-19 18:03:12 +00:00
rob1n 0eb86404da Fix up wp_list_authors() SQL. fixes #4485
git-svn-id: http://svn.automattic.com/wordpress/trunk@5727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-19 17:57:53 +00:00
ryan e2dc2a8dd3 Add some taxonomy validation. Rearrange funcs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-19 00:33:44 +00:00
ryan e30a9ba012 Upgrade code for multiple category widgets. Props Andy. see #4285
git-svn-id: http://svn.automattic.com/wordpress/trunk@5717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-16 02:03:25 +00:00
ryan 64d3a54b85 Don't use permalinks for pending posts. see #4446
git-svn-id: http://svn.automattic.com/wordpress/trunk@5716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-15 22:11:01 +00:00
rob1n 404e50bfb3 Show the name, not the slug. fixes #4473
git-svn-id: http://svn.automattic.com/wordpress/trunk@5715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-15 18:26:43 +00:00
ryan aac03a2066 wp_parse_str() from mdawaffe. see #4467
git-svn-id: http://svn.automattic.com/wordpress/trunk@5709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 22:46:59 +00:00
ryan 9d3d20f063 Use EXTR_SKIP when extracting. see #4468
git-svn-id: http://svn.automattic.com/wordpress/trunk@5708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 22:45:40 +00:00
markjaquith 7f44512c5d Introducing post_status="pending". see #4446 and put any initial bug reports on that ticket
git-svn-id: http://svn.automattic.com/wordpress/trunk@5707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 16:24:28 +00:00
markjaquith e211aa64e7 use FALSE to designate lack of user-supplied URL in *_query_arg() funcs. fixes #4465 for 2.3 (trunk)
git-svn-id: http://svn.automattic.com/wordpress/trunk@5705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 05:12:22 +00:00
markjaquith 99f0971b73 only strip question marks from the RIGHT side of the query string. fixes #4464 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 04:44:06 +00:00
rob1n 9fac8dcbae Use display_name instead. Props Pal Gronas Drange. fixes #4459
git-svn-id: http://svn.automattic.com/wordpress/trunk@5701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:30:26 +00:00
ryan 2f09416258 Trim empty lines. Nothing but newline.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:25:30 +00:00
ryan 72c169c2f1 Don't output author uri tag if uri is empty.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-13 18:03:17 +00:00
rob1n cbdc90759c wp_rss() updates. fixes #3834
git-svn-id: http://svn.automattic.com/wordpress/trunk@5698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-13 17:23:38 +00:00
markjaquith 8187ddb3d7 correct CSS link for install. Props Viper007Bond. fixes #4443
git-svn-id: http://svn.automattic.com/wordpress/trunk@5694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-13 06:33:17 +00:00
matt 81dd1f1737 Update in_category to use the new object_term_cache, it wasn't so much with the working before.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-13 00:16:33 +00:00
rob1n e3328ca20b Don't include HTML in gettext call. Props nbachiyski and Nazgul. fixes #4437
git-svn-id: http://svn.automattic.com/wordpress/trunk@5688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 21:48:55 +00:00
markjaquith 6d5da3e33c Force $autoload to be either "yes" or "no". see #4440. props Nazgul
git-svn-id: http://svn.automattic.com/wordpress/trunk@5686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 20:57:58 +00:00
markjaquith cf2b700d93 Make sure post titles longer than 200 chars get unique slugs. fixes #4433. props AaronCampbell.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 20:49:40 +00:00
ryan 21dff0640c Add a prophylactic sanitize_user()
git-svn-id: http://svn.automattic.com/wordpress/trunk@5683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 18:11:06 +00:00
ryan 66e6a55c7e escapeshellarg the sender
git-svn-id: http://svn.automattic.com/wordpress/trunk@5682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-11 23:19:33 +00:00
rob1n ff6f1383d1 Maintain "Page order" for consistency. fixes #4431
git-svn-id: http://svn.automattic.com/wordpress/trunk@5677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-11 21:11:40 +00:00
rob1n 6e5e54b5ae Revert multiple category stuff. see #4285
git-svn-id: http://svn.automattic.com/wordpress/trunk@5675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-09 00:59:14 +00:00
rob1n 32a890bd26 Some more multiple category widget stuff. see #4285
git-svn-id: http://svn.automattic.com/wordpress/trunk@5673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-08 22:50:37 +00:00
rob1n 64b91fc94b Add support for multiple instances of the category widget. see #4285
git-svn-id: http://svn.automattic.com/wordpress/trunk@5669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-08 14:49:30 +00:00
ryan f2f6101e1c Comment caching. Reduce queries on edit-comments.php page. Add non-persistent cache groups. Hat tip to hovenko. fixes #4387
git-svn-id: http://svn.automattic.com/wordpress/trunk@5666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-08 00:20:22 +00:00
ryan a09031ecd0 Use get_term_children() and get_term_field(). see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-06 16:13:12 +00:00
ryan bac1fccf3a Fix category renaming. fixes #4415 see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-06 16:10:52 +00:00
ryan 9f46c4af44 Term sanitization. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-05 00:57:23 +00:00
ryan 16e8f842f5 Fix link category dropdown and filter. Add some back compat to get_categories. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-03 17:28:27 +00:00
rob1n 9ce729e656 Content-Type, not Content-type, as headers are case sensitive. Props foolswisdom and Nazgul. fixes #3545
git-svn-id: http://svn.automattic.com/wordpress/trunk@5640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 05:21:18 +00:00
rob1n 64820ed1ae wp_mail() rewrite that handles HTML mail. fixes #4296
git-svn-id: http://svn.automattic.com/wordpress/trunk@5639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 03:18:24 +00:00
rob1n 026cdded71 phpDoc effort for wp-includes/author-template.php. fixes #4393
git-svn-id: http://svn.automattic.com/wordpress/trunk@5638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 03:04:01 +00:00
ryan 4214428322 Separate AJAX cat adder into post and link flavors. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 02:53:09 +00:00
rob1n cac67278d2 Move JavaScript to js subfolder, and CSS to css subfolder. see #4334
git-svn-id: http://svn.automattic.com/wordpress/trunk@5631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 00:37:51 +00:00
rob1n c927ae3f37 Keep greedy regex's in control. fixes #4165
git-svn-id: http://svn.automattic.com/wordpress/trunk@5630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 00:02:06 +00:00
rob1n 168c858844 Move uploads JS to jQuery. Props filosofo. see #3824
git-svn-id: http://svn.automattic.com/wordpress/trunk@5629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-01 23:52:27 +00:00
rob1n d9757a4426 phpDoc for wp-includes/registration.php. fixes #4383
git-svn-id: http://svn.automattic.com/wordpress/trunk@5627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-01 23:13:41 +00:00
rob1n 82e3bf32c3 Fix a strpos typo. fixes #4390
git-svn-id: http://svn.automattic.com/wordpress/trunk@5626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-01 23:10:03 +00:00
rob1n a437fa5e23 Fix wp_title single post title filters. Props jhodgdon. fixes #3755
git-svn-id: http://svn.automattic.com/wordpress/trunk@5625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-01 22:54:46 +00:00
markjaquith 06e670d043 Allow wp_list_authors() to optionally return. fixes #4323. see #3567.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-01 05:43:24 +00:00
rob1n b8c26df7e0 Fix nestable HTML, including <blockquote>'s. Props anonymousbugger (!) and Nazgul. fixes #1170
git-svn-id: http://svn.automattic.com/wordpress/trunk@5623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-01 02:33:03 +00:00
ryan 9e8bfa7f7b query by parent, not child_of, in get_nested_categories(). see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-01 02:24:07 +00:00
markjaquith bd89b78f8d get_bloginfo("comments_atom_url") now works properly. fixes #4382 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 22:44:21 +00:00
markjaquith 09202da539 correct "type" in Atom comments feed alternate links. fixes #4381 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 22:13:06 +00:00
ryan fbe9b4d76e Abstract object term cache a bit more. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 21:38:33 +00:00
rob1n 71a095d0ee Don't translate "you haven't installed" text yet, because text domain isn't installed. Props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 12:29:46 +00:00
rob1n 01af55cbf7 Bring tinyspell.php into sync. Props Nazgul. fixes #4368
git-svn-id: http://svn.automattic.com/wordpress/trunk@5614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 12:22:06 +00:00
rob1n e836ded63b Fix variable typo. Props schulte. fixes #4374
git-svn-id: http://svn.automattic.com/wordpress/trunk@5613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 03:51:03 +00:00
ryan e7e4c113fd If a term has no children, return an empty array for child_of queries. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 03:44:18 +00:00
rob1n d268eae391 Some more get_pagenum_link() fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 03:36:40 +00:00
rob1n 544f18ce7d Fix get_pagenum_link() for query strings. fixes #3930
git-svn-id: http://svn.automattic.com/wordpress/trunk@5610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 03:29:44 +00:00
rob1n fb2f7fb6b0 Fix some typos in query.php. Props schulte. fixes #4373
git-svn-id: http://svn.automattic.com/wordpress/trunk@5609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 03:19:38 +00:00
rob1n ba3abf0733 Add option to exclude pages to pages widget. see #4259
git-svn-id: http://svn.automattic.com/wordpress/trunk@5605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 01:57:10 +00:00
rob1n fc76cc488d Prototype fix to keep Safari < 2 from blowing up. fixes #4363
git-svn-id: http://svn.automattic.com/wordpress/trunk@5604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 01:38:11 +00:00
rob1n ebee78ae54 Check that tinyMCE is defined. Props johnbillion. fixes #4257
git-svn-id: http://svn.automattic.com/wordpress/trunk@5602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 00:24:31 +00:00
rob1n e83a798987 Upgrade TinyMCE spell checker to 1.0.5. fixes #4368
git-svn-id: http://svn.automattic.com/wordpress/trunk@5601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 00:21:55 +00:00
ryan 7800ed531e Fix slug queries. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-30 21:50:57 +00:00
ryan df1a8696d5 Some term caching. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-30 03:36:59 +00:00
ryan 7c39499aa0 Category hierarchy fixes. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-30 01:39:47 +00:00
ryan facc7245fa Add ignore_empty option to wp_count_terms(). see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-30 01:05:44 +00:00
ryan e2a9845a94 Add missing taxonomy argument. Props nbachiyski. fixes #4362 see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 23:06:46 +00:00
ryan 083dfb059b Fix listing of categories with parents. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 21:50:00 +00:00
ryan 3176f1acd2 get_term_children() and category query fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 21:27:49 +00:00
ryan 6a314d85d8 Use taxonomy instead of post2cat. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 16:52:31 +00:00
markjaquith b0ffd98c95 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: http://svn.automattic.com/wordpress/trunk@5590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 04:54:45 +00:00
ryan 4efb612c1a Post and page management filter additions from mdawaffe. see #3945
git-svn-id: http://svn.automattic.com/wordpress/trunk@5587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 04:28:10 +00:00
ryan c09ea05543 Use API instead of SELECT. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 04:26:36 +00:00
ryan 13a01467dc get_objects_in_term()
git-svn-id: http://svn.automattic.com/wordpress/trunk@5585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 04:25:09 +00:00
markjaquith fcf640dd6b declare $user_ID global in load_template(). fixes #4354.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 21:32:35 +00:00
rob1n 4b9d4641be Add a is_user_logged_in() check.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 20:39:24 +00:00
rob1n 5aedce1521 Update TinyMCE to 2.1.1.1 (look at all those 1's...). fixes #4262
git-svn-id: http://svn.automattic.com/wordpress/trunk@5577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 19:30:05 +00:00
ryan 6621b8eed0 Fix category permalinks. Update cat_ID to term_id. fixes #4349 see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 18:47:08 +00:00
ryan a438f8a92a Better draft, private, and future post/page management from mdawaffe. fixes #3945
git-svn-id: http://svn.automattic.com/wordpress/trunk@5575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 18:34:06 +00:00
rob1n 6800fa5564 Actually, this makes more sense.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 17:11:42 +00:00
rob1n 673cab8183 Turn string to upper. Props Donncha. fixes #4350
git-svn-id: http://svn.automattic.com/wordpress/trunk@5572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 17:05:46 +00:00
markjaquith 6a41f63aae permalink_link() is deprecated, and should reference its replacement.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 04:39:40 +00:00
rob1n 0617eb51d0 Add rel="tag" to tag links. fixes #4159
git-svn-id: http://svn.automattic.com/wordpress/trunk@5568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 02:07:59 +00:00
ryan 965e63b970 Register taxonomies as object instead of arrays. Fix tt_ids query in get_post_terms().
git-svn-id: http://svn.automattic.com/wordpress/trunk@5567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 00:51:24 +00:00
ryan ee5ec0c505 Fix up exporter. Remove more refrences to the categories table. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 19:32:45 +00:00
ryan 333d77ea9c Typo fix from flinkflonk. fixes #4347 see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 17:45:31 +00:00
ryan eb541a962f Link category fixes. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 17:21:04 +00:00
ryan 49953705f1 Delete term if no taxonomies use it. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 06:29:52 +00:00
ryan 128bbfa161 Change term count callback style. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 06:17:50 +00:00
ryan 3e59a81327 Remove debug. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 05:28:30 +00:00
ryan c816b51b8c Fix object term relationship deletion and count updating.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 05:15:18 +00:00
ryan 2918f50e90 Term cache work. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-26 23:32:06 +00:00
ryan 80ce3031d1 Update cat2tag converter. Some term API tweaks. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-26 18:54:16 +00:00
ryan b068bd6447 During upgrade, make slugs unique and put like slugs in a term group. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-26 17:47:20 +00:00
rob1n 77a141151f Fix typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 16:27:34 +00:00
rob1n a98bb3abda Fix Atom feeds' categories. fixes #4307
git-svn-id: http://svn.automattic.com/wordpress/trunk@5548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 15:55:30 +00:00
ryan f7e5557f6e Don't load category cache from old tables. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 09:45:55 +00:00
ryan 92e7d3c3bc Make sure sanitize_option() is always called when updating options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 02:22:30 +00:00
ryan 6445fc55a2 Category/tag to taxonomy upgrade. First cut.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-24 22:40:24 +00:00
rob1n 315fcd5cd6 the_search_query() revamp. fixes #4327
git-svn-id: http://svn.automattic.com/wordpress/trunk@5536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-24 03:37:10 +00:00
rob1n cf3f7ac197 Use selected() to clean that up. Thanks Mark. fixes #4291
git-svn-id: http://svn.automattic.com/wordpress/trunk@5535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-24 00:29:51 +00:00
ryan 76d2530a7e No more TAXONOMY bit fiels. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 22:11:02 +00:00
ryan 6251eb3ca6 wp_delete_term(). see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 22:03:24 +00:00
ryan 1b783b9b9a More rel_type elimination. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 20:59:11 +00:00
ryan b00beb3027 Convert category queries and list cats to taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 18:59:12 +00:00
ryan 0e05576999 Set and get post cats to taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 18:07:53 +00:00
ryan 675cc0d029 wp_insert_category(), cat_rows(), and others using taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 17:28:13 +00:00
rob1n 4d9a6e1a98 Fix bloginfo() filtering when it comes to links. Props Nazgul. fixes #4116
git-svn-id: http://svn.automattic.com/wordpress/trunk@5526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 14:58:32 +00:00
ryan 42df47a478 Add get_term_by() and taxonomy registration bits. Move more category stuff to taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 10:32:33 +00:00
ryan 557eafd82e Add some term hooks. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 07:26:52 +00:00
ryan 4bbddb6559 Start moving link categories to taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 07:15:10 +00:00
ryan b450105bfd wp_insert_term() and wp_update_term(). see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 05:42:31 +00:00
ryan 0b795ff92b Add get_terms() and get_term(). Move more of tagging to taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 03:57:20 +00:00
rob1n 6a1b3fcd19 Run it through the filter. see #4259
git-svn-id: http://svn.automattic.com/wordpress/trunk@5519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 22:36:56 +00:00
ryan c5967f3432 Remove the_content filter from widget text. see #4259
git-svn-id: http://svn.automattic.com/wordpress/trunk@5518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 21:32:07 +00:00
ryan 6ecc901391 Fix primary key on term_relationships. Add wp_set_object_terms(). Setting post tags working now. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 20:39:26 +00:00
ryan 634a33c206 Very rough initial commit of taxonomy for everyone's hacking pleasure. There be dragons. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 05:12:38 +00:00
rob1n 3ed5b0a01e Don't show title if user leaves it blank. see #4259
git-svn-id: http://svn.automattic.com/wordpress/trunk@5509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 00:25:44 +00:00
rob1n 7048b27ede Don't call is_wp_error() in wp_die() if it hasn't been defined yet. fixes #4308
git-svn-id: http://svn.automattic.com/wordpress/trunk@5507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-21 22:50:32 +00:00
ryan aeb569d93d Fix theme template field. fixes #4310 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-21 20:11:53 +00:00
ryan b634b18433 Check if is_array before unsetting array index. fixes #4306 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-21 16:39:08 +00:00
rob1n 041135b01b Pass text widget text through format_to_edit. Props Ryan. fixes #4302
git-svn-id: http://svn.automattic.com/wordpress/trunk@5499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-21 13:13:22 +00:00
rob1n b83c9dae09 Fix wp-ajax.js addArg's hashes. Props technosailor. fixes #4277
git-svn-id: http://svn.automattic.com/wordpress/trunk@5498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-21 12:56:39 +00:00
rob1n 4a83568904 Check for switch_themes, not edit_themes. Props Denis de Bernardy. fixes #4292
git-svn-id: http://svn.automattic.com/wordpress/trunk@5492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-19 04:38:51 +00:00
rob1n 1d47f812cd Select the option if it's set to that. fixes #4291
git-svn-id: http://svn.automattic.com/wordpress/trunk@5490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-19 04:26:02 +00:00
ryan 592c3c0767 Fix tinymce colorpicker. Props azaozz. fixes #4188 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-19 00:10:24 +00:00
rob1n 5d40bf562c Texturize and autop the text widgets, and allow pages to be sorted by a specified field. Props Denis de Bernardy. see #4259
git-svn-id: http://svn.automattic.com/wordpress/trunk@5486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-18 02:29:11 +00:00
ryan 8da6590866 Restore crack-headed arg passing to register_sidebar_widget(). fixes #4275 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-16 17:49:32 +00:00
rob1n 349ba3a536 Fix some attribute misnamings. Props Erunafailaro. fixes #4274
git-svn-id: http://svn.automattic.com/wordpress/trunk@5483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-16 17:37:55 +00:00
rob1n d6b4808d80 Update Prototype to 1.5.1 and script.aculo.us to 1.7.1-b2. Props zamoose. fixes #4265
git-svn-id: http://svn.automattic.com/wordpress/trunk@5482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-16 03:27:07 +00:00
rob1n 77b86e7c68 Fix get_pagenum_link(). fixes #3930
git-svn-id: http://svn.automattic.com/wordpress/trunk@5481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-16 02:47:24 +00:00
ryan a291731ed3 Theme screenshot fix from mdawaffe. fixes #4266 for 2.3.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-14 23:30:17 +00:00
ryan 1fbb89b1a0 Allow sidebar names to be passed to dynamic_sidebar(). fixes #4258 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-14 05:13:39 +00:00
ryan f5b4234c59 Flush all output buffers during shutdown to avoid PHP 5 bustage. see #3354
git-svn-id: http://svn.automattic.com/wordpress/trunk@5462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-12 22:06:31 +00:00
ryan b820d101d6 Return proper protocol. fixes #3886 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-12 21:55:14 +00:00
rob1n 24399dcbfb Seeing double. Good spot momo360modena. fixes #4251 for 2.1, 2.2 and 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-12 19:47:47 +00:00
rob1n f417e94b89 Don't make useless status_header() call. fixes #4249
git-svn-id: http://svn.automattic.com/wordpress/trunk@5458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-12 19:30:38 +00:00
rob1n 51ace86089 Don't call the function if it doesn't exist yet. fixes #4249
git-svn-id: http://svn.automattic.com/wordpress/trunk@5455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-12 16:24:17 +00:00
rob1n 1fb3798eb5 Bring get_pagenum_link() into this century. Props Mark Jaquith. fixes #3930
git-svn-id: http://svn.automattic.com/wordpress/trunk@5454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-12 00:17:34 +00:00
rob1n 65454107d1 git-svn-id: http://svn.automattic.com/wordpress/trunk@5451 1a063a9b-81f0-0310-95a4-ce76da25c4cd 2007-05-11 04:02:30 +00:00
rob1n 492592d5ec Ugh. I thought I had fixed all of these.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-11 04:01:54 +00:00
rob1n b354bc3813 Filter get_theme_data() data through KSES to get rid of evil XSS things. fixes #4236
git-svn-id: http://svn.automattic.com/wordpress/trunk@5447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-11 03:44:03 +00:00
rob1n ee7d9e9e18 New status_header code, and WP-DB bail() errors send a 503 Service Unavailable. see #2409
Also, the new header code to text array has 302 as Found. fixes #4183


git-svn-id: http://svn.automattic.com/wordpress/trunk@5446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-11 03:34:50 +00:00
rob1n e6c189902c Use wp_parse_args(). fixes #4237
git-svn-id: http://svn.automattic.com/wordpress/trunk@5444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-11 03:10:05 +00:00
ryan 70c17cc871 Escapage
git-svn-id: http://svn.automattic.com/wordpress/trunk@5441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-11 00:56:12 +00:00
ryan 93266da580 Add missing preg delimiter. see #4241
git-svn-id: http://svn.automattic.com/wordpress/trunk@5433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 16:37:44 +00:00
rob1n 26dfd309f6 Show WP-Adv TinyMCE button by default. Props johnbillion. fixes #3171
git-svn-id: http://svn.automattic.com/wordpress/trunk@5429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 02:42:00 +00:00
rob1n 56a1232923 Don't discard non-default args in wp_parse_args(). see #4237
git-svn-id: http://svn.automattic.com/wordpress/trunk@5428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 02:33:01 +00:00
rob1n 58839706d0 Let WebKit 420 or above get in. And clean up that overgrown ternary. Props Andy. fixes #4241
git-svn-id: http://svn.automattic.com/wordpress/trunk@5425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 01:31:12 +00:00
rob1n ece3623070 Don't add port if port == 80 (default port). fixes #3993
git-svn-id: http://svn.automattic.com/wordpress/trunk@5424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 01:26:56 +00:00
ryan 6f6062af97 Obey show_post_count for dropdown.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-09 21:54:30 +00:00
rob1n 1e30a12eb5 Bit of clean-up.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-09 04:19:19 +00:00
ryan 627725be1a Make sure wp_actions is set before counting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-08 17:59:52 +00:00
ryan bbad336b10 Don't send header from wp_die() if admin header already sent. fixes #4234 for 2.3.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-07 23:24:44 +00:00
ryan 481e505d49 Fix did_action to properly account for actions that have no callbacks attached.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-07 23:22:50 +00:00
ryan 9b1b9b2084 attribute_escape for widgets. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-07 02:16:28 +00:00
ryan 9805be9f11 Make sure Widgets menu comes after Themes. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-06 20:36:11 +00:00
ryan 23b99491a2 Fix widget registration back compat by splitting API. Fix feed widget. For 2.3. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-06 07:08:11 +00:00
rob1n 8638b7ab3a Return based on whether the hook was removed or not. Props mdawaffe. fixes #4223
Note that this will almost definitely *not* affect existing implementations. The way most code is set up now is to just call remove_filter() or remove_action().


git-svn-id: http://svn.automattic.com/wordpress/trunk@5393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 23:27:12 +00:00
ryan b33a7e9cfb Set eol-style
git-svn-id: http://svn.automattic.com/wordpress/trunk@5390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 21:28:50 +00:00
rob1n 0a8b69c947 Don't take out class attribute for <abbr />, for hReview. fixes #3420
git-svn-id: http://svn.automattic.com/wordpress/trunk@5383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 03:52:11 +00:00
ryan 2cc75dbc63 Add 'Select' text to the dropdowns. Props Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 02:23:49 +00:00
rob1n f8b2a63e57 Load order fixed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-03 00:52:14 +00:00
rob1n ab530a67d5 Don't show Widgets admin page if core widgets aren't enabled. fixes #4218
git-svn-id: http://svn.automattic.com/wordpress/trunk@5376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-03 00:43:57 +00:00
rob1n 2fff1e5671 Add lang and xml:lang attributes to allowed list for p, div and blockquote. fixes #4128
git-svn-id: http://svn.automattic.com/wordpress/trunk@5375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-02 04:31:30 +00:00
rob1n 37745efcae Spring cleaning, extreme edition.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-02 04:26:57 +00:00
rob1n e5fb2523b4 Clean that mess up so it's more easily managed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-02 04:17:43 +00:00
ryan 9e54a128b8 Call get_option('siteurl') outside the loop to save a few dozen get_option calls. Props andissimo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-02 00:32:22 +00:00
ryan b159bcacff Remove wp_ prefix from default widget class names. For back compat.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 22:51:52 +00:00
rob1n b21f9bdc98 New way of loading widgets that works with PHP 5. Thanks to filosofo for testing. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 01:58:18 +00:00
rob1n 5339481434 Typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 01:27:46 +00:00
rob1n 58d8ed1284 Move widget stuff around. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 01:13:06 +00:00
ryan 72a19935ff Widget registration fixes from Andy. For 2.3. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 20:02:02 +00:00
ryan 8efa935340 When using the traditional list view of the categories,
make sure the wp_list_categories() doesn't add in another title. This
was causing a second Categories to show up on the category widget.  Props Jospeh Scott

git-svn-id: http://svn.automattic.com/wordpress/trunk@5356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 17:43:11 +00:00
ryan 6c0b1d6a5f Fix typo breaking recent comment cache deletion for widgets.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 16:45:23 +00:00
ryan 247d22682a Remove debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@5351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 03:47:14 +00:00
ryan 5fe0bd0c61 Don't use deprecated category API.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 03:32:33 +00:00
rob1n a50e0e4c41 Bring back old behavior for sidebar ID's. Props filosofo. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 02:35:28 +00:00
ryan df9d590cbc Fix widget control registration where id is not passed in.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 17:04:16 +00:00
ryan e5ea802c0c Fix edit comment links
git-svn-id: http://svn.automattic.com/wordpress/trunk@5340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 16:45:47 +00:00
ryan 72f35d050c Create widget id from widget name when id not specified.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 06:08:27 +00:00
ryan a59fcf3c3a Kick widgets init from init hook.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 00:35:47 +00:00
ryan b028d6eaa3 Some widgets gettext.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 00:29:27 +00:00
rob1n 638337cf4a Don't double encode gzip output if gzip is already set in php.ini. Props
welcomb. fixes #4205


git-svn-id: http://svn.automattic.com/wordpress/trunk@5333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-27 20:55:05 +00:00
ryan 8aaa48e041 Use the right field name ya idjit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-27 04:34:44 +00:00
ryan d44752d2ca Consult global comment in get_comment(). Don't show empty edit links.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-27 03:51:36 +00:00
ryan cb6d5b0c4b Fix text and rss widget registration. fixes #4204 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 17:49:11 +00:00
ryan 6a307367a8 Add dropdown option to archives and categories widgets. Props Joseph Scott. fixes #4194 for 2.2
git-svn-id: http://svn.automattic.com/wordpress/trunk@5319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 17:17:30 +00:00
rob1n 85902939a7 Links widget fixes from Otto42. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 03:43:59 +00:00
rob1n 309491de6d WordPress.com -> .org and change widgetize link to Automattic's site for now. We still need to make a Codex page, just to make it more "WordPressy."
Props foolswisdom. fixes #4200


git-svn-id: http://svn.automattic.com/wordpress/trunk@5316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 02:13:18 +00:00
rob1n 2a03779965 Firefox uses Alt+Shift for access keys. Props johnbillion. fixes #4193
git-svn-id: http://svn.automattic.com/wordpress/trunk@5315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 02:02:59 +00:00
rob1n 1657ad3db3 Housekeeping -- a misspelling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-25 03:14:11 +00:00
rob1n d3f52c3b45 Allow number_format to be internationalized. Props nbachiyski. fixes #3677
git-svn-id: http://svn.automattic.com/wordpress/trunk@5308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-25 00:49:57 +00:00
rob1n 56add54053 Housekeeping -- clean out debug calls.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 23:58:51 +00:00
rob1n 559fa91b8d Add ODT to allowed file types. Props Nazgul. fixes #4136
git-svn-id: http://svn.automattic.com/wordpress/trunk@5304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 23:28:39 +00:00
rob1n ea9d389751 Add unfiltered_upload cap, and allow for admins. Props Nazgul. fixes #4136
git-svn-id: http://svn.automattic.com/wordpress/trunk@5303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 23:27:20 +00:00
rob1n 534eeaf7bc get_edit_*_link() functions. fixes #4153
git-svn-id: http://svn.automattic.com/wordpress/trunk@5302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 23:21:56 +00:00
ryan c03e74ab48 Update widgets to latest bits. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 21:36:17 +00:00
ryan a0985c387b widgets.php be doubling down. Once is enough.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 18:41:42 +00:00
rob1n 03e6c2ed9a Widgets for 2.3. fixes #4186
git-svn-id: http://svn.automattic.com/wordpress/trunk@5297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 01:05:17 +00:00
ryan c28054301c Fix variable collission in _get_cat_children. see #3985
git-svn-id: http://svn.automattic.com/wordpress/trunk@5295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-23 20:28:38 +00:00
rob1n 2e72244bde has_excerpt() template tag. fixes #4177 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-22 04:25:47 +00:00
ryan 978cf8aee5 2.3-alpha
git-svn-id: http://svn.automattic.com/wordpress/trunk@5288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-19 04:05:39 +00:00
rob1n ceb60d8af8 Replace deprecated get_settings() calls with get_option(). Props johnbillion. fixes #4167
git-svn-id: http://svn.automattic.com/wordpress/trunk@5285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-19 02:53:19 +00:00
rob1n f2d8504d16 Cast substr()'s to int before passing through mktime() to prevent warning. Props josephscott. fixes #4166
git-svn-id: http://svn.automattic.com/wordpress/trunk@5284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-19 02:49:19 +00:00
ryan 8cbe134f81 Add url_to_postid filter. Props Alex King. fixes #4160
git-svn-id: http://svn.automattic.com/wordpress/trunk@5283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-18 22:51:54 +00:00
ryan 49166ab920 Revert [5275] - [5277]. Fix it later. see #4153
git-svn-id: http://svn.automattic.com/wordpress/trunk@5282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-17 23:00:35 +00:00
ryan b4fd79f281 AJAXcat fixes and FF workaround from mdawaffe. fixes #3895
git-svn-id: http://svn.automattic.com/wordpress/trunk@5280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-17 20:56:41 +00:00
rob1n 47de90d17a Fix another typo. Not a good day at all.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-17 01:17:45 +00:00
rob1n 37d7ae825b Fix typo. Thanks Lloyd.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-17 00:53:58 +00:00
rob1n 763828ed10 Add get_edit_comment_link() and get_edit_post_link(). fixes #4153
git-svn-id: http://svn.automattic.com/wordpress/trunk@5275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-16 23:53:34 +00:00
ryan 02cfbbe93b Use wp_hash to create cron's check hash.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-16 20:47:23 +00:00
ryan f651ce93c3 tag_exists(), category_object_exists(), and some tag and cat create fix ups. see #3723
git-svn-id: http://svn.automattic.com/wordpress/trunk@5271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-15 02:26:26 +00:00
rob1n d7a828c373 Add in another trim(), just in case $frag is actually something.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-14 00:19:01 +00:00
rob1n 999e232f12 trim() question marks *after* concatenating the string. fixes #4134
git-svn-id: http://svn.automattic.com/wordpress/trunk@5267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-14 00:11:47 +00:00
rob1n 62f5c944dc Fix gettext's plural forms for more than 2 plural forms. Props moeffju and nbachiyski. fixes #4005
git-svn-id: http://svn.automattic.com/wordpress/trunk@5266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-13 23:29:47 +00:00
rob1n 24e1d66471 Respect show_option_all in wp_list_categories(). Props westi. fixes #4145
git-svn-id: http://svn.automattic.com/wordpress/trunk@5265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-13 23:20:14 +00:00
rob1n ae0d54317c Don't treat object and param as block elements in wpautop. fixes #3854
git-svn-id: http://svn.automattic.com/wordpress/trunk@5262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 23:19:16 +00:00
rob1n 30d6c1ad15 Get add_query_arg() to urlencode all values of parse_str array. Props mdawaffe. fixes #4084
git-svn-id: http://svn.automattic.com/wordpress/trunk@5261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 22:00:22 +00:00
rob1n 0e669f143d Replace some stristr's with stripos'.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 21:59:31 +00:00
ryan 5fae2af843 Refactor l10n code to reduce duplication. Change placement of context. Props nbachiyski. fixes #3687
git-svn-id: http://svn.automattic.com/wordpress/trunk@5258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 21:15:44 +00:00
rob1n dbda3aabaa Upgrade TinyMCE to 2.1.0. Props andy. fixes #3788
git-svn-id: http://svn.automattic.com/wordpress/trunk@5256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 17:04:03 +00:00
rob1n 75efedc528 Delete the cache in tmp even if the copy failed. Props andy. fixes #4141
git-svn-id: http://svn.automattic.com/wordpress/trunk@5255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 16:31:47 +00:00
ryan 0e28e967ad Actually make use of wp_cache_add to avoid unnecessary cache writes. Props skeltoac. fixes #4138
git-svn-id: http://svn.automattic.com/wordpress/trunk@5248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 02:27:12 +00:00
rob1n 43c0541e81 <!--more--> regex fixes. Props Nazgul. fixes #3698
git-svn-id: http://svn.automattic.com/wordpress/trunk@5244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-11 22:47:36 +00:00
ryan b6c49e3023 Allow passing an empty tag set to wp_set_post_tags() so all tags can be removed from a post. see #3723
git-svn-id: http://svn.automattic.com/wordpress/trunk@5243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-11 18:04:49 +00:00
rob1n f0da57ee4e Don't use fancy permalinks on draft previews. Props Viper007Bond. fixes #4117
git-svn-id: http://svn.automattic.com/wordpress/trunk@5242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-11 16:52:58 +00:00
rob1n 61e18c550e Add the_meta_key filter with $key and $value arguments. Props mdawaffe. fixes #2861
git-svn-id: http://svn.automattic.com/wordpress/trunk@5241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-11 05:38:30 +00:00
rob1n 25191fabb8 Rollback wonky part of [5193]. see #4084
git-svn-id: http://svn.automattic.com/wordpress/trunk@5240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-11 03:41:42 +00:00
rob1n d40f03754d Tweak displaying comments awaiting moderation to their authors. Props wnorris. fixes #4108
git-svn-id: http://svn.automattic.com/wordpress/trunk@5238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-11 03:12:11 +00:00
rob1n 879a091a06 Run make_clickable before texturize. Props Nazgul. fixes #4116
git-svn-id: http://svn.automattic.com/wordpress/trunk@5236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 23:21:00 +00:00
ryan 45f4a1870e Change get_the_tags() to return an array of tags. Move tag list code to the_tags(). fixes #4123
git-svn-id: http://svn.automattic.com/wordpress/trunk@5235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 21:23:11 +00:00
ryan 77cdde3f87 Tag clouds from mdawaffe. fixes #4129
git-svn-id: http://svn.automattic.com/wordpress/trunk@5234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 19:52:15 +00:00
ryan f32f812fa9 Bumpage
git-svn-id: http://svn.automattic.com/wordpress/trunk@5233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 19:08:49 +00:00
ryan de91343f51 Add get_tags(). See #3723
git-svn-id: http://svn.automattic.com/wordpress/trunk@5232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 18:55:51 +00:00
ryan 246db4315f s/get_post_tags/wp_get_post_tags/ to match the rest of the API.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 18:30:55 +00:00
rob1n d76a895798 Bump jQuery and Interface versions in script loader. Props Viper007Bond. fixes #4124
git-svn-id: http://svn.automattic.com/wordpress/trunk@5230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 17:01:52 +00:00
matt b5b01a4976 Missing change from last commit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 07:39:47 +00:00
rob1n a24ee4902a empty() only takes variables. Props filosofo. fixes #4118
git-svn-id: http://svn.automattic.com/wordpress/trunk@5224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 04:28:40 +00:00
rob1n 404dd03317 Don't autop <script> blocks. Props Nazgul. fixes #3854
git-svn-id: http://svn.automattic.com/wordpress/trunk@5223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 00:49:18 +00:00
rob1n 7507125fd3 Don't autop <hr />. fixes #3952
git-svn-id: http://svn.automattic.com/wordpress/trunk@5222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 00:47:08 +00:00
rob1n dd96826c34 Default to 'en' for TinyMCE language if get_locale() is empty, to avoid meltdowns. Props m0n5t3r. fixes #4118
git-svn-id: http://svn.automattic.com/wordpress/trunk@5220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-09 16:33:43 +00:00
ryan 9442a8806b Google spell connect fix. Props Nazgul. see #3857
git-svn-id: http://svn.automattic.com/wordpress/trunk@5214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-09 00:09:42 +00:00
rob1n 96535f8d01 Fix typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 19:31:54 +00:00
rob1n 1948792ee1 Add wp_add_post_tags() and $append variable for wp_set_post_tags(). fixes #4109
git-svn-id: http://svn.automattic.com/wordpress/trunk@5209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 19:00:19 +00:00
ryan c3508de5be Avoid php notices.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 05:24:37 +00:00
rob1n f826cb98cc Move the stripslashes(), and change it to stripslashes_deep(). Props mdawaffe. fixes #4105
git-svn-id: http://svn.automattic.com/wordpress/trunk@5200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 01:24:40 +00:00
rob1n 4a4d37f9f3 Set the post ID when calling wp_get_attachment_url(). Props chess64. fixes #4104
git-svn-id: http://svn.automattic.com/wordpress/trunk@5199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 23:42:38 +00:00
ryan 9e6ab0a59d Relocate get_post_tags.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 18:22:54 +00:00
ryan 142582999e Typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@5196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 17:53:34 +00:00
ryan ab510803f4 Pass link indentifier to mymysql_affected_rows(). Props Doug Kaye.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 17:22:53 +00:00
rob1n b5eab92808 Add AND. fixes #4101
git-svn-id: http://svn.automattic.com/wordpress/trunk@5194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 14:53:46 +00:00
rob1n a7d8f6aa74 Re-encode query values after passed to add_query_arg(). Props mdawaffe. fixes #4084
git-svn-id: http://svn.automattic.com/wordpress/trunk@5193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 04:21:21 +00:00
rob1n b557846efd Add the argument back in. Whoops.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 03:34:01 +00:00
rob1n 3f0fa28e19 Add private posts to get_usernumposts() when the current_user_can read_private_posts. Props molecularbear. fixes #3868
git-svn-id: http://svn.automattic.com/wordpress/trunk@5190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 03:29:44 +00:00
rob1n 7bb92d3873 Add a function to unify private posts SQL based on capabilities -- get_private_posts_cap_sql().
Usage: get_private_posts_cap_sql($type), where $type is either 'post' or 'page'.

Props molecularbear. fixes #3861


git-svn-id: http://svn.automattic.com/wordpress/trunk@5189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 03:25:41 +00:00
rob1n 4a5335aee6 Add stripos() for compatibility for PHP < 5. This will be needed for a patch later, I think.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 02:54:12 +00:00
rob1n 2d799e437b Add DBX to link-add.php. Props Nazgul. fixes #3922
git-svn-id: http://svn.automattic.com/wordpress/trunk@5186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 00:56:28 +00:00
ryan 00e9ff778a Bit twiddling. Add type bitfield to categories table. see #3723
git-svn-id: http://svn.automattic.com/wordpress/trunk@5184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-05 21:16:02 +00:00
ryan 2c31712d3a Category listing speedups. see #3985
git-svn-id: http://svn.automattic.com/wordpress/trunk@5179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-04 22:32:24 +00:00
ryan 7f0a905ee6 Cache category hierarchy to make cat listing faster. Phase 1. see #3985
git-svn-id: http://svn.automattic.com/wordpress/trunk@5178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-04 20:44:45 +00:00
markjaquith 923ba23e88 Fix category_name=foo WP_Queries. fixes #4069
git-svn-id: http://svn.automattic.com/wordpress/trunk@5171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-02 19:40:15 +00:00
matt 06d577a539 Because of the next we should always do a reset.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-02 07:46:05 +00:00
matt fde70e7623 Fixes bottlenecks found in filter system using xdebug + kcachegrind. merge_filters was being called 1000+ times.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-02 07:03:38 +00:00
ryan 99f1babe59 i18n for quicktags.js. Props Nazgul. fixes #3958
git-svn-id: http://svn.automattic.com/wordpress/trunk@5167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-01 16:06:19 +00:00
rob1n 2a035cdab8 Add CSS class in if it's not empty when there's no comments. fixes #2180
git-svn-id: http://svn.automattic.com/wordpress/trunk@5165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-01 15:57:13 +00:00
rob1n fa33be1162 Run the post titles through the the_title filter. fixes #3366
git-svn-id: http://svn.automattic.com/wordpress/trunk@5164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-01 15:40:50 +00:00
matt afb8aafcbf Don't forget the tag_cache
git-svn-id: http://svn.automattic.com/wordpress/trunk@5163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-01 08:44:10 +00:00
matt 9784d05317 Make most of the buttons a map, helps the write page load faster.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 22:12:35 +00:00
rob1n eaac63e0d0 Add exit hook to wp_delete_post(). Props kevinB. fixes #4055
git-svn-id: http://svn.automattic.com/wordpress/trunk@5158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 21:41:08 +00:00
rob1n 090c138591 Add link rating to wp_list_bookmarks(). fixes #3916
git-svn-id: http://svn.automattic.com/wordpress/trunk@5153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 19:43:49 +00:00
matt c86599b85c Now tag pretty permalinks should work, and support custom tag bases.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 09:19:32 +00:00
matt 14f1c622ff All the query stuff we need for tag= URLs to work.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 06:16:12 +00:00
rob1n 7cb4185f04 Add https:// support to script loader. Props abtime. fixes #4046
git-svn-id: http://svn.automattic.com/wordpress/trunk@5145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 02:47:23 +00:00
rob1n 7dac9e0a80 Add missing the_title filter call. Props jhodgdon. fixes #4050
git-svn-id: http://svn.automattic.com/wordpress/trunk@5144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-30 23:46:17 +00:00
rob1n 29eb1e9a2b Fix typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 04:08:54 +00:00
rob1n fe50a59120 PHPdoc for plugin.php. Props Martin10. fixes #3852
git-svn-id: http://svn.automattic.com/wordpress/trunk@5142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 02:45:34 +00:00
rob1n 347657de7e Add back in a question mark. Props foolswisdom. fixes #3143
git-svn-id: http://svn.automattic.com/wordpress/trunk@5138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 02:24:25 +00:00
rob1n cb7570b4cc Fix months in wp_title(). fixes #4043
git-svn-id: http://svn.automattic.com/wordpress/trunk@5137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 02:06:16 +00:00
rob1n 19649b35f7 Add get_sidebar action to get_sidebar(). fixes #1445
git-svn-id: http://svn.automattic.com/wordpress/trunk@5136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 01:45:29 +00:00
rob1n 4a6743b54c Speed (wp_)list_authors by consolidating some queries. Props graeme. fixes #1659
git-svn-id: http://svn.automattic.com/wordpress/trunk@5135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 01:39:05 +00:00
rob1n e5b562a070 Apply the bloginfo_rss filter and change bloginfo_rss filter to get_bloginfo. Props Kafkaesqui. fixes #2014
git-svn-id: http://svn.automattic.com/wordpress/trunk@5134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 01:35:50 +00:00
rob1n b4de51f25c Sorry, a little tester got in there. Didn't expect to be committing ;).
git-svn-id: http://svn.automattic.com/wordpress/trunk@5133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 01:30:27 +00:00
rob1n 5b446f7cf7 Show more relevant titles (current category, date, etc.) in feed titles. fixes #1790
git-svn-id: http://svn.automattic.com/wordpress/trunk@5132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 01:29:09 +00:00
ryan 5248f2a89b Set EP_ALL to 4095. Props jhodgdon. fixes #3963
git-svn-id: http://svn.automattic.com/wordpress/trunk@5131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 00:19:42 +00:00
ryan d92c0fa794 Rewrit endpoint fixes from westi. see #3964
git-svn-id: http://svn.automattic.com/wordpress/trunk@5130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 00:17:40 +00:00
ryan 9ca2d36ada Avoid non-object error when wp_die()ing before is instantiated. Props technosailor. fixes #4042
git-svn-id: http://svn.automattic.com/wordpress/trunk@5129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-28 18:10:03 +00:00
ryan 68ef70bf19 Change bookmark to link. Props foolswisdom. fixes #3143
git-svn-id: http://svn.automattic.com/wordpress/trunk@5124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-27 23:54:48 +00:00
ryan 4de9ca69c2 More clean_url and int casts for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-27 23:45:41 +00:00
ryan f24f716775 Dynamically refill comment list when a comment is deleted. Props mdawaffe. fixes #4038
git-svn-id: http://svn.automattic.com/wordpress/trunk@5118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-27 21:20:16 +00:00
ryan 3d9418194f Serve robots.txt as text/plain. Props JeremyVisser. fixes #4037
git-svn-id: http://svn.automattic.com/wordpress/trunk@5117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-27 16:44:36 +00:00
ryan 5520239138 Add trackback_url filter. Props jhodgdon. fixes #4032
git-svn-id: http://svn.automattic.com/wordpress/trunk@5116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 23:40:49 +00:00
ryan 4400fe6e32 Fallback to loading english for tinyMCE if requested locale is not there. see #3882
git-svn-id: http://svn.automattic.com/wordpress/trunk@5114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 22:05:36 +00:00
matt 3eb1182967 If we don't have IDs at this point, bail out. There are no tag defaults. Should fix #4035 though I can't recreate their particular error.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 18:05:28 +00:00
matt 2f391a1ad4 Don't show tags on the category page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 17:25:15 +00:00
matt cbe226d621 Basic theme support for tags.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 08:08:31 +00:00
matt 613dbfcffa A backend interface for tagging.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 07:28:29 +00:00
ryan ee323a457b Revert [5102]
git-svn-id: http://svn.automattic.com/wordpress/trunk@5109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 06:13:19 +00:00
ryan ee5f8a4944 Update to latest tinyMCE compressor. Simplify MCE language loading. see #3882
git-svn-id: http://svn.automattic.com/wordpress/trunk@5108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 03:44:35 +00:00
ryan 7f9aa3c350 Fix day display in title. Props phKU. fixes #3801
git-svn-id: http://svn.automattic.com/wordpress/trunk@5106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-25 23:47:48 +00:00
ryan 37c1e764de Return instead of exit in template-loader. Props Otto42 and Nazgul. fixes #3790
git-svn-id: http://svn.automattic.com/wordpress/trunk@5104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-25 23:39:14 +00:00
ryan 3f82bf5819 Correct reversed logic in maybe_serialize. Props takayukister. fixes #4029
git-svn-id: http://svn.automattic.com/wordpress/trunk@5102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-25 23:23:52 +00:00
ryan 9a6630ed11 Deprecate number argument to comments_number. No longer used. fixes #2687
git-svn-id: http://svn.automattic.com/wordpress/trunk@5101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-25 23:18:19 +00:00
ryan bb7d61596d Fix relative link mangling in clean_url. fixes #4017 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 23:31:44 +00:00
ryan eed1eedc5f Allow siteurl and home to be defined as constants in wp-config, bypassing the DB. Props filosofo and charleshooper. fixes #4003
git-svn-id: http://svn.automattic.com/wordpress/trunk@5093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 17:45:40 +00:00
ryan e9e3e0787d Castaways on Gilligan's Isle
git-svn-id: http://svn.automattic.com/wordpress/trunk@5090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 02:16:16 +00:00
matt 3d21925922 Ryan slays the dragon. (Some of these return WP_Error objects.)
git-svn-id: http://svn.automattic.com/wordpress/trunk@5089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 02:05:29 +00:00
ryan 4cfeed615c Don't prepend protocol to relative links. fixes #4017 #4001 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 01:45:24 +00:00
matt 7602d17899 (int)er the dragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 00:59:21 +00:00
ryan 46fa88baf1 Cast to int
git-svn-id: http://svn.automattic.com/wordpress/trunk@5086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-22 23:03:07 +00:00
ryan 5b22739cac More int casts
git-svn-id: http://svn.automattic.com/wordpress/trunk@5082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-22 20:52:29 +00:00
ryan 43e6d1b011 Add _c() for disambiguatin translateable strings. Props nbachiyski. fixes #3687
git-svn-id: http://svn.automattic.com/wordpress/trunk@5081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-22 03:34:23 +00:00
ryan 9f9d9a8d9e Cast to int. Props xknown. fixes #4012 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-22 01:04:19 +00:00
ryan 0748c257f8 Don't add http:// to relative links. Props donncha. fixes #4001
git-svn-id: http://svn.automattic.com/wordpress/trunk@5065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-21 00:29:40 +00:00
ryan d8e55fcfdc Fix typo. Props rob1n. fixes #4000
git-svn-id: http://svn.automattic.com/wordpress/trunk@5063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-20 03:18:44 +00:00
ryan 19f2495fea Add RTL support to kubrick. Props Sewar. fixes #3953
git-svn-id: http://svn.automattic.com/wordpress/trunk@5062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-19 19:08:15 +00:00
ryan 2e2832dc85 Add wp_mail_from filter. Props rob1n. fixes #2053
git-svn-id: http://svn.automattic.com/wordpress/trunk@5061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-18 23:16:14 +00:00
markjaquith 611b037efa use clean_url() instead of attribute_escape() when dealing with src/href to protect against XSS. props xknown. fixes #3986 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-17 08:46:59 +00:00
ryan 4432eb12e7 Don't cast to string if empty. Props donncha. fixes #3979
git-svn-id: http://svn.automattic.com/wordpress/trunk@5051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-16 22:00:43 +00:00
markjaquith 8d0e670015 have wp_list_pages() default to menu_order sorting and only use post_title sorting as a secondary sort. props johnbillion. fixes #3924 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-16 08:19:10 +00:00
markjaquith 28c0f0d0ee Sanitize output of previous_posts() and next_posts(). Props Alex Concha for the report.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-16 08:04:24 +00:00
ryan 12be68075e More attribute_escape().
git-svn-id: http://svn.automattic.com/wordpress/trunk@5044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-16 01:20:53 +00:00
markjaquith 95df22248d nonce-protect comments by users with unfiltered_html cap to prevent xsrf/xss. fixes #3973 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-14 23:10:57 +00:00
markjaquith 877fe629b3 More int casting, just to be safe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-14 07:40:56 +00:00
ryan 16d5e24771 Fix order by in wp_get_archives(). Props mattbta. fixes #3961
git-svn-id: http://svn.automattic.com/wordpress/trunk@5036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-14 02:21:39 +00:00
ryan 7aa7d0668f Move smilies init to function and trigger from init. Props rob1n. fixes #1721
git-svn-id: http://svn.automattic.com/wordpress/trunk@5032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-12 21:31:24 +00:00
ryan 4bfbba990b Quote values heading to DB. Cast some ints.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-12 16:09:44 +00:00
markjaquith df9b4188da [5006] didn't take. props Nazgul for the spot. fixes #3866
git-svn-id: http://svn.automattic.com/wordpress/trunk@5028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-12 08:59:15 +00:00
matt a8327cbd0d Add filters to theme_mods
git-svn-id: http://svn.automattic.com/wordpress/trunk@5026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-12 00:07:54 +00:00
ryan 385c4e18ff vars.php cleanups and speedups from rob1n. fixes #3956
git-svn-id: http://svn.automattic.com/wordpress/trunk@5024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-11 01:19:16 +00:00
ryan 239b5ba356 Prophylactic casting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 20:34:01 +00:00
markjaquith 98e4d11c00 Improvements to untrailingslashit() and trailingslashit(). props Jamie Talbot. fixes #3899
git-svn-id: http://svn.automattic.com/wordpress/trunk@5021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 08:32:57 +00:00
markjaquith de23b425c3 new function: untrailingslashit(). fixes #3899
git-svn-id: http://svn.automattic.com/wordpress/trunk@5020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 06:25:33 +00:00
markjaquith 05486cce3d user_trailingslashit filter for users who sometimes want trailing slashes only on certain URL types. fixes #3899
git-svn-id: http://svn.automattic.com/wordpress/trunk@5019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 06:18:43 +00:00
markjaquith 6cefc9b4a4 Cleaner and more complete fix for [5017]. fixes #3949
git-svn-id: http://svn.automattic.com/wordpress/trunk@5018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 06:09:52 +00:00
markjaquith aa45fd5ee3 Respect user trailing slash preference for multipage posts and eliminate redundant /1/. fixes #3949
git-svn-id: http://svn.automattic.com/wordpress/trunk@5017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 05:54:12 +00:00
ryan 198bf65525 apply filter before stripping tags. Props jhodgdon. fixes #3755
git-svn-id: http://svn.automattic.com/wordpress/trunk@5014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 05:13:40 +00:00
ryan 774bdc405b Title filtering from jhodgdon. fixes #3926
git-svn-id: http://svn.automattic.com/wordpress/trunk@5013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 03:56:35 +00:00
ryan 328afedc07 Link filters from jhodgdon. fixes #3595
git-svn-id: http://svn.automattic.com/wordpress/trunk@5011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 01:13:49 +00:00
ryan 2051c80cac Change xmlrpc upload logic. Props Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-09 20:14:52 +00:00
markjaquith 2a11c99459 Sanitize browser-bound add_query_arg() outputs. fixes #3937
git-svn-id: http://svn.automattic.com/wordpress/trunk@5007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-09 04:36:24 +00:00
ryan 0cd477441e Return theme uri in theme data. Props nazgul. fixes #3866
git-svn-id: http://svn.automattic.com/wordpress/trunk@5006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-09 04:15:17 +00:00
ryan b4d8dba0f6 Unchain
git-svn-id: http://svn.automattic.com/wordpress/trunk@5005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-09 04:13:42 +00:00
ryan f4ce503381 get_archives query filters from westi. fixes #3866
git-svn-id: http://svn.automattic.com/wordpress/trunk@5004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-09 04:09:24 +00:00
ryan f774780aff Use get_query_var() in wp_title() and single_month_title().
git-svn-id: http://svn.automattic.com/wordpress/trunk@5003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-09 04:06:23 +00:00
ryan c295c0bffe Move some query var sanitization up to parse_query() and make sure the sanitized values are avilable via get_query_var().
git-svn-id: http://svn.automattic.com/wordpress/trunk@5002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-09 04:05:28 +00:00
ryan 6a27f1af8e Fix parse_w3cdtf. Props mortenf. fixes #3896
git-svn-id: http://svn.automattic.com/wordpress/trunk@4997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 17:04:03 +00:00
markjaquith 2008fdcbd7 Another typo in [4990]. fixes #3920
git-svn-id: http://svn.automattic.com/wordpress/trunk@4996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 06:17:15 +00:00
markjaquith 2734ab8ce9 Typo in [4990] caught by johnbillion. fixes #3920
git-svn-id: http://svn.automattic.com/wordpress/trunk@4995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 06:10:33 +00:00
markjaquith 3320dd1380 Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: http://svn.automattic.com/wordpress/trunk@4990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 05:29:15 +00:00
ryan b9c75476a4 Update to tinyMCE spellchecker 1.0.3.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@4985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 04:26:26 +00:00