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

onli via php-blog-cvs <[email protected]> Wed, 22 Oct 2025 03:31:57 -0700
Newsgroups gmane.comp.serendipity.cvs
Message-ID <s9y/Serendipity/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/s9y/Serendipity
  Commit: f59ecb3f77bc32cf7fec1c90782a79b5a443c18a
      https://github.com/s9y/Serendipity/commit/f59ecb3f77bc32cf7fec1c90782a79b5a443c18a
  Author: onli <[email protected]>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M docs/NEWS
    M include/functions_entries.inc.php

  Log Message:
  -----------
  Fix social plugin etc not having access to cached entries (#928)

* 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.

* document changes

* Fix smarty entries object not having expected structure
Caused empty title etc in the social plugin



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