Commit Graph

2702 Commits

Author SHA1 Message Date
Ryan Boren 6e2cb47d4e Filter and action optimizations and phpdoc updates from darkdragon. fixes #5338
git-svn-id: https://develop.svn.wordpress.org/trunk@6361 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 05:56:38 +00:00
Ryan Boren a1559b9db2 Remove executable property from files. Props lapcat. fixes #5408
git-svn-id: https://develop.svn.wordpress.org/trunk@6360 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-05 09:30:13 +00:00
Ryan Boren 5293dfa9be Refactor next_post_link, previous_post_link. props xknown. fixes #5411
git-svn-id: https://develop.svn.wordpress.org/trunk@6359 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-05 09:25:45 +00:00
Ryan Boren efccf5d5b8 Don't return all taxonomies for an object type of 0. Props tellyworth and nbachiyski. fixes #5417
git-svn-id: https://develop.svn.wordpress.org/trunk@6355 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-05 00:31:54 +00:00
Ryan Boren 34c792ccc8 Use correct var. Props DD32. fixes #5419
git-svn-id: https://develop.svn.wordpress.org/trunk@6353 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-04 23:59:16 +00:00
Ryan Boren 5398d5ac32 Avoid unnecesary call to get_userdata in get_permalink function. Props xknown. fixes #5414
git-svn-id: https://develop.svn.wordpress.org/trunk@6352 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-04 00:40:00 +00:00
Ryan Boren 364a7f55c4 Don't save page and attachemtn uris to page_uris and page_attachment_uris. This is not needed. Add an option to use wildcard page rewrite rules instead of per-page rules. see #3614
git-svn-id: https://develop.svn.wordpress.org/trunk@6351 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-04 00:19:10 +00:00
Ryan Boren 26d056a4dd Hash passwords with phpass. Add wp_check_pasword() and wp_hash_password() functions. Props pishmishy. see #2394
git-svn-id: https://develop.svn.wordpress.org/trunk@6350 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-02 05:14:11 +00:00
Ryan Boren 376e2d98af Remove old comment_count_cache variable. It's dead.
git-svn-id: https://develop.svn.wordpress.org/trunk@6348 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-29 05:03:25 +00:00
Ryan Boren 2c8864821d get_user_by_email() and some user caching cleanups. fixes #5392
git-svn-id: https://develop.svn.wordpress.org/trunk@6346 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-27 22:14:53 +00:00
Ryan Boren 930a39d235 Use 'Log in' instead of 'Login' for verb form. Props doug. see #5296
git-svn-id: https://develop.svn.wordpress.org/trunk@6343 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-26 21:40:00 +00:00
Ryan Boren fdb374bf6a Debug backtrace for queries. Props tellyworth. fixes #5218
git-svn-id: https://develop.svn.wordpress.org/trunk@6342 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-21 00:14:58 +00:00
Ryan Boren 1cdf22f276 Do two sets of filters on posts query. First set is used by regular plugins, second by caching plugins.
git-svn-id: https://develop.svn.wordpress.org/trunk@6341 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-18 19:36:30 +00:00
Peter Westwood 2ab598e809 Actually return a url if SSL is not supported! Relates to #5298
git-svn-id: https://develop.svn.wordpress.org/trunk@6340 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-17 11:27:01 +00:00
Peter Westwood fcd2063365 Ensure that we offer https access to atom if it is available. Fixes #5298 props rubys.
git-svn-id: https://develop.svn.wordpress.org/trunk@6339 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-17 11:21:34 +00:00
Ryan Boren 4bcd8eec3f Move posts_selection action to after post_limits filter.
git-svn-id: https://develop.svn.wordpress.org/trunk@6338 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-17 00:04:19 +00:00
Ryan Boren 71c8eab2dd Update page on front settings when deleting the page on front. Props hailin. fixes #5361
git-svn-id: https://develop.svn.wordpress.org/trunk@6337 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-16 17:39:15 +00:00
Ryan Boren 31fc42f07b Add switch_theme(). Cache current theme in options to avoid calling get_themes(). fixes #5346
git-svn-id: https://develop.svn.wordpress.org/trunk@6334 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-13 05:07:44 +00:00
Ryan Boren 5697266149 Eliminate warnings in convert_smilies. Props tellyworth. fixes #5340
git-svn-id: https://develop.svn.wordpress.org/trunk@6331 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-12 19:33:06 +00:00
Ryan Boren 7a432a2ae9 Remove unused variable. Props epper. fixes #5339
git-svn-id: https://develop.svn.wordpress.org/trunk@6330 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-12 19:31:49 +00:00
Ryan Boren 115abc9122 phpdoc for get_category_feed_link(). see #5173
git-svn-id: https://develop.svn.wordpress.org/trunk@6328 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-09 20:31:24 +00:00
Ryan Boren d07a289c1b get_category_feed_link() from ionfish. fixes #5173
git-svn-id: https://develop.svn.wordpress.org/trunk@6327 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-09 20:12:04 +00:00
Ryan Boren a6159988be Make term slug unique when moving to another parent.
git-svn-id: https://develop.svn.wordpress.org/trunk@6326 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-09 18:34:41 +00:00
Ryan Boren c9946fea10 Change 'all' hook calling. Bring filters and actions back into one array for back-compat. see #5231
git-svn-id: https://develop.svn.wordpress.org/trunk@6324 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-08 01:05:43 +00:00
Ryan Boren 8893deff85 Don't run sanitize_title on IDs in new widgets API to avoid performance overhead. fixes #5326
git-svn-id: https://develop.svn.wordpress.org/trunk@6323 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-08 00:56:54 +00:00
Ryan Boren 3330c693e4 Skip sanitization altogether for raw context. Props Quandary. fixes #5325
git-svn-id: https://develop.svn.wordpress.org/trunk@6321 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-07 06:20:08 +00:00
Ryan Boren d5ed4b3d7d has_action and has_filter. see #5231
git-svn-id: https://develop.svn.wordpress.org/trunk@6320 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-07 04:30:11 +00:00
Ryan Boren 35f22f56cf Add missing type arg on call to _wp_filter_build_unique_id(). see #5231
git-svn-id: https://develop.svn.wordpress.org/trunk@6319 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-06 21:39:22 +00:00
Ryan Boren f69f6c0070 current_fiter() from tellyworth. fixes #5232
git-svn-id: https://develop.svn.wordpress.org/trunk@6318 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-06 21:38:04 +00:00
Ryan Boren 6d61400949 Separate action and filter arrays. Get rid of filter merging. fixes #5231
git-svn-id: https://develop.svn.wordpress.org/trunk@6316 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-06 18:31:43 +00:00
Ryan Boren ac3206db1e Back out some changes from #5181. Props rubys. fixes #5307
git-svn-id: https://develop.svn.wordpress.org/trunk@6315 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-06 18:23:16 +00:00
Ryan Boren 667dad0a84 Improve performance of seems_utf8() and uf8_uri_encode(). fixes #5320
git-svn-id: https://develop.svn.wordpress.org/trunk@6314 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-05 17:13:43 +00:00
Ryan Boren 48127234af Update awaiting moderation count when comments are moderated through AJAX. Props mdawaffe. fixes #5315
git-svn-id: https://develop.svn.wordpress.org/trunk@6312 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-04 06:23:03 +00:00
Ryan Boren 686182b75d Fix raw context filtering for terms. see #5253
git-svn-id: https://develop.svn.wordpress.org/trunk@6311 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-03 19:06:43 +00:00
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