WP basic allows#6
Open
kaptinavenger wants to merge 1 commit into
Open
Conversation
These php plugins allow for the passing of the styling tags used by the default WP tinyMCE editor.
Collaborator
|
Hi and thanks for your contribution! Since WP-AppKit v0.5, there's no HTML tag whitelisting in post content anymore: uncatcrea/wp-appkit#140 > All tags are now allowed by default. The "wpak_post_content_allowed_tags" filter is still there in case someone needs to allow only a given set of HTML tags in his app, but if nobody hooks on this filter to set tag restrictions, all tags are allowed: https://github.com/uncatcrea/wp-appkit/blob/master/wp-appkit/lib/components/components-utils.php#L97 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These php plugins allow for the passing of the styling tags used by the
default WP tinyMCE editor.
White listing is good.
But
Should white list WP default style for WP apps, the fix should be modular so individual tags can be easily removed from the white-list.
This fixes that.