Skip to content

Conversation

@ssahara
Copy link

@ssahara ssahara commented Nov 13, 2020

This PR will make the Captcha plugin compatible with DokuWiki snapshot 2020-10-13 or later that #3198 merged.

  • support new events: FORM_EDIT_OUTPUT, FORM_REGISTER_OUTPUT, FORM_RESENDPWD_OUTPUT
  • use Utf8\PhpString::strtolower() instead of deprecated utf8_strtolower() function

This PR will fix curly brace for string offset deprecated in PHP 7.4, see also #109 that fixes same issue in wav.php file

new event passes new dokuwiki\Form\Form object
reduce longer lines,
remove duplicated code
with fallback to `utf8_strtolower()` that has been deprecated since 2019-06-09
@splitbrain splitbrain closed this Jan 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants