-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Labels
CoursesLegacyLegacy functionality that has been replaced by blocksLegacy functionality that has been replaced by blocksLessons[Pri] LowCosmetic issue, low impact, easy workaroundCosmetic issue, low impact, easy workaround[Type] Bug
Description
https://github.com/Automattic/sensei/blob/version/2.4.0/includes/class-sensei-course.php#L3074 is broken.
Original issue #1613
Original fix #1631
Re-broken by adding wp_kses() at https://github.com/Automattic/sensei/pull/2296/files#diff-c0922c04ec6aa809fbd289ed7aabc9d7R3158 in #2296
Currently, Sensei()->settings->get( 'sensei_video_embed_html_sanitization_disable' ) is meaningless, because final wp_kses() call will not allow much custom HTML to pass.
EDIT same for lessons:
https://github.com/Automattic/sensei/blob/version/2.4.0/includes/class-sensei-frontend.php#L1020
UPDATE:
Work to be done for this issue can be found in this comment.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
CoursesLegacyLegacy functionality that has been replaced by blocksLegacy functionality that has been replaced by blocksLessons[Pri] LowCosmetic issue, low impact, easy workaroundCosmetic issue, low impact, easy workaround[Type] Bug