-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove internal QTS filter hooks (#1176)
The QTS filters come from the legacy plugin: - filter: `qts_validate_post_slug` - filter: `qts_validate_term_slug` - filter: `qts_permastruct` - filter: `qts_url_args` For easier maintenance and readability, remove those filters and replace them with direct calls instead. New `qtranslate` filters will be added on request if the need is justified. Rename the two `validate` slugs functions to `sanitize` (post/term). Minor cleanup to improve phpdoc and code readability.
- Loading branch information
Showing
2 changed files
with
46 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters