Changeset 43571 for trunk/tests/phpunit/tests/functions/anonymization.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions/anonymization.php
r43471 r43571 253 253 public function test_anonymize_with_filter() { 254 254 add_filter( 'wp_privacy_anonymize_data', array( $this, 'filter_wp_privacy_anonymize_data' ), 10, 3 ); 255 $actual_url 255 $actual_url = wp_privacy_anonymize_data( 'url', 'https://example.com/author/username' ); 256 256 remove_filter( 'wp_privacy_anonymize_data', array( $this, 'filter_wp_privacy_anonymize_data' ), 10 ); 257 257
Note: See TracChangeset
for help on using the changeset viewer.