[serendipity-cvs] [s9y/Serendipity] 919375: Fix social plugin etc not having access to cached ...

onli via php-blog-cvs <[email protected]> Fri, 17 Oct 2025 02:18:12 -0700
Newsgroups gmane.comp.serendipity.cvs
Message-ID <s9y/Serendipity/push/refs/heads/fix/smartAccesWhenCached/[email protected]>
  Branch: refs/heads/fix/smartAccesWhenCached
  Home:   https://github.com/s9y/Serendipity
  Commit: 91937501bbaa92c1d1569c8ddba1db6ce746fafb
      https://github.com/s9y/Serendipity/commit/91937501bbaa92c1d1569c8ddba1db6ce746fafb
  Author: onli <[email protected]>
  Date:   2025-10-17 (Fri, 17 Oct 2025)

  Changed paths:
    M include/functions_entries.inc.php

  Log Message:
  -----------
  Fix social plugin etc not having access to cached entries
The social plugin access entries content in the frontend_header hook by accessing `$eventData['smarty']->tpl_vars['entries']`. But with the reworked cache, that smarty variable was not set when the entry came from the cache. This restores that access method.



To unsubscribe from these emails, change your notification settings at https://github.com/s9y/Serendipity/settings/notifications