additional_plugins/serendipity_event_linktrimmer
Eike Rathke 3b3dc99159
linktrimmer 1.6.6: Avoid error in javascript generation (#151)
is_countable() would demand PHP >= 7.3.0 as of which it is available.
See https://www.php.net/manual/en/function.is-countable.php
Use a polyfill for PHP < 7.3.0

Loading serendipity_admin.php with $serendipity['production'] = false
yielded a red alert box:

The Serendipity JavaScript-library could not be loaded. This can happen
due to PHP or Plugin errors, or even a malformed browser cache. To check
the exact error please open
https://.../index.php?/plugin/admin/serendipity_editor.js manually in
your browser and check for error messages.

Where at the end of that file could be found:

== ERROR-REPORT (BETA/ALPHA-BUILDS) ==
<p><b>Warning:</b> count(): Parameter must be an array or an object that
implements Countable in
plugins/serendipity_event_linktrimmer/serendipity_event_linktrimmer.php
on line 323.</p>
2023-01-01 02:09:01 +01:00
..
UTF-8 Add German translations to plugins (3rd pass). 2019-08-17 21:24:43 +02:00
ChangeLog linktrimmer 1.6.6: Avoid error in javascript generation (#151) 2023-01-01 02:09:01 +01:00
documentation_cs.html line endings in czech files changed to unix style 2013-12-27 17:58:04 +01:00
documentation_cz.html line endings in czech files changed to unix style 2013-12-27 17:58:04 +01:00
documentation_en.html Migrate plugins 2011-12-13 12:29:05 +01:00
lang_cs.inc.php czech translations - removed leading slash from first line (introduced erroneously in previous commit) 2013-12-28 21:43:44 +01:00
lang_cz.inc.php czech translations - removed leading slash from first line (introduced erroneously in previous commit) 2013-12-28 21:43:44 +01:00
lang_de.inc.php Add German translations to plugins (3rd pass). 2019-08-17 21:24:43 +02:00
lang_en.inc.php linktrimmer - frontpage option and nativ API use 2013-06-14 10:54:04 +02:00
linktrimmer.css adapt linktrimmer for 2.0 2014-06-08 20:44:50 +02:00
plugin_linktrimmer.tpl Improve accessibility of iconfont icons 2016-10-26 15:07:46 +02:00
plugin_linktrimmer_old.tpl upstream patch by ian 2016-09-23 11:21:00 +02:00
serendipity_event_linktrimmer.gif Migrate plugins 2011-12-13 12:29:05 +01:00
serendipity_event_linktrimmer.php linktrimmer 1.6.6: Avoid error in javascript generation (#151) 2023-01-01 02:09:01 +01:00