Commit Graph

2660 Commits

Author SHA1 Message Date
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