Drupal 6.13
Merge in cleaner session code.
Fix session persistence during certain operations..
Merge in session fix.
#482646 follow up by Dave Reid: only check the db prefix for simpletest if it was a string (not running a multisite)
#284392 by Passionate_Lass, Anselm Heaton, tassoman, agentrickard: DISTINCT handling in db_distinct_field()'s MySQL implementations was resulting in bogus queries
#310139 by fonant, c960657, pwolanin: drupal_urlencode() and Drupal.encodeURIComponent was used to encode query strings and other components it should not have been used for
Fix undefined constant.
Merge fix for reverse proxy constants.
Fix Drupal 6 headers API.
Merge in headers fix.
Backport fix from issue #335756.
Merge Drupal 6.13
Merge in fix for #335756.
#499254 by chx: Drupal lacked support for positive integer values in database queries, beyond PHP_INT_MAX; caused issues with twitter integration and big numbers in general
#392688 by will_in_wi, jeffschuler, jhodgdon: document type argument on action_save()
#293322 by minorOffense: Incorrectly documented parameter name on flood_is_allowed()
#265265 by neochief, jhodgdon: missing phpdoc @code tags on PHP code examples in form.inc and actions.inc
#409994 by Wesley Tanaka, jhodgdon: better documentation on how the cid and wildcard arguments interact on cache_clear_all()
#495964 by jhodgdon: theme_admin_block_content() had wrong argument name documented