invalidate the subtype_cache when removing a subtype
ElggSite->getURL() returns the site url instead if view/<guid>
as request by mrclay return a boolean
Fixes #6309: Fixes notify_user() broken by 63db31c
Merge pull request #6311 from mrclay/6309_fix

Fixes #6309: Fixes notify_user() broken by 63db31c
Fixes #6294 : Correct handling of email login
Prepare for 1.8.18 release
Merge pull request #6316 from gerard-kanters/patch-4

Fixes #6294 : Correct handling of email login before validation
Fixes incorrect commit c20c4e3
Merge pull request #6328 from mrclay/fix_6294

Fixes incorrect commit c20c4e3
Test for ElggSite::getUrl
Merge branch 'jeabakker-site-geturl-should-return-siteurl' into 1.8
Test for remove_subtype()
Merge branch 'jeabakker-invalidate-subtype-cache-on-remove' into 1.8
Make ElggCrypto::getRandomBytes static
fix(menu): check if admin page menu items exist before sorting them

Allow admin page menu to be altered without causing WSOD. Adds regression test
Fixes #6379
Merge pull request #6397 from hypeJunction/admin-menu-sort

Fixes #6379: Makes sure that page menu items exist before trying to prepare them for viewing
fix(cache): removes memory leak when clearing an entity's metadata cache


When clearing the metadata cache for a particular entity, an empty array was
unnecessarily left for each GUID removed from cache. This instead removes the
entire key for the GUID.
perf(batch): reduce memory usage during batch processes

Result sets for batch queries tend to be large and bloat the query
cache without being of much use. Since the LRU cache is limited in
key size (not memory size), the simplest solution is to flush it
during batch operations.
Merge pull request #6423 from mrclay/metadata_clear_leak

fix(cache): removes memory leak when clearing an entity's metadata cache