Commit Graph

2868 Commits

Author SHA1 Message Date
Ryan Boren ed6c69983f Disambiguate columns. Props lawrence123. fixes #5256
git-svn-id: https://develop.svn.wordpress.org/trunk@6310 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-03 19:00:33 +00:00
Peter Westwood be99735638 Refactor of wp-admin/includes/image.php. Fixes #5312, #4151, #4709, #5304 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@6309 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-03 18:33:19 +00:00
Ryan Boren 77838c2433 Cache get_terms queries that return nothing.
git-svn-id: https://develop.svn.wordpress.org/trunk@6307 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-02 04:31:44 +00:00
Ryan Boren ae66f7f3c8 Fix comment typo
git-svn-id: https://develop.svn.wordpress.org/trunk@6306 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-02 00:58:15 +00:00
Ryan Boren 5308684211 Make sure ID is set for later update() calls.
git-svn-id: https://develop.svn.wordpress.org/trunk@6305 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-02 00:47:04 +00:00
Ryan Boren 60883171f5 Typo fix from DD32. Fixes uploads. fixes #5302
git-svn-id: https://develop.svn.wordpress.org/trunk@6304 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-01 16:20:16 +00:00
Ryan Boren 8bbc8227ab JS/AJAX form validation from mdawaffe. fixes #5299
git-svn-id: https://develop.svn.wordpress.org/trunk@6303 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-01 06:23:16 +00:00
Ryan Boren ad52441c6b Save user registration time. Props mdawaffe. fixes #5300
git-svn-id: https://develop.svn.wordpress.org/trunk@6302 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-01 05:49:23 +00:00
Ryan Boren dbad2a3943 Post timezone to lastpost filters. Props mdawaffe. fixes #5292
git-svn-id: https://develop.svn.wordpress.org/trunk@6301 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-31 16:59:05 +00:00
Ryan Boren 8e29dfa495 wpdb::set_prefix(). fixes #5287
git-svn-id: https://develop.svn.wordpress.org/trunk@6300 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-31 03:59:18 +00:00
Ryan Boren a7719ba164 AJAX for link category add and delete. Props mdawaffe. fixes #5291
git-svn-id: https://develop.svn.wordpress.org/trunk@6299 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-31 03:53:32 +00:00
Peter Westwood 095e0993bd Add documentation for wp_version_check(). Fixes #5233 props darkdragon.
git-svn-id: https://develop.svn.wordpress.org/trunk@6297 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-30 21:40:30 +00:00
Ryan Boren dd19fe2a27 wp_get_archives caching. fixes #5275
git-svn-id: https://develop.svn.wordpress.org/trunk@6296 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-30 06:03:11 +00:00
Ryan Boren 59555bdcb9 Add is_wp_error check
git-svn-id: https://develop.svn.wordpress.org/trunk@6295 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-28 21:33:03 +00:00
Ryan Boren c66d25830f Strip term name and description before preparing for DB.
git-svn-id: https://develop.svn.wordpress.org/trunk@6294 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-26 19:44:57 +00:00
Ryan Boren efd6b3c958 Pass literal strings not vars to compact.
git-svn-id: https://develop.svn.wordpress.org/trunk@6290 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-25 07:15:02 +00:00
Ryan Boren e1f98333f6 Update clean_object_term_cache() to clear for each taxonomy
git-svn-id: https://develop.svn.wordpress.org/trunk@6288 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-24 17:07:04 +00:00
Ryan Boren e14f9e0d4d Post filter fixes from mdawaffe. fixes #5249
git-svn-id: https://develop.svn.wordpress.org/trunk@6287 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-23 23:02:24 +00:00
Ryan Boren 87fb5e4b49 Separate taxonomy relationships into separate cache buckets.
git-svn-id: https://develop.svn.wordpress.org/trunk@6286 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-23 20:33:50 +00:00
Ryan Boren cbad06c47e Remove unnecessary GROUP BY when getting max term_group. Props michelwp. fixes #5240
git-svn-id: https://develop.svn.wordpress.org/trunk@6285 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-23 16:43:15 +00:00
Ryan Boren 61d75c2593 Add option for ordering retrieved terms by slug or term_group. Props michelwp. fixes #5245
git-svn-id: https://develop.svn.wordpress.org/trunk@6284 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-23 16:39:03 +00:00
Ryan Boren 8f5df55d26 get_row() not fetch_row(). Props michelwp. fixes #5230
git-svn-id: https://develop.svn.wordpress.org/trunk@6283 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-23 16:36:08 +00:00
Ryan Boren 5ac19bfa84 taxonomy phpdoc updates from darkdragon. see #4742
git-svn-id: https://develop.svn.wordpress.org/trunk@6282 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-21 17:18:24 +00:00
Peter Westwood c9039f96d1 Add atom:self link to rss2 feeds per RSS Best Practices Profile. Fixes #5205 props lexhair and rubys.
git-svn-id: https://develop.svn.wordpress.org/trunk@6278 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-20 10:35:44 +00:00
Ryan Boren a22e298dbd phpdoc for plugin API. Props darkdragon. fixes #5225
git-svn-id: https://develop.svn.wordpress.org/trunk@6276 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-19 17:45:08 +00:00
Peter Westwood 70609d051f Use a for loop where it's more appropriate. Fixes #5234 props darkdragon and DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@6275 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-19 16:32:56 +00:00
Peter Westwood 92694b55ce Add @since to the new phpdoc relates #5181 and [6273]
git-svn-id: https://develop.svn.wordpress.org/trunk@6274 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-19 16:27:09 +00:00
Peter Westwood eac65e6815 Refactor atom support to share code. Fixes #5181 props rubys
git-svn-id: https://develop.svn.wordpress.org/trunk@6273 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-19 15:42:30 +00:00
Ryan Boren 73bc9fb9ba Catch WP_Error. Props tellyworth. fixes #5226
git-svn-id: https://develop.svn.wordpress.org/trunk@6271 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-18 15:55:15 +00:00
Mark Jaquith a42beabd86 Stripslashes tag names to prevent double slashing in wp_insert_term(). fixes #5202
git-svn-id: https://develop.svn.wordpress.org/trunk@6267 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-17 20:41:43 +00:00
Peter Westwood c4dc37ef75 Set the Sender on emails as well as from. Fixes #5007 for trunk props mattyrob
git-svn-id: https://develop.svn.wordpress.org/trunk@6265 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-17 20:17:01 +00:00
Mark Jaquith 89417fbaf0 Explicitly exclude previews from canonicalization. fixes #5203 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6263 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-17 20:14:38 +00:00
Ryan Boren 427ba98610 Remove refs to old, dead caches.
git-svn-id: https://develop.svn.wordpress.org/trunk@6260 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-17 17:37:21 +00:00
Ryan Boren 9c014dca4e More taxonomy phpdoc from darkdragon. see #4742
git-svn-id: https://develop.svn.wordpress.org/trunk@6254 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-15 22:49:31 +00:00
Ryan Boren 9c62c77bd7 Move all page and post caches to 'posts' cache group.
git-svn-id: https://develop.svn.wordpress.org/trunk@6252 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-15 20:11:30 +00:00
Peter Westwood 0596a0e504 Fix typo in call to $wpdb->update. Fixes #5206 props zamoose
git-svn-id: https://develop.svn.wordpress.org/trunk@6251 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-15 20:07:29 +00:00
Ryan Boren a5d56b0264 Kill unused var.
git-svn-id: https://develop.svn.wordpress.org/trunk@6250 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-14 09:38:12 +00:00
Ryan Boren c77a783d55 Just cache the is_blog_installed value. If the options table goes away while the value is still cached, oh well. Very edge-case.
git-svn-id: https://develop.svn.wordpress.org/trunk@6249 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-14 07:57:56 +00:00
Ryan Boren c061823bb4 Add some clean cache hooks
git-svn-id: https://develop.svn.wordpress.org/trunk@6248 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-14 04:55:33 +00:00
Ryan Boren dd54d8ffe6 Allow single post ID and comma delimited list of post IDs to be passed to update_postmeta_cache(). Fix default cache to allow storage of empty array. see #5194
git-svn-id: https://develop.svn.wordpress.org/trunk@6247 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-14 01:08:07 +00:00
Ryan Boren 2fe73132c6 If checking for term within taxonomy, just do the taxonomy specific query. Saves one query.
git-svn-id: https://develop.svn.wordpress.org/trunk@6246 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 19:04:39 +00:00
Ryan Boren cf584c357f Eliminate extra query.
git-svn-id: https://develop.svn.wordpress.org/trunk@6245 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 18:53:28 +00:00
Ryan Boren 27bc4a130f Set global is_blog_installed flag so we don't query the DB more than once per load.
git-svn-id: https://develop.svn.wordpress.org/trunk@6244 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 18:39:28 +00:00
Ryan Boren 44c5526505 Eliminate object_term_cache array. see #5182
git-svn-id: https://develop.svn.wordpress.org/trunk@6243 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 18:23:59 +00:00
Mark Jaquith 23666ca104 Some foreach array casting
git-svn-id: https://develop.svn.wordpress.org/trunk@6242 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 05:33:39 +00:00
Mark Jaquith 00a44f580a prepare(), insert(), update() for wp-includes/ taxonomy.php, rss.php, registration.php
git-svn-id: https://develop.svn.wordpress.org/trunk@6241 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 03:51:11 +00:00
Mark Jaquith 13758c870e Forget about 4th update() param -- only accept named array. Roll out more insert()/update() and various cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@6240 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 02:36:38 +00:00
Mark Jaquith 05f7b9d773 Allow wpdb->update() to optionally take a named array of where column/value pairs (which will be ANDed)
git-svn-id: https://develop.svn.wordpress.org/trunk@6239 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 01:44:25 +00:00
Mark Jaquith 48c555d637 Remove redundant "db_" from db_insert() and db_update() methods. Now just insert() and update(). see #5178
git-svn-id: https://develop.svn.wordpress.org/trunk@6238 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 00:54:26 +00:00
Mark Jaquith ac2a4ed5dc More use of db_insert()/db_update(). see #5178
git-svn-id: https://develop.svn.wordpress.org/trunk@6237 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 00:48:52 +00:00
Mark Jaquith 1140390e17 Oops, within the class here.
git-svn-id: https://develop.svn.wordpress.org/trunk@6236 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 00:45:34 +00:00
Ryan Boren a6076f7083 Fix category assigment during link import. fixes #5107 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6233 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-12 21:47:34 +00:00
Ryan Boren 770c20562c Eliminate , , and . see #5182
git-svn-id: https://develop.svn.wordpress.org/trunk@6229 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-12 21:12:34 +00:00
Peter Westwood 789b65933e Add is_page_template() function to allow theme developers to detect that they are is a page template. Fixes #3335
git-svn-id: https://develop.svn.wordpress.org/trunk@6228 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-12 20:01:16 +00:00
Peter Westwood c0e3dc42d7 Translation fix for wp_tag_cloud(). Fixes #5131 props webrocker
git-svn-id: https://develop.svn.wordpress.org/trunk@6227 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-12 19:49:25 +00:00
Ryan Boren b6905da933 Use inner joins instead of left joins for taxonomy. Inner is faster. fixes #5179
git-svn-id: https://develop.svn.wordpress.org/trunk@6224 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-11 17:43:49 +00:00
Mark Jaquith f1f150fd50 Code cleanup and standardization for functions.php
git-svn-id: https://develop.svn.wordpress.org/trunk@6223 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-11 05:46:57 +00:00
Mark Jaquith 3cf979dd42 Introducing absint() for casting to an absolute integer. see #4762
git-svn-id: https://develop.svn.wordpress.org/trunk@6222 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-10 22:11:18 +00:00
Mark Jaquith 67cb7b99ef Introducing db_insert() and db_update(), with immediate usage in wp_insert_post(). fixes #5178
git-svn-id: https://develop.svn.wordpress.org/trunk@6221 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-10 22:01:40 +00:00
Mark Jaquith 000bbba87b check for a match against a lowercase host in wp_safe_redirect(). props BoltClock. fixes #5114 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6219 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-10 19:25:23 +00:00
Ryan Boren 3df52cab4b Output localized strings before outputting js. Props mdawaffe. fixes #5177 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6218 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-10 18:51:12 +00:00
Mark Jaquith b467f930fd Revert partial prepare() implementation. Needs to be all or nothing. Props xknown. fixes #5145
git-svn-id: https://develop.svn.wordpress.org/trunk@6216 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-09 23:16:35 +00:00
Ryan Boren 63299130a8 jquery for list manipulation. Round one, fight. Props mdawaffe. fixes #4805
git-svn-id: https://develop.svn.wordpress.org/trunk@6214 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-09 22:51:25 +00:00
Ryan Boren 490789554f jquery for list manipulation. Round one, fight. Props mdawaffe. fixes #4805
git-svn-id: https://develop.svn.wordpress.org/trunk@6213 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-09 22:49:42 +00:00
Ryan Boren 0fb24b1a07 Force prototype to load before jquery. Props mdawaffe. fixes #5067 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6209 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-09 21:04:26 +00:00
Mark Jaquith b307377ea1 use type="text/javascript", not lang="javascript". Props dsiemon. fixes #5168
git-svn-id: https://develop.svn.wordpress.org/trunk@6207 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-09 04:13:36 +00:00
Ryan Boren 15bfa9d2fb Apply filteres when returning empty array from get_pages. Props epper. fixes #4712 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6204 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-08 22:25:33 +00:00
Peter Westwood 1a0fc27afc Move the WLW manifest related files to have proper WordPress naming scheme.
git-svn-id: https://develop.svn.wordpress.org/trunk@6202 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-08 20:21:29 +00:00
Peter Westwood d36d0756e3 Define $constaint is all cases in get_attachment_icon() to fix E_NOTICE. Fixed #5159 props richcon.
git-svn-id: https://develop.svn.wordpress.org/trunk@6201 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-07 07:35:20 +00:00
Peter Westwood 6234be8d22 Add documentation of _wp_filter_build_unique_id(). Fixed #5053 props darkdragon.
git-svn-id: https://develop.svn.wordpress.org/trunk@6200 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-07 07:31:14 +00:00
Peter Westwood 8fe6767f3b 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: https://develop.svn.wordpress.org/trunk@6199 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-06 08:40:54 +00:00
Peter Westwood 0919b3ca32 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: https://develop.svn.wordpress.org/trunk@6198 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-06 08:18:33 +00:00
Peter Westwood 3c2cc79a46 Centralise generator generation, move theme generator generation to wp-head hook. Fixes #5085, #4803. props docwhat, Viper007Bond.
git-svn-id: https://develop.svn.wordpress.org/trunk@6195 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-06 06:55:24 +00:00
Ryan Boren f1aa921ebf WLW manifest from josephscott. fixes #5023 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6192 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-05 17:29:34 +00:00
Ryan Boren f027350b3f Add some spacing. fixes #5137 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6189 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-05 16:27:48 +00:00
Ryan Boren 766e620f90 New taxonomy intersection queries from xknown. fixes #5137
git-svn-id: https://develop.svn.wordpress.org/trunk@6186 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-04 18:10:03 +00:00
Ryan Boren 9c63ee1146 Add page sanitization. Props xknown. fixes #5135 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6185 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-03 16:27:07 +00:00
Ryan Boren c23298decb Add sanitize_url. Don't convert ampersands in URLs when saving to DB. fixes #4411 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6182 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-03 16:16:55 +00:00
Mark Jaquith 11e69b6820 prepare() for wp-includes/ link-template.php, post.php, general-template.php, pluggable.php, functions.php. see #4553
git-svn-id: https://develop.svn.wordpress.org/trunk@6180 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-02 18:45:47 +00:00
Peter Westwood c84e8726d1 We're working on bleeding edge 2.4 stuff now
git-svn-id: https://develop.svn.wordpress.org/trunk@6177 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-29 10:56:53 +00:00
Mark Jaquith d9c7174ee2 prepare() for wp-includes/ bookmark.php, canonical.php, comment.php, comment-template.php. see #4553
git-svn-id: https://develop.svn.wordpress.org/trunk@6173 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-27 07:34:15 +00:00
Ryan Boren 20cb146746 Fix typo in category widget class name. Props joostdevalk. fixes #5079 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@6169 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-26 16:12:28 +00:00
Matt Mullenweg a1dccaa866 bumpity
git-svn-id: https://develop.svn.wordpress.org/trunk@6164 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-25 00:34:43 +00:00
Ryan Boren 85a3aab65c Fix typo. fixes #5061
git-svn-id: https://develop.svn.wordpress.org/trunk@6161 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-24 01:48:36 +00:00
Ryan Boren 8e5f6a187e Add some filtering. Props jhodgdon. fixes #3595
git-svn-id: https://develop.svn.wordpress.org/trunk@6160 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-23 19:25:15 +00:00
Ryan Boren 09e793a837 Fix term count padding.
git-svn-id: https://develop.svn.wordpress.org/trunk@6159 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-23 00:35:59 +00:00
Ryan Boren c93bdc05d1 Term with slug that conflicts with existing term with different parent gets a new term entry with a unique slug. see #5034
git-svn-id: https://develop.svn.wordpress.org/trunk@6157 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 18:01:08 +00:00
Ryan Boren 4e45315a83 Don't reset parent when updating attachment. Props filosofo and michelwp. fixes #5010
git-svn-id: https://develop.svn.wordpress.org/trunk@6155 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 16:30:40 +00:00
Mark Jaquith 1c934d962c Add tag_base to list of untrailingslashed options, and standardize the unslashing. Prevents /mytags//tagname/
git-svn-id: https://develop.svn.wordpress.org/trunk@6153 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 06:11:48 +00:00
Mark Jaquith 381dc189dd Fix PATH_INFO first page paging link. fixes #5039
git-svn-id: https://develop.svn.wordpress.org/trunk@6152 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 06:07:03 +00:00
Mark Jaquith ccad303433 Core and plugin update checking: make sure fsockopen() is available and check file resources with is_resource() -- both to prevent feof() infinite loops. Props xknown. fixes #5037
git-svn-id: https://develop.svn.wordpress.org/trunk@6151 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 00:08:50 +00:00
Ryan Boren 856779888e Revert [5969]. It can break permalinks. see #4739
git-svn-id: https://develop.svn.wordpress.org/trunk@6150 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-21 19:36:12 +00:00
Ryan Boren 5aecb8912f Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: https://develop.svn.wordpress.org/trunk@6148 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-21 15:51:00 +00:00
Mark Jaquith a6b8fe6c3a Pass the attempted redirect host as a second parameter in the allowed_redirect_hosts filter. props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@6145 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-20 21:53:42 +00:00
Ryan Boren 4d35d6b824 Always remove index.php from request before contructing page links. fixes #5000
git-svn-id: https://develop.svn.wordpress.org/trunk@6144 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-20 20:56:22 +00:00
Mark Jaquith 2aa1dc4038 Remove trailing /index.php fixing from canonical.php ... Thanks chaoticmortalcom. fixes #5017
git-svn-id: https://develop.svn.wordpress.org/trunk@6143 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-20 20:25:43 +00:00
Ryan Boren 759c182911 Bail if post is empty. Props mdawaffe. fixes #5019
git-svn-id: https://develop.svn.wordpress.org/trunk@6142 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-20 18:25:14 +00:00
Ryan Boren 59a07b76a9 Don't specialchars markup in term description. fixes #5021
git-svn-id: https://develop.svn.wordpress.org/trunk@6141 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-20 18:23:33 +00:00
Ryan Boren 6406e9bbeb Extra protection in check_ajax_referer from mdawaffe. fixes #4939
git-svn-id: https://develop.svn.wordpress.org/trunk@6138 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 19:32:34 +00:00
Ryan Boren 6e8eb02d73 Fix includes for setup-config so that wp_die is defined. Props DD32. fixes #4997
git-svn-id: https://develop.svn.wordpress.org/trunk@6137 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 04:27:56 +00:00
Mark Jaquith 38a6848169 Put a filter in wp_safe_redirect() so people can whitelist other domains. see #4606
git-svn-id: https://develop.svn.wordpress.org/trunk@6136 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 04:14:53 +00:00
Ryan Boren 7738085d0f RC1
git-svn-id: https://develop.svn.wordpress.org/trunk@6135 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 04:14:27 +00:00
Mark Jaquith 9b5fd1b17c More robust wp_safe_redirect(). Introducing wp_sanitize_redirect() for use in wp_redirect() and wp_safe_redirect(). fixes #4606
git-svn-id: https://develop.svn.wordpress.org/trunk@6134 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 03:47:37 +00:00
Ryan Boren 776b930d7f Script loader cleanup from mdawaffe. fixes #5003
git-svn-id: https://develop.svn.wordpress.org/trunk@6133 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 00:51:21 +00:00
Ryan Boren ec05e6cfd7 the_title_attribute(). Props Nazgul. fixes #4731
git-svn-id: https://develop.svn.wordpress.org/trunk@6132 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 22:50:59 +00:00
Mark Jaquith 421356b6b8 Introducing wp_safe_redirect(). fixes #4606 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6131 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 22:23:16 +00:00
Ryan Boren 7941b7160a Revert rename of more-link class. Props foolswisdom. fixes #4999
git-svn-id: https://develop.svn.wordpress.org/trunk@6128 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:44:35 +00:00
Ryan Boren 7977cdd349 Drop old tables. Props Nazgul. fixes #4995
git-svn-id: https://develop.svn.wordpress.org/trunk@6126 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:37:21 +00:00
Ryan Boren 5917c5458c Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: https://develop.svn.wordpress.org/trunk@6125 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:32:22 +00:00
Mark Jaquith 37d5915b8e Use maybe_unserialize() in get_usermeta(). Props filosofo. fixes #4993
git-svn-id: https://develop.svn.wordpress.org/trunk@6124 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-17 19:19:55 +00:00
Ryan Boren aed5679ace Don't lose tags when saving a post with attachments. Props filosofo. fixes #4532
git-svn-id: https://develop.svn.wordpress.org/trunk@6121 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-16 02:36:23 +00:00
Matt Mullenweg 092bbfb049 Sometimes the $page global is set but it's just an integer, like 1, not an object which we should try to address and put in the cache. The page would work but we'd do spurious wp_cache_add
git-svn-id: https://develop.svn.wordpress.org/trunk@6120 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-15 21:52:37 +00:00
Matt Mullenweg c1eda9c8c6 Because we're modifying an existing cache variable we need to do a _set, not an _add, like we do other places we stick multiple cache values in a single var and key.
git-svn-id: https://develop.svn.wordpress.org/trunk@6119 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-15 21:50:53 +00:00
Peter Westwood 0675c6fc51 Set svn:eol-style on a few files.
git-svn-id: https://develop.svn.wordpress.org/trunk@6118 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-15 17:35:32 +00:00
Matt Mullenweg 9a1ce32a53 Incorrect cache group was causing terms never to get cached.
git-svn-id: https://develop.svn.wordpress.org/trunk@6117 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-15 16:48:29 +00:00
Mark Jaquith f372b1dd05 Canonical fixes: Allow Pages to have /page/x/. Always trailing slash home when it is not paged. Strip extra trailing slashes off of /page/x///
git-svn-id: https://develop.svn.wordpress.org/trunk@6115 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-14 19:41:23 +00:00
Ryan Boren 3db6ccefb0 Deprecate fakeit arg. Props Nazgul. fixes #4439
git-svn-id: https://develop.svn.wordpress.org/trunk@6114 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 21:27:26 +00:00
Mark Jaquith 6f76f4865d Handle ports for canonical redirects. Props driverkt and westi. fixes #4970
git-svn-id: https://develop.svn.wordpress.org/trunk@6112 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 19:24:05 +00:00
Mark Jaquith 2b72a424fc Just some indent fixes in canonical.php
git-svn-id: https://develop.svn.wordpress.org/trunk@6111 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 19:12:53 +00:00
Mark Jaquith 5d12c48818 Use wp_die() for WPDB bails. Send 500 response and no-cache headers so wp_die()s are not cached. props DD32. fixes #3471
git-svn-id: https://develop.svn.wordpress.org/trunk@6110 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 06:23:23 +00:00
Ryan Boren 2e0f3b30e8 s/onChange/onchange/. Props grubgirl, Nazgul. fixes #4630
git-svn-id: https://develop.svn.wordpress.org/trunk@6109 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 05:33:54 +00:00
Mark Jaquith ff71837a58 De-rabbit-hole compat.php
git-svn-id: https://develop.svn.wordpress.org/trunk@6108 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 05:24:31 +00:00
Mark Jaquith 15be7fdab8 Check for apply_filters() in status_header() so that it can be called early on in load process
git-svn-id: https://develop.svn.wordpress.org/trunk@6107 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 05:00:46 +00:00
Ryan Boren 05d9662d3e no follow callback
git-svn-id: https://develop.svn.wordpress.org/trunk@6105 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 04:51:33 +00:00
Mark Jaquith d2b1b4ec3b Move $wp_header_to_desc array to get_status_header_desc() so that it can be called before vars.php is loaded.
git-svn-id: https://develop.svn.wordpress.org/trunk@6104 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 04:48:41 +00:00
Mark Jaquith f5821a6ff7 Plugins are not loaded at this point, so the wp_header_to_desc_array filter is useless
git-svn-id: https://develop.svn.wordpress.org/trunk@6103 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 04:13:32 +00:00
Ryan Boren e0b73aa55a Don't strip slashes from pre. Props DelGurth and mdawaffe. fixes #2059
git-svn-id: https://develop.svn.wordpress.org/trunk@6102 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 04:11:21 +00:00
Mark Jaquith 74cddbcf72 fix links generated by get_category_rss_link(). props gwagenknecht. fixes #4550 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6100 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 22:24:28 +00:00
Mark Jaquith 23eba5ca0a Set $theme_loc correctly when ABSPATH is "/". Props arabek. fixes #4541
git-svn-id: https://develop.svn.wordpress.org/trunk@6099 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 22:19:26 +00:00
Mark Jaquith 41f61e4056 Set widget classname when passed string, object/method, object-reference/method. fixes #4910
git-svn-id: https://develop.svn.wordpress.org/trunk@6098 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 20:48:21 +00:00
Mark Jaquith 88c31f17b1 Ignore HOST capitalization differences for canonical redirects. props jbctech. fixes #4773
git-svn-id: https://develop.svn.wordpress.org/trunk@6097 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 20:44:41 +00:00
Peter Westwood 2c1f68efe3 Allow plugins to sanitize there own options easily.
git-svn-id: https://develop.svn.wordpress.org/trunk@6096 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 18:15:29 +00:00
Peter Westwood 41bd579f15 Ensure the parentlink is trailingslashed when building the url - don't trim / off the front. Fixes #2801 props Libertus
git-svn-id: https://develop.svn.wordpress.org/trunk@6095 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 17:46:13 +00:00
Peter Westwood 6eaa87a9a9 Consolidate shared code in get_userdata and get_userdatabylogin. Fixes #2134 props johnjosephbachir
git-svn-id: https://develop.svn.wordpress.org/trunk@6094 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 17:15:17 +00:00
Peter Westwood df7d8eaacd Make the atom feed updated field actually tell you when the post was updated. Fixes #4816 props lapcat.
git-svn-id: https://develop.svn.wordpress.org/trunk@6093 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 16:26:39 +00:00
Ryan Boren 514fb8f764 More phpdoc for taxonomy from darkdragon. see #4742
git-svn-id: https://develop.svn.wordpress.org/trunk@6092 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 02:56:44 +00:00
Ryan Boren a6fba8edcf Add echo or return option to wp_list_categories. Props Otto42. fixes #4182
git-svn-id: https://develop.svn.wordpress.org/trunk@6091 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 02:53:27 +00:00
Ryan Boren dabc12fd93 Deprecate old links functions. Props rob1n. fixes #3413
git-svn-id: https://develop.svn.wordpress.org/trunk@6088 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 01:01:48 +00:00
Ryan Boren f29d32da27 Resurrect count padding.
git-svn-id: https://develop.svn.wordpress.org/trunk@6087 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 00:49:16 +00:00
Ryan Boren 64bbc52982 Remove duplicate code from wp_insert_attachment(). Update to use sanitize_post. Props Otto42. fixes #4946
git-svn-id: https://develop.svn.wordpress.org/trunk@6086 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 22:27:36 +00:00
Mark Jaquith 7eea02c12c Always trailingslash the "home" URL. Protect against chained redirects. Thanks wantmoore. fixes #4773
git-svn-id: https://develop.svn.wordpress.org/trunk@6085 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 21:21:40 +00:00
Peter Westwood e0a59804ee Allow the wp_mail filter to change the passed data. Fixes #4511 props ryan.
git-svn-id: https://develop.svn.wordpress.org/trunk@6084 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 20:49:28 +00:00
Peter Westwood c3b56d7710 Ensure (next|previous)_post_link always have some content even when the post title is blank. Fixes #1835, props johnbillion
git-svn-id: https://develop.svn.wordpress.org/trunk@6082 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 20:05:52 +00:00
Ryan Boren 951354b6bc Add user_nicename key to users table. fixes #4937
git-svn-id: https://develop.svn.wordpress.org/trunk@6075 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 18:13:56 +00:00
Ryan Boren 11ed527c0d Set tag_id to first tag in multi tag queries. Have single_cat_title() fallback to single_tag_title() if is_tag so that existing category templates will work with tags. fixes #4506
git-svn-id: https://develop.svn.wordpress.org/trunk@6074 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 18:06:52 +00:00
Ryan Boren 2df3796380 beta3
git-svn-id: https://develop.svn.wordpress.org/trunk@6073 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 01:43:49 +00:00
Ryan Boren 5bd5234f8d References don't work inside foreach in php4. Props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@6071 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-10 19:37:00 +00:00
Mark Jaquith 605d95b344 Actually, we always need to URLencode square brackets... or wp_redirect() will strip them out. see #4935. see #4878
git-svn-id: https://develop.svn.wordpress.org/trunk@6070 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-10 15:53:34 +00:00
Mark Jaquith f88ae978d1 Forgot to use $lsb and $rsb in [6064]. Props mdawaffe. see #4935. see #4878
git-svn-id: https://develop.svn.wordpress.org/trunk@6069 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-10 15:34:13 +00:00
Mark Jaquith 4292b0af36 Strip index.php/ before adding it in get_pagenum_link(). Insert index.php/ for the first page when blog is on a page. fixes #4945
git-svn-id: https://develop.svn.wordpress.org/trunk@6068 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-10 15:06:21 +00:00
Mark Jaquith ed03cc32dc Only urlencode previously existing values in add_query_arg() (more backwards compatible). fixes #4935. see #4084. see #4878
git-svn-id: https://develop.svn.wordpress.org/trunk@6064 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-08 14:27:24 +00:00
Mark Jaquith d065fe3cb8 Try more ways of getting wp-admin URL in wp_die(). props Nazgul. fixes #4006
git-svn-id: https://develop.svn.wordpress.org/trunk@6057 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-07 02:25:54 +00:00
Mark Jaquith bb7b7901b9 Properly construct widget classname if second param is an array. Props f00f. fixes #4910
git-svn-id: https://develop.svn.wordpress.org/trunk@6054 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-06 23:27:16 +00:00
Ryan Boren 836ea54d21 Case terms to int so we don't try to create new terms with the term ids as the names. fixes #4920
git-svn-id: https://develop.svn.wordpress.org/trunk@6050 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-06 22:07:23 +00:00
Ryan Boren 459a358e04 Resurrect hide_empty
git-svn-id: https://develop.svn.wordpress.org/trunk@6048 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-06 04:34:06 +00:00
Ryan Boren 397b2c28ba Add missing instance var. Props filosofo. see #4806
git-svn-id: https://develop.svn.wordpress.org/trunk@6046 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 23:17:41 +00:00
Ryan Boren 9efd32a426 Remove redundant declaration ofedInsertContent. Props Viper007Bond. fixes #4902
git-svn-id: https://develop.svn.wordpress.org/trunk@6045 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 23:14:39 +00:00
Ryan Boren 40fe936687 Update pop3 class to latest from squirrelmail. Props westi. see #4337
git-svn-id: https://develop.svn.wordpress.org/trunk@6044 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 22:55:38 +00:00
Ryan Boren 7f8b7c9859 Basic tag cloud widget. Props Stargazer. fixes #4130
git-svn-id: https://develop.svn.wordpress.org/trunk@6040 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 21:50:52 +00:00
Mark Jaquith 88a4c73ec2 Deprecate option_can_override, option_type, option_width, option_height, option_description, option_admin_level from options table. Props Nazgul. fixes #4390
git-svn-id: https://develop.svn.wordpress.org/trunk@6039 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 19:20:53 +00:00
Ryan Boren 85bec38507 Don't skip sanitization if 404. Add wp_title display filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@6035 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 03:11:04 +00:00
Peter Westwood 5593328ba6 Improve desriptions for I18N strings. Fixes #4906 props nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@6033 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-04 20:56:08 +00:00
Mark Jaquith a2afc64e79 Actually, let's just drop that slash check altogether. Equals sign is the best indicator. fixes #4903 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6031 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-04 05:26:18 +00:00
Mark Jaquith 23bcbfcb05 Require a slash AND the absence of an equals sign to designate the passed $uri as a base (without a query string). fixes #4903 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6030 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-04 05:21:54 +00:00
Mark Jaquith 5a4c102696 Better $pagenow determination. fixes #4748
git-svn-id: https://develop.svn.wordpress.org/trunk@6029 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-04 03:21:04 +00:00
Ryan Boren 5140fb674b beta2
git-svn-id: https://develop.svn.wordpress.org/trunk@6027 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-04 01:01:01 +00:00
Ryan Boren 7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Ryan Boren e9391140a7 Strip lines that contain only whitespace down to newlines.
git-svn-id: https://develop.svn.wordpress.org/trunk@6025 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:19:20 +00:00
Peter Westwood 9b621d42c6 Fix admin css link when installing in a directory. Fixes #4877
git-svn-id: https://develop.svn.wordpress.org/trunk@6024 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 20:20:18 +00:00
Mark Jaquith 0459826bd3 Check for wp-admin case-insensitively in is_admin()
git-svn-id: https://develop.svn.wordpress.org/trunk@6022 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 19:56:09 +00:00
Ryan Boren c8e307e72f Tag unions and intersections. fixes #4895
git-svn-id: https://develop.svn.wordpress.org/trunk@6021 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 18:14:05 +00:00
Peter Westwood a629aa8c5f Change queries in get_{next|previous}_post so that plugins can INNER JOIN on other tables with an ID column. Fixes #4822 props Cimmo.
git-svn-id: https://develop.svn.wordpress.org/trunk@6019 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 16:46:31 +00:00
Ryan Boren 0c1e57ff2b Don't strip @ from url. Fix scheme prefixing. Props pishmishy. fixes #3299
git-svn-id: https://develop.svn.wordpress.org/trunk@6015 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 15:59:12 +00:00
Ryan Boren 2d3b05b2a6 tag_id not tag__id. see #4895
git-svn-id: https://develop.svn.wordpress.org/trunk@6012 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 03:26:57 +00:00
Ryan Boren 3e725d7a7d tag__in, tag__not_in, and tag_and queries. fixes #4895
git-svn-id: https://develop.svn.wordpress.org/trunk@6011 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 03:24:23 +00:00
Mark Jaquith 2c6bb0bd0e Escape text titles in AtomParser. Props Sam Ruby. fixes #4892
git-svn-id: https://develop.svn.wordpress.org/trunk@6010 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-02 20:42:00 +00:00
Mark Jaquith d0d887d09d Eliminate double urlencode()ing in add_query_arg(). Move &-to-& conversion to wp_nonce_url(). fixes #4884
git-svn-id: https://develop.svn.wordpress.org/trunk@6008 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-02 05:49:54 +00:00
Mark Jaquith 71820cb422 Correct variable name in clean_object_term_cache(). props arnee. fixes #4888
git-svn-id: https://develop.svn.wordpress.org/trunk@6007 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-02 05:08:48 +00:00
Mark Jaquith 3308252f00 Turn & to & in add_query_arg(). fixes #4878
git-svn-id: https://develop.svn.wordpress.org/trunk@6005 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-01 22:12:17 +00:00
Peter Westwood 1b53aaa0ed Fix RDF feeds to not contain invalid tag "category". Fixed #4643 props kztk
git-svn-id: https://develop.svn.wordpress.org/trunk@6001 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-01 08:33:08 +00:00
Ryan Boren 963528d3cb get_tag() and get_tag_feed_link()
git-svn-id: https://develop.svn.wordpress.org/trunk@6000 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-01 04:43:27 +00:00
Mark Jaquith d5e3e96141 Preserve query string arrays in add_query_arg(). fixes #4878 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5999 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-01 03:41:50 +00:00
Ryan Boren c6cef97007 Add some filtering. Props jhodgdon. see #4516
git-svn-id: https://develop.svn.wordpress.org/trunk@5998 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-31 23:55:56 +00:00
Ryan Boren 7cfadec3fa Don't use unavailable func. Props filosofo. fixes #4881
git-svn-id: https://develop.svn.wordpress.org/trunk@5997 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-31 22:36:16 +00:00
Mark Jaquith b47f557a49 Kill %tag%-based permalinks. fixes #4875
git-svn-id: https://develop.svn.wordpress.org/trunk@5995 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-30 19:42:34 +00:00
Mark Jaquith 2cbc2f0e87 Roll back [5986], [5988], [5989]. We are in a char class, so no escaping needed. Props mdawaffe. see #4873
git-svn-id: https://develop.svn.wordpress.org/trunk@5993 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-30 18:13:48 +00:00
Mark Jaquith 00f5e9555d Better %0d/%0a sanitization for wp_redirect() from hakre. fixes #4819 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5990 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-30 17:46:09 +00:00
Ryan Boren effcdff92b Escape special chars in regex. Props eightize and Otto42. fixes #4873
git-svn-id: https://develop.svn.wordpress.org/trunk@5986 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-30 15:42:26 +00:00
Ryan Boren 78c09303ac Make sure term cache is cleared when updating term counts.
git-svn-id: https://develop.svn.wordpress.org/trunk@5983 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-30 00:34:55 +00:00
Ryan Boren 3ff8ad1a47 Trackback fxn cleanup from Otto42. fixes #4800
git-svn-id: https://develop.svn.wordpress.org/trunk@5982 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 23:08:44 +00:00
Ryan Boren 3910be3880 Include tags in feeds. fixes #4537
git-svn-id: https://develop.svn.wordpress.org/trunk@5979 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 21:10:20 +00:00
Mark Jaquith f6b019c8b6 More cautious canonical-ness. Exclude IIS and POSTs. Better paging handling. Still a work in progress! see #4773
git-svn-id: https://develop.svn.wordpress.org/trunk@5978 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 21:06:51 +00:00
Ryan Boren 7109e26194 delete_post_meta_by_key() from Mark Jaquith. fixes #4178
git-svn-id: https://develop.svn.wordpress.org/trunk@5976 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 19:12:20 +00:00
Ryan Boren d8381c8973 Remove hardcoded clean_url on comment_author_url since it is handled on the pre_comment_author_url filter. Props wnorris. fixes #4120
git-svn-id: https://develop.svn.wordpress.org/trunk@5975 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 19:04:14 +00:00
Mark Jaquith 31d9b33458 Fix paging and preview links for canonical stuff. see #4773. fixes #4862
git-svn-id: https://develop.svn.wordpress.org/trunk@5974 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 18:10:11 +00:00
Ryan Boren 0210464be1 Limit recent entries query to published posts. fixes #4786
git-svn-id: https://develop.svn.wordpress.org/trunk@5973 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 18:02:19 +00:00
Ryan Boren 6fc09cfd3b Take port into consideration when spawning cron. Props bchecketts. fixes #4782
git-svn-id: https://develop.svn.wordpress.org/trunk@5972 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 17:57:06 +00:00
Peter Westwood 84b76f6832 Remove dead code. Fixed #4791 props filosofo
git-svn-id: https://develop.svn.wordpress.org/trunk@5970 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 17:36:46 +00:00
Peter Westwood c0e6a44fdf Add utf8->ascii mappings for icelandic letters. Fixes #4739 props einare
git-svn-id: https://develop.svn.wordpress.org/trunk@5969 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 17:34:15 +00:00
Peter Westwood 5ad60fe10f Fix xhtml output for RSS widget when feed contains no items. Fixed #4671 props brettz95 and Nazgul
git-svn-id: https://develop.svn.wordpress.org/trunk@5968 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 17:28:07 +00:00
Ryan Boren e38abfba84 Make css cache busting and rtl inclusion uniform across admin. Props mdawaffe. fixes #4830
git-svn-id: https://develop.svn.wordpress.org/trunk@5965 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-28 23:23:38 +00:00
Peter Westwood f763c751d8 Ensure we flush the recent entries widget cache after a post has been deleted. Fixes #4825 props donncha
git-svn-id: https://develop.svn.wordpress.org/trunk@5960 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-28 20:12:43 +00:00
Peter Westwood 3b74215727 Pass through the function argument so rules can actually be added to the top of the stack, props santos
git-svn-id: https://develop.svn.wordpress.org/trunk@5959 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-28 19:55:11 +00:00
Ryan Boren 37704dc738 explicitly check next() against FALSE in do_action_ref_array(). Props Denis-de-Bernardy, Otto42, Nazgul, santosj, DD32. fixes #4625 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5958 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-28 19:06:56 +00:00
Ryan Boren ba8c7d12ba Don't return permalink for non-existent post. Props Viper007Bond. fixes #4834
git-svn-id: https://develop.svn.wordpress.org/trunk@5956 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-28 18:58:54 +00:00
Ryan Boren 13ad64bad7 beta1
git-svn-id: https://develop.svn.wordpress.org/trunk@5954 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-28 00:18:36 +00:00
Ryan Boren 48120ed74b Add clean_url filter. see #4570
git-svn-id: https://develop.svn.wordpress.org/trunk@5952 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-27 23:31:09 +00:00
Ryan Boren db0b4d72c6 Bring in atomlib 0.4 and update wp-app to use it. Props eliast and placey. fixes #4191
git-svn-id: https://develop.svn.wordpress.org/trunk@5951 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-27 19:52:58 +00:00
Ryan Boren f3e9670cfd Revert get_col behavior. Props mdawaffe. fixes #4826
git-svn-id: https://develop.svn.wordpress.org/trunk@5950 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-27 19:44:53 +00:00
Matt Mullenweg 7d95821088 Make the entire comment flood check pluggable as it can cause load problems on large sites.
git-svn-id: https://develop.svn.wordpress.org/trunk@5947 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-27 06:34:18 +00:00
Ryan Boren 06515b9839 Display tag name, not slug, in title. Props ionfish. fixes #4812
git-svn-id: https://develop.svn.wordpress.org/trunk@5945 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-26 17:18:00 +00:00
Ryan Boren 9b4a30290f Add missing global and remove unused var. Props JeremyVisser. fixes #4818
git-svn-id: https://develop.svn.wordpress.org/trunk@5944 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-26 17:12:31 +00:00
Ryan Boren d0c245d950 Update to jquery 1.1.4. Props mdawaffe. fixes #4810
git-svn-id: https://develop.svn.wordpress.org/trunk@5939 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-24 21:46:03 +00:00
Ryan Boren a1b51966d7 Don't pass cat as ref. Fix some term sanitization. fixes #4702
git-svn-id: https://develop.svn.wordpress.org/trunk@5938 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-24 18:41:01 +00:00
Ryan Boren aa0ab82ecd Update WP importer to use taxonomy and query cat based on slug. see #4613
git-svn-id: https://develop.svn.wordpress.org/trunk@5937 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-24 14:44:26 +00:00
Ryan Boren 73d5479b43 Fix how wp_filter array is keyed. Props santosj/darkdragon. fixes #3875 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5936 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-24 14:18:08 +00:00
Peter Westwood 1532e450bb Enable plugins to override the cockney replace array, fixes #4804 props andihit
git-svn-id: https://develop.svn.wordpress.org/trunk@5930 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-23 21:02:31 +00:00
Peter Westwood 897531ee27 Allow upload of all Open Office document types props nbachiyski fixes #4615
git-svn-id: https://develop.svn.wordpress.org/trunk@5929 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-23 18:28:14 +00:00
Ryan Boren ca4e75cb57 Don't allow private query vars in url_to_postid
git-svn-id: https://develop.svn.wordpress.org/trunk@5925 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-23 16:09:37 +00:00
Peter Westwood de6855386a Fix plugin basename for Windows servers. Fixes #3002 props Ozh
git-svn-id: https://develop.svn.wordpress.org/trunk@5924 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-23 16:07:21 +00:00
Mark Jaquith ca9bea927b No canonical-ness for wp-admin. see #4773
git-svn-id: https://develop.svn.wordpress.org/trunk@5921 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-23 03:40:51 +00:00
Ryan Boren dac74f6c47 Add cat-item-id and page-item-id classes. Props Otto42. fixes #4703
git-svn-id: https://develop.svn.wordpress.org/trunk@5920 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 22:59:45 +00:00
Ryan Boren 84df0a2453 Fix get_post_comments_feed_link() to work with pages. fixes #4637
git-svn-id: https://develop.svn.wordpress.org/trunk@5919 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 22:42:57 +00:00
Ryan Boren e77ed87b6c Add get_lastpostdate and 'get_lastpostdatemodified filters. Props rob1n. fixes #4801
git-svn-id: https://develop.svn.wordpress.org/trunk@5918 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 22:30:06 +00:00
Ryan Boren 51592ad7f2 Add class to tag cloud links. Props filosofo. fixes #4798
git-svn-id: https://develop.svn.wordpress.org/trunk@5917 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 22:28:00 +00:00
Ryan Boren 87234faca2 posts_results and posts_selection hooks. fixes #4799
git-svn-id: https://develop.svn.wordpress.org/trunk@5916 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 18:03:26 +00:00
Ryan Boren c10c02374b Sanitize a few options
git-svn-id: https://develop.svn.wordpress.org/trunk@5914 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 17:57:36 +00:00
Ryan Boren ece120b57f Some tag api additions from andy.
git-svn-id: https://develop.svn.wordpress.org/trunk@5912 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-21 18:39:45 +00:00
Ryan Boren fd11034748 commentsrss2_head action from joostdevalk. fixes #4694
git-svn-id: https://develop.svn.wordpress.org/trunk@5911 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-21 18:32:39 +00:00
Ryan Boren 6f03cac3d9 Deprecate permalink_single_rss(). Add the_permalink_rss() with accompanying filter. Props joostdevalk and Otto42. fixes #4654
git-svn-id: https://develop.svn.wordpress.org/trunk@5910 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-21 18:27:45 +00:00
Ryan Boren a79d48ea1c wp_reset_query() from mdawaffe. fixes #4741
git-svn-id: https://develop.svn.wordpress.org/trunk@5907 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-20 22:55:43 +00:00
Ryan Boren d8adefe0b2 bookmark sanitizer funcs and default filter cleanup. see #4546
git-svn-id: https://develop.svn.wordpress.org/trunk@5906 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-20 22:50:04 +00:00
Matt Mullenweg 76384e93f0 Don't run if installing, fixes $4772
git-svn-id: https://develop.svn.wordpress.org/trunk@5900 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-19 04:27:04 +00:00
Ryan Boren df22fd9a58 Add back compat to get_the_category. Props nbachiyski. fixes #4771
git-svn-id: https://develop.svn.wordpress.org/trunk@5899 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-18 17:21:51 +00:00
Ryan Boren 23efaffd94 Revert accidental commit.
git-svn-id: https://develop.svn.wordpress.org/trunk@5897 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-17 21:23:39 +00:00
Ryan Boren b2d8f1bd12 First cut of taxonomy API phpdoc from darkdragon. see #4742
git-svn-id: https://develop.svn.wordpress.org/trunk@5896 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-17 21:22:37 +00:00
Matt Mullenweg 69a3980bc7 Switch to init action. Hat tip: westi. See #1476
git-svn-id: https://develop.svn.wordpress.org/trunk@5894 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-17 13:28:45 +00:00
Matt Mullenweg f6c6582ff3 First pass at upgrade notification for core, see #1476. Also includes some minor footer styling changes.
git-svn-id: https://develop.svn.wordpress.org/trunk@5892 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-17 10:33:52 +00:00
Mark Jaquith 11da2ac829 Oops... forgot the svn add. Thanks mdawaffe. see #4554
git-svn-id: https://develop.svn.wordpress.org/trunk@5891 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-17 03:45:59 +00:00
Ryan Boren b6f4407016 Don't update comments feed last-modified header for unapproved comments. Props James Ballantine and Nazgul. fixes #4618 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5885 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-16 19:26:01 +00:00
Ryan Boren 641e19c977 Use dc:creator instead of author for rss2 comment feeds. Props lexhair, Otto42. fixes #4704 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5881 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-16 18:34:57 +00:00
Ryan Boren ff86e9f0c2 Advanced Toolbar shortcut hint fix from leonid. fixes #4707
git-svn-id: https://develop.svn.wordpress.org/trunk@5880 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-16 18:17:54 +00:00
Ryan Boren 820d43f538 Set instead of add since the cache value has multiple keys that can change. Props josephscott. fixes #4743
git-svn-id: https://develop.svn.wordpress.org/trunk@5879 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-16 18:12:12 +00:00
Ryan Boren 62f1de6322 Pass args as array instead of query string.
git-svn-id: https://develop.svn.wordpress.org/trunk@5876 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-16 18:00:47 +00:00
Ryan Boren 669d471fed Category union and intersection query vars. fixes #4750
git-svn-id: https://develop.svn.wordpress.org/trunk@5873 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-15 22:08:51 +00:00
Ryan Boren 3fabbf07a6 Typo fix
git-svn-id: https://develop.svn.wordpress.org/trunk@5872 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-15 21:54:02 +00:00
Ryan Boren 1e61bd9879 get_the_tag_list from andy. fixes #4733
git-svn-id: https://develop.svn.wordpress.org/trunk@5871 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-14 03:44:49 +00:00
Ryan Boren 1b36113b6a Space before slash to properly close br tag. Props tmountjr. fixes #4717
git-svn-id: https://develop.svn.wordpress.org/trunk@5870 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-14 03:12:24 +00:00
Ryan Boren 3927faeee5 wp_update_comment_count hook from mdawaffe. fixes #4740
git-svn-id: https://develop.svn.wordpress.org/trunk@5869 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-14 03:08:44 +00:00
Ryan Boren 44afc295c3 Update in_category() to use object term cache API. Props technosailor. fixes #4442
git-svn-id: https://develop.svn.wordpress.org/trunk@5868 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-14 03:01:26 +00:00