Unconditionally setting $serendipity['csuccess']
to 'true' will override a "moderate" flag set by
another (spamblock) plugin.
Cherry-picked from master.
Signed-off-by: Thomas Hochstein <thh@inter.net>
Declaring $pluginlist as static will cache the
database query results and always return the same
list of plugins - no matter which type is queried
(sidebar or event).
This cache must be busted if another type of
plugins is queried.
Backported from master.
Signed-off-by: Thomas Hochstein <thh@inter.net>
This code was used to tell Akismet that a comment
is spam or ham. It can't be triggered as there
are no UI buttons, and it shouldn't be used as
it uses GET params. I don't think it will be
missed.
The relevant issue has been open for about two
and a half years without a new implementation,
so let's drop it. We can always re-implement it
later ...
Closes#405.
Signed-off-by: Thomas Hochstein <thh@inter.net>
As "X" is looking like a placeholder that has
not been replaced, rephrase to "Auto-moderation
for old entries".
See https://board.s9y.org/viewtopic.php?f=2&t=24034#p10451071
Done for EN and DE, other languages will have
to be changed, too.
Signed-off-by: Thomas Hochstein <thh@inter.net>
When $use_gd is false, returning $output so that the captcha images that have been generated are actually embedded into the final rendering of the page.
Fixes#536.
tag clean recognizes quotes in tags and escapes all non-tags
bugfixes in explode along tags
uses now simple <p>-tags normally and only in special cases margin=0
converts double newlines to paragraphs and single newlines to br-tags
but only inside text, not in tags and only where it is allowed by html standards
See #548.
Expands b0fb8d2d126bc8c6e2745c466eb5429c18615738
by adding the necessary fix at another code point.
Fixes a whitespace issue (tabs -> spaces).
Add Changelog entries.
Needs to be backported to 2.1 after tests and review.
Signed-off-by: Thomas Hochstein <thh@inter.net>
The body part now has never a whiteline at the bottom, the extended part has one at the top if it begins with a newline or the body ends with a newline.