diff options
author | Andrey Andreev <narf@devilix.net> | 2017-11-07 14:42:53 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2017-11-07 14:42:53 +0100 |
commit | 44aa1ab0655283b67d6fdcb081803f25453dbc73 (patch) | |
tree | 4ce1f08f07c24993fa8768e7a9fcdfe5273af3ad /user_guide_src/source/installation/upgrade_317.rst | |
parent | 35278338a21e6303a32fc3e3039b32d28e0d3fc5 (diff) |
[ci skip] Deprecate extra parameters of the CAPTCHA helper
Diffstat (limited to 'user_guide_src/source/installation/upgrade_317.rst')
-rw-r--r-- | user_guide_src/source/installation/upgrade_317.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/user_guide_src/source/installation/upgrade_317.rst b/user_guide_src/source/installation/upgrade_317.rst index 93c37b687..dc1ee1868 100644 --- a/user_guide_src/source/installation/upgrade_317.rst +++ b/user_guide_src/source/installation/upgrade_317.rst @@ -12,3 +12,16 @@ Replace all files and directories in your *system/* directory. .. note:: If you have any custom developed files in these directories, please make copies of them first. + +Step 2: Remove usage of CAPTCHA helper extra parameters (deprecation) +===================================================================== + +The :doc:`CAPTCHA Helper <../helpers/captcha_helper>` function +:php:func:`create_captcha()` allows passing of its ``img_path``, ``img_url`` +and ``font_path`` options as the 2nd, 3rd and 4th parameters respectively. + +This kind of usage is now deprecated and you should just pass the options +in question as part of the first parameter array. + +.. note:: The functionality in question is still available, but you're + strongly encouraged to remove its usage sooner rather than later. |