Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: why not to use kses? #23

Closed
markkap opened this issue Dec 24, 2018 · 2 comments
Closed

Question: why not to use kses? #23

markkap opened this issue Dec 24, 2018 · 2 comments
Labels

Comments

@markkap
Copy link

markkap commented Dec 24, 2018

Any reason why in the context of WordPress this library do not use KSES? Is it just to keep it portable or are there any other reasons?

(very shallow inspection of the code reveals functionality with is very similar to what kses does)

@darylldoyle
Copy link
Owner

Hi @markkap, the main reason to not use KSES is that this library is standalone from WordPress and therefore can be used in other PHP projects. This enables a larger proportion of the PHP community to contribute and test the library.

There was also a discussion around KSES in the initial WordPress core ticket https://core.trac.wordpress.org/ticket/24251#comment:73.

@markkap
Copy link
Author

markkap commented Jan 3, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants