Deprecate the escapeString() helper (#4506)
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 21 Sep 2021 15:39:14 +0000 (17:39 +0200)
committerGitHub <noreply@github.com>
Tue, 21 Sep 2021 15:39:14 +0000 (17:39 +0200)
commit270ed434d4dc8a44862b38715b826f63943bfcb0
tree4ec04c37992331d1da6adfe50d930dcc858b94a8
parent97b4741a7e3143b3c1b41b5108ecb0223065b9ec
Deprecate the escapeString() helper (#4506)

Developers are strongly encouraged to use prepared statements. If this is not
possible for compatibility reasons, they should use the `->escapeString()`
method directly.

Deprecating the helper ultimately allows cleaning up core.functions.php which
has become a dumping ground for all type of stuff over time.

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
wcfsetup/install/files/lib/core.functions.php