Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently the function _get_facebook_locale()
serializes the locale array before caching it - as far as I know this is superfluous since the cache handler will take care of serialization if necessary.
Further the serialization has the side-effect that even an empty array isn't recognized as empty by this condition if (empty($cache->data)) {
Comment | File | Size | Author |
---|---|---|---|
#4 | fb_social-n1467464-4-6_2.patch | 883 bytes | DamienMcKenna |
#3 | fb_social-n1467464-3-6_1.patch | 891 bytes | DamienMcKenna |
#1 | fb_social-n1467464-1.patch | 903 bytes | DamienMcKenna |
Comments
Comment #1
DamienMcKennaThis needed an update script to clear any existing cache.
Comment #2
DamienMcKennaA version of the patch for the 6.x-1.x branch.
Comment #3
DamienMcKennaThe first update for the 6.x-1.x branch should be 6100.
Comment #4
DamienMcKennaA version of the patch for the 6.x-2.x branch.
Comment #5
DamienMcKennaBumping this back to the 7.x-2.x branch, which is where reviews should start.