Make WordPress Core

Changeset 51798

Timestamp:
09/10/2021 04:29:24 PM (3 years ago)
Author:
hellofromTonya
Message:

Tests: Add tests for wpdb::_real_escape().

Adds a new dedicated test file.

Adds a test to check that various input types passed to wpdb::_real_escape() are handled correctly.

Note: This new test does not test the actual escaping or other logic in the function. Rather, it just and only tests and documents how the function handles various input types.

Props jrf, hellofromTonya.
See #53363.

File:
1 added

Note: See TracChangeset for help on using the changeset viewer.