#2296 - Refactor comcode_to_tempcode function

Identifier #2296
Issue type Feature request or suggestion
Title Refactor comcode_to_tempcode function
Status Completed
Tags

Risk: Core rearchitecting (custom)

Handling member Chris Graham
Addon core_rich_media
Description This common function has too many parameters.

Change all uncommon parameters to be set via keys in a map parameter.

I think the $wrap_pos parameter can be removed completely. CSS allows us to control wrapping nowadays.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated