) seem to have removed most instances of $GLOBALS['entry']
, see https://github.com/s9y/additional_plugins/commit/fc87b5f6d700945fd06836dd2433d80c43984a18
, but not all.
Here in serendipity_event_social
, it should be replaced by $entry (that is taken from the Smarty object, see viewtopic.php?f=10&t=20853#p10445979
- and, onli, you got that idea from the metadesc-Plugin and some other places, I think, where Garvin merged a patch from Ian, see links above). See PR #55.
We have some other instances of $GLOBALS['entry']
. This array seems to be empty in 2.1, but obviously has been filled sometime before.serendipity_event_markdown
, for the metadesc plugin, see viewtopic.php?f=11&t=18351
- but the new metadesc plugin doesn't check it any longer, as it uses $entry from the Smarty object, which does not have ['plaintext_body']
Can somebody explain how the $GLOBALS['entry']
array has been working before (and why it doesn't any longer)?